com.jgraph.example.adapter
Class JGraphBusinessObject
java.lang.Object
com.jgraph.example.adapter.JGraphBusinessObject
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- JGraphSQLEntity
public class JGraphBusinessObject
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- Author:
- Gaudenz Alder
An object that represents an entity with an arbitrary set of properties.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JGraphBusinessObject
public JGraphBusinessObject()
JGraphBusinessObject
public JGraphBusinessObject(java.lang.Object userObject)
getProperties
public java.util.Map getProperties()
- Returns:
- Returns the properties.
setProperties
public void setProperties(java.util.Map properties)
- Parameters:
properties
- The properties to set.
setValue
public void setValue(java.lang.Object value)
getValue
public java.lang.Object getValue()
getValueKey
public java.lang.String getValueKey()
- Returns:
- Returns the labelKey.
setValueKey
public void setValueKey(java.lang.String valueKey)
- Parameters:
valueKey
- The labelKey to set.
putProperty
public java.lang.Object putProperty(java.lang.Object key,
java.lang.Object value)
getProperty
public java.lang.Object getProperty(java.lang.Object key)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object