org.objectstyle.cayenne.wocompat
Class EOObjAttribute
java.lang.Object
org.objectstyle.cayenne.map.Attribute
org.objectstyle.cayenne.map.ObjAttribute
org.objectstyle.cayenne.wocompat.EOObjAttribute
- All Implemented Interfaces:
- java.io.Serializable, CayenneMapEntry, XMLSerializable
public class EOObjAttribute
- extends ObjAttribute
An EOObjAttribute is a mapping descriptor of a Java class property with added
fields for WebObjects EOModel.
- Author:
- Dario Bagatto
- See Also:
- Serialized Form
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 |
encodeAsXML, getClientAttribute, getDbAttribute, getDbAttributeName, getDbAttributePath, getDbPathIterator, getJavaClass, getType, isCompound, isUsedForLocking, mapsToDependentDbEntity, setDbAttribute, setDbAttributeName, setDbAttributePath, setType, setUsedForLocking, 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,
ObjEntity entity)
setReadOnly
public void setReadOnly(boolean readOnly)
- Sets the read only state of this attribute.
- Parameters:
readOnly
-
getReadOnly
public boolean getReadOnly()
- Get the read only state of this attribute
- Returns:
- read only state of this attribute
Copyright © 2001-2006 ObjectStyle.org All Rights Reserved.