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

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

@Entity(name="JOB_SOURCES")
public class JpaJobSources
extends Object
implements Serializable

This entity defines a join between Job 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

Nested Class Summary
static class JpaJobSources.ID
          Implements the primary key for the table "JOB_SOURCES".
 
Constructor Summary
JpaJobSources()
           
JpaJobSources(JpaJob job, JpaSource source)
           
 
Method Summary
 JpaJob getJob()
           
 JpaSource getSource()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaJobSources

public JpaJobSources()

JpaJobSources

public JpaJobSources(JpaJob job,
                     JpaSource source)
Method Detail

getJob

public JpaJob getJob()

getSource

public JpaSource getSource()

toString

public String toString()
Overrides:
toString in class Object