java.lang.Object
org.objectstyle.cayenne.map.MapObject
- All Implemented Interfaces:
- org.objectstyle.cayenne.util.CayenneMapEntry
- Direct Known Subclasses:
- Attribute, DbKeyGenerator, Entity, Procedure, ProcedureParameter, Relationship
- public abstract class MapObject
- extends java.lang.Object
- implements org.objectstyle.cayenne.util.CayenneMapEntry
Superclass of DataMap objects. Provides a default implementation
of CayenneMapEntry needed to implement a doubly linked maps.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objName
protected java.lang.String objName
objParent
protected java.lang.Object objParent
MapObject
public MapObject()
- Constructor for MapObject.
MapObject
public MapObject(java.lang.String name)
getName
public java.lang.String getName()
- Description copied from interface:
org.objectstyle.cayenne.util.CayenneMapEntry
- Returns the name property of this object.
- Specified by:
getName in interface org.objectstyle.cayenne.util.CayenneMapEntry
getParent
public java.lang.Object getParent()
- Description copied from interface:
org.objectstyle.cayenne.util.CayenneMapEntry
- Returns the parent map.
- Specified by:
getParent in interface org.objectstyle.cayenne.util.CayenneMapEntry
setParent
public void setParent(java.lang.Object parent)
- Description copied from interface:
org.objectstyle.cayenne.util.CayenneMapEntry
- Stores the parent map.
- Specified by:
setParent in interface org.objectstyle.cayenne.util.CayenneMapEntry
setName
public void setName(java.lang.String name)
- Sets the name.