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

Quick Search    Search Deep

org.objectstyle.cayenne.wocompat
Class EOObjAttribute  view EOObjAttribute download EOObjAttribute.java

java.lang.Object
  extended byorg.objectstyle.cayenne.map.MapObject
      extended byorg.objectstyle.cayenne.map.Attribute
          extended byorg.objectstyle.cayenne.map.ObjAttribute
              extended byorg.objectstyle.cayenne.wocompat.EOObjAttribute
All Implemented Interfaces:
org.objectstyle.cayenne.util.CayenneMapEntry

public class EOObjAttribute
extends org.objectstyle.cayenne.map.ObjAttribute

An EOObjAttribute is a mapping descriptor of a Java class property with added fields for WebOBjects EOModel.


Field Summary
protected  boolean readOnly
           
 
Fields inherited from class org.objectstyle.cayenne.map.ObjAttribute
attrType
 
Fields inherited from class org.objectstyle.cayenne.map.MapObject
objName, objParent
 
Constructor Summary
EOObjAttribute()
           
EOObjAttribute(java.lang.String name)
           
EOObjAttribute(java.lang.String name, java.lang.String type, org.objectstyle.cayenne.map.ObjEntity entity)
           
 
Method Summary
 boolean getReadOnly()
          Get the read only state of this attribute
 void setReadOnly(boolean readOnly)
          Sets the read only state of this attribute.
 
Methods inherited from class org.objectstyle.cayenne.map.ObjAttribute
getDbAttribute, getDbAttributeName, getDbAttributePath, getDbPathIterator, getType, isCompound, mapsToDependentDbEntity, setDbAttribute, setDbAttributeName, setDbAttributePath, setType, validate
 
Methods inherited from class org.objectstyle.cayenne.map.Attribute
getEntity, setEntity
 
Methods inherited from class org.objectstyle.cayenne.map.MapObject
getName, getParent, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readOnly

protected boolean readOnly
Constructor Detail

EOObjAttribute

public EOObjAttribute()

EOObjAttribute

public EOObjAttribute(java.lang.String name)

EOObjAttribute

public EOObjAttribute(java.lang.String name,
                      java.lang.String type,
                      org.objectstyle.cayenne.map.ObjEntity entity)
Method Detail

setReadOnly

public void setReadOnly(boolean readOnly)
Sets the read only state of this attribute.


getReadOnly

public boolean getReadOnly()
Get the read only state of this attribute