Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.cayenne.map
Class MapObject  view MapObject download MapObject.java

java.lang.Object
  extended byorg.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.


Field Summary
protected  java.lang.String objName
           
protected  java.lang.Object objParent
           
 
Constructor Summary
MapObject()
          Constructor for MapObject.
MapObject(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
          Returns the name property of this object.
 java.lang.Object getParent()
          Returns the parent map.
 void setName(java.lang.String name)
          Sets the name.
 void setParent(java.lang.Object parent)
          Stores the parent map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objName

protected java.lang.String objName

objParent

protected java.lang.Object objParent
Constructor Detail

MapObject

public MapObject()
Constructor for MapObject.


MapObject

public MapObject(java.lang.String name)
Method Detail

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.