com.trendmicro.grid.acl.ds.jpa.entities
Class JpaSourceInformation
java.lang.Object
com.trendmicro.grid.acl.l0.datatypes.SourceInformation
com.trendmicro.grid.acl.ds.datatypes.SharedSourceInformation
com.trendmicro.grid.acl.ds.jpa.entities.JpaSourceInformation
- All Implemented Interfaces:
- com.trendmicro.grid.acl.l0.datatypes.Validatable, Serializable
@Embeddable
public class JpaSourceInformation
- extends com.trendmicro.grid.acl.ds.datatypes.SharedSourceInformation
Binds SourceInformation to the table "SOURCE".
- Version:
- 1.0
- Author:
- juergen_kellerer, 2010-06-01
- See Also:
- Serialized Form
Fields inherited from class com.trendmicro.grid.acl.l0.datatypes.SourceInformation |
contentTag, identifier, lastModified, temporary |
Methods inherited from class com.trendmicro.grid.acl.l0.datatypes.SourceInformation |
assertIsValid, equals, getIdentifier, hashCode, toString |
JpaSourceInformation
public JpaSourceInformation()
JpaSourceInformation
public JpaSourceInformation(com.trendmicro.grid.acl.l0.datatypes.SourceIdentifier identifier)
JpaSourceInformation
public JpaSourceInformation(com.trendmicro.grid.acl.l0.datatypes.SourceInformation info,
com.trendmicro.grid.acl.l0.datatypes.SourceIdentifier identifier)
updateFrom
public void updateFrom(com.trendmicro.grid.acl.l0.datatypes.SourceInformation info)
getPublicGUID
public byte[] getPublicGUID()
setPublicGUID
public void setPublicGUID(byte[] hash)
getLastModified
public Date getLastModified()
- Overrides:
getLastModified
in class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
setLastModified
public void setLastModified(Date lastModified)
- Overrides:
setLastModified
in class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
getContentTag
public String getContentTag()
- Overrides:
getContentTag
in class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
setContentTag
public void setContentTag(String contentTag)
- Overrides:
setContentTag
in class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
isTemporary
public boolean isTemporary()
- Overrides:
isTemporary
in class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
setTemporary
public void setTemporary(boolean temporary)