com.jgraph.example.adapter
Class JGraphSQLRelation
java.lang.Object
com.jgraph.example.adapter.JGraphBusinessObject
com.jgraph.example.adapter.JGraphSQLEntity
com.jgraph.example.adapter.JGraphSQLRelation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class JGraphSQLRelation
- extends JGraphSQLEntity
A business object that represents a relation between two entities.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
JGraphSQLRelation
public JGraphSQLRelation()
JGraphSQLRelation
public JGraphSQLRelation(java.lang.Object userObject)
JGraphSQLRelation
public JGraphSQLRelation(java.lang.Object id,
JGraphSQLEntity parent,
JGraphSQLEntity source,
JGraphSQLEntity target)
JGraphSQLRelation
public JGraphSQLRelation(java.lang.Object userObject,
java.lang.Object id,
JGraphSQLEntity parent,
JGraphSQLEntity source,
JGraphSQLEntity target)
getSource
public JGraphSQLEntity getSource()
- Returns:
- Returns the source.
setSource
public void setSource(JGraphSQLEntity source)
- Parameters:
source
- The source to set.
getTarget
public JGraphSQLEntity getTarget()
- Returns:
- Returns the target.
setTarget
public void setTarget(JGraphSQLEntity target)
- Parameters:
target
- The target to set.