org.apache.cayenne.wocompat
Class EOObjAttribute
java.lang.Object
org.apache.cayenne.map.Attribute
org.apache.cayenne.map.ObjAttribute
org.apache.cayenne.wocompat.EOObjAttribute
- All Implemented Interfaces:
- Serializable, CayenneMapEntry, XMLSerializable
public class EOObjAttribute
- extends ObjAttribute
An ObjAttribute extension that accomodates EOModel attributes.
- See Also:
- Serialized Form
Field Summary |
protected boolean |
readOnly
|
Methods inherited from class org.apache.cayenne.map.ObjAttribute |
encodeAsXML, getClientAttribute, getDbAttribute, getDbAttributeName, getDbAttributePath, getDbPathIterator, getDbPathIterator, getJavaClass, getMaxLength, getType, isCompound, isFlattened, isInherited, isMandatory, isPrimaryKey, isUsedForLocking, setDbAttribute, setDbAttributeName, setDbAttributePath, setType, setUsedForLocking |
readOnly
protected boolean readOnly
EOObjAttribute
public EOObjAttribute()
EOObjAttribute
public EOObjAttribute(String name)
EOObjAttribute
public EOObjAttribute(String name,
String type,
ObjEntity parent)
getReadOnly
public boolean getReadOnly()
- Deprecated. since 2.0 use isReadOnly().
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean readOnly)
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.