public class ObjectAttribute extends Attribute implements Mapable, Serializable, Renderable, Editable, StringCreateable, StringConvertable
| Modifier and Type | Field and Description |
|---|---|
protected int |
classID |
protected String |
complexEditor |
protected Object |
deletedValue
DOCUMENT ME!
|
protected String |
editor |
protected MemberAttributeInfo |
mai |
protected int |
objectID |
protected Object |
parentObject |
protected String |
toStringString |
changed, classKey, description, id, isArray, isPrimaryKey, javaType, name, optional, permissions, referencesObject, substitute, toStringConverter, typeId, value, visible| Constructor and Description |
|---|
ObjectAttribute(MemberAttributeInfo mai,
int objectID,
Object value,
Policy policy)
Creates a new ObjectAttribute object.
|
ObjectAttribute(String id,
MemberAttributeInfo mai,
int objectID,
Object value,
Policy policy)
Creates a new ObjectAttribute object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
constructKey(Mapable m)
DOCUMENT ME!
|
Object |
fromString(String objectRepresentation,
Object mo)
Creates a new instance of FromString.
|
int |
getClassID()
Getter for property classID.
|
String |
getComplexEditor()
DOCUMENT ME!
|
Object |
getKey()
DOCUMENT ME!
|
MemberAttributeInfo |
getMai()
DOCUMENT ME!
|
int |
getObjectID()
DOCUMENT ME!
|
Object |
getParentObject()
DOCUMENT ME!
|
String |
getRenderer()
public String getSimpleRenderer(); public String getComplexRenderer();
|
String |
getSimpleEditor()
public String getEditor();
|
ToStringConverter |
getToStringConverter()
DOCUMENT ME!
|
String |
getToStringString()
DOCUMENT ME!
|
protected void |
initFromString(MemberAttributeInfo mai)
muss total neu gemacht werden.
|
boolean |
isStringCreateable()
DOCUMENT ME!
|
boolean |
isVirtualOneToManyAttribute()
DOCUMENT ME!
|
void |
setClassID(int classID)
Setter for property classID.
|
void |
setComplexEditor(String complexEditor)
Setter for property complexEditor.
|
void |
setMai(MemberAttributeInfo mai)
Deprecated.
MAI should not be changed after construction!
|
void |
setObjectID(int objectID)
Setter for property objectID.
|
void |
setParentObject(Object parentObject)
DOCUMENT ME!
|
void |
setValue(Object value)
Setter for property value.
|
String |
toString() |
getClassKey, getDescription, getID, getJavaType, getName, getPermissions, getTypeId, getValue, isArray, isChanged, isOptional, isPrimaryKey, isSubstitute, isVisible, printMe, referencesObject, setChanged, setClassKey, setId, setIsArray, setIsPrimaryKey, setJavaType, setOptional, setPermissions, setReferencesObject, setSubstitute, setTypeId, setValuesNull, setVisibleprotected int objectID
protected int classID
protected MemberAttributeInfo mai
protected Object deletedValue
protected String editor
protected String complexEditor
protected String toStringString
protected Object parentObject
public ObjectAttribute(MemberAttributeInfo mai, int objectID, Object value, Policy policy)
mai - DOCUMENT ME!objectID - DOCUMENT ME!value - DOCUMENT ME!policy - DOCUMENT ME!public ObjectAttribute(String id, MemberAttributeInfo mai, int objectID, Object value, Policy policy)
id - DOCUMENT ME!mai - DOCUMENT ME!objectID - DOCUMENT ME!value - DOCUMENT ME!policy - DOCUMENT ME!public final void setValue(Object value)
Attributepublic final int getClassID()
public final void setClassID(int classID)
classID - New value of property classID.public final void setObjectID(int objectID)
objectID - New value of property objectID.public final int getObjectID()
public Object constructKey(Mapable m)
MapableconstructKey in interface MapableconstructKey in class Attributem - DOCUMENT ME!public final String getToStringString()
public final String getRenderer()
RenderablegetRenderer in interface Renderablepublic Object fromString(String objectRepresentation, Object mo) throws Exception
StringCreateablefromString in interface StringCreateableobjectRepresentation - DOCUMENT ME!mo - DOCUMENT ME!Exception - DOCUMENT ME!public final boolean isStringCreateable()
StringCreateableisStringCreateable in interface StringCreateablepublic final String getComplexEditor()
EditablegetComplexEditor in interface Editablepublic final String getSimpleEditor()
EditablegetSimpleEditor in interface Editablepublic final void setComplexEditor(String complexEditor)
complexEditor - New value of property complexEditor.public ToStringConverter getToStringConverter()
getToStringConverter in class Attributeprotected final void initFromString(MemberAttributeInfo mai)
mai - DOCUMENT ME!public final MemberAttributeInfo getMai()
@Deprecated public final void setMai(MemberAttributeInfo mai)
mai - DOCUMENT ME!public final Object getParentObject()
public final void setParentObject(Object parentObject)
parentObject - DOCUMENT ME!public final boolean isVirtualOneToManyAttribute()
Copyright © 2012–2026 cismet GmbH. All rights reserved.