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

java.lang.Object
  extended by com.trendmicro.grid.acl.ds.jpa.entities.JpaFileSource
All Implemented Interfaces:
Serializable

@Entity(name="FILE_CONTENT_SOURCES")
public class JpaFileSource
extends Object
implements Serializable

This entity defines a join between FileDetails and Source.

Note: This entity exists to be able to manage the join table manually from within the custom code and take advantage of using cached entities in a more effective way as when operating purely on JPA/hibernate.

Version:
1.0
Author:
juergen_kellerer, 2010-06-01
See Also:
Serialized Form

Constructor Summary
JpaFileSource()
           
JpaFileSource(JpaFileDetails fileDetails, JpaSource source)
           
 
Method Summary
 boolean equals(Object o)
           
 JpaFileSourceId getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaFileSource

public JpaFileSource()

JpaFileSource

public JpaFileSource(JpaFileDetails fileDetails,
                     JpaSource source)
Method Detail

getId

public JpaFileSourceId getId()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object