com.jgraph.example.adapter
Class JGraphSQLEntity
java.lang.Object
com.jgraph.example.adapter.JGraphBusinessObject
com.jgraph.example.adapter.JGraphSQLEntity
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- JGraphSQLRelation
public class JGraphSQLEntity
- extends JGraphBusinessObject
An object that represents an entity in a tree.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
JGraphSQLEntity
public JGraphSQLEntity()
JGraphSQLEntity
public JGraphSQLEntity(java.lang.Object userObject)
JGraphSQLEntity
public JGraphSQLEntity(java.lang.Object id,
JGraphSQLEntity parent)
JGraphSQLEntity
public JGraphSQLEntity(java.lang.Object userObject,
java.lang.Object id,
JGraphSQLEntity parent)
getID
public java.lang.Object getID()
- Returns:
- Returns the id.
setID
public void setID(java.lang.Object id)
- Parameters:
id
- The id to set.
getParent
public JGraphSQLEntity getParent()
- Returns:
- Returns the parent.
setParent
public void setParent(JGraphSQLEntity parent)
- Parameters:
parent
- The parent to set.
clone
public java.lang.Object clone()
- Overrides:
clone
in class JGraphBusinessObject
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object