org.apache.cayenne.wocompat
Class EOObjAttribute

java.lang.Object
  extended by org.apache.cayenne.map.Attribute
      extended by org.apache.cayenne.map.ObjAttribute
          extended by org.apache.cayenne.wocompat.EOObjAttribute
All Implemented Interfaces:
java.io.Serializable, CayenneMapEntry, XMLSerializable

public class EOObjAttribute
extends ObjAttribute

An ObjAttribute extension that accomodates EOModel attributes.

Author:
Andrus Adamchik
See Also:
Serialized Form

Field Summary
protected  boolean readOnly
           
 
Fields inherited from class org.apache.cayenne.map.ObjAttribute
dbAttributePath, type, usedForLocking
 
Fields inherited from class org.apache.cayenne.map.Attribute
entity, name
 
Constructor Summary
EOObjAttribute()
           
EOObjAttribute(java.lang.String name)
           
EOObjAttribute(java.lang.String name, java.lang.String type, ObjEntity parent)
           
 
Method Summary
 boolean getReadOnly()
          Deprecated. since 2.0 use isReadOnly().
 boolean isReadOnly()
           
 void setReadOnly(boolean readOnly)
           
 
Methods inherited from class org.apache.cayenne.map.ObjAttribute
encodeAsXML, getClientAttribute, getDbAttribute, getDbAttributeName, getDbAttributePath, getDbPathIterator, getJavaClass, getType, isCompound, isUsedForLocking, mapsToDependentDbEntity, setDbAttribute, setDbAttributeName, setDbAttributePath, setType, setUsedForLocking, validate
 
Methods inherited from class org.apache.cayenne.map.Attribute
getEntity, getName, getParent, setEntity, 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,
                      ObjEntity parent)
Method Detail

getReadOnly

public boolean getReadOnly()
Deprecated. since 2.0 use isReadOnly().


isReadOnly

public boolean isReadOnly()

setReadOnly

public void setReadOnly(boolean readOnly)


Copyright © 2001-2006 Apache.org All Rights Reserved.