org.apache.cayenne.map
Class ClientObjAttribute
java.lang.Object
org.apache.cayenne.map.Attribute
org.apache.cayenne.map.ObjAttribute
org.apache.cayenne.map.ClientObjAttribute
- All Implemented Interfaces:
- Serializable, CayenneMapEntry, XMLSerializable
public class ClientObjAttribute
- extends ObjAttribute
A client version of ObjAttribute that has some properties from DbAttribute that the
client may want.
- Since:
- 3.0
- Author:
- Tore Halset
- See Also:
- Serialized Form
Methods inherited from class org.apache.cayenne.map.ObjAttribute |
encodeAsXML, getClientAttribute, getDbAttribute, getDbAttributeName, getDbAttributePath, getDbPathIterator, getJavaClass, getType, isCompound, isUsedForLocking, setDbAttribute, setDbAttributeName, setDbAttributePath, setType, setUsedForLocking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mandatory
protected boolean mandatory
maxLength
protected int maxLength
ClientObjAttribute
public ClientObjAttribute()
ClientObjAttribute
public ClientObjAttribute(String name,
String type,
ObjEntity entity)
ClientObjAttribute
public ClientObjAttribute(String name)
isMandatory
public boolean isMandatory()
- See Also:
DbAttribute.isMandatory()
setMandatory
public void setMandatory(boolean mandatory)
getMaxLength
public int getMaxLength()
- See Also:
DbAttribute.getMaxLength()
setMaxLength
public void setMaxLength(int maxLength)
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.