com.trendmicro.grid.acl.ds.jpa.entities
Class JpaSourceInformation

java.lang.Object
  extended by com.trendmicro.grid.acl.l0.datatypes.SourceInformation
      extended by com.trendmicro.grid.acl.ds.datatypes.SharedSourceInformation
          extended by 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

Field Summary
 
Fields inherited from class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
contentTag, identifier, lastModified, temporary
 
Constructor Summary
JpaSourceInformation()
           
JpaSourceInformation(com.trendmicro.grid.acl.l0.datatypes.SourceIdentifier identifier)
           
JpaSourceInformation(com.trendmicro.grid.acl.l0.datatypes.SourceInformation info, com.trendmicro.grid.acl.l0.datatypes.SourceIdentifier identifier)
           
 
Method Summary
 String getContentTag()
           
 Date getLastModified()
           
 byte[] getPublicGUID()
           
 boolean isTemporary()
           
 void setContentTag(String contentTag)
           
 void setLastModified(Date lastModified)
           
 void setPublicGUID(byte[] hash)
           
 void setTemporary(boolean temporary)
           
 void updateFrom(com.trendmicro.grid.acl.l0.datatypes.SourceInformation info)
           
 
Methods inherited from class com.trendmicro.grid.acl.l0.datatypes.SourceInformation
assertIsValid, equals, getIdentifier, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)