java.lang.Object
org.objectstyle.cayenne.map.MapObject
org.objectstyle.cayenne.map.Attribute
org.objectstyle.cayenne.map.ObjAttribute
org.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
|
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readOnly
protected boolean readOnly
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)
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