public abstract class Attribute extends Object implements Mapable, Serializable, StringConvertable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changed |
protected String |
classKey
The Classkey of the value if the value is a metaobject.
|
protected String |
description |
protected String |
id |
protected boolean |
isArray |
protected boolean |
isPrimaryKey |
protected String |
javaType |
protected String |
name |
protected boolean |
optional |
protected PermissionHolder |
permissions |
protected boolean |
referencesObject |
protected boolean |
substitute |
protected ToStringConverter |
toStringConverter |
protected int |
typeId |
protected Object |
value
This attributes value.
|
protected boolean |
visible |
| Constructor and Description |
|---|
Attribute(Attribute a)
Creates a new Attribute object.
|
Attribute(String id,
String name,
String description,
boolean visible,
Policy policy)
Creates a new Attribute object.
|
Attribute(String id,
String name,
String description,
PermissionHolder permissions)
Creates a new Attribute object.
|
Attribute(String id,
String name,
String description,
PermissionHolder permissions,
boolean visible)
Creates a new Attribute object.
|
Attribute(String id,
String name,
String description,
Policy policy)
Creates a new Attribute object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
constructKey(Mapable m)
DOCUMENT ME!
|
String |
getClassKey()
Classkey of the value if the value is a metaobject ("foreign key").
|
String |
getDescription()
DOCUMENT ME!
|
String |
getID()
DOCUMENT ME!
|
String |
getJavaType()
Deprecated.
does not change value in MemberAttributeInfo!
|
Object |
getKey()
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
PermissionHolder |
getPermissions()
DOCUMENT ME!
|
ToStringConverter |
getToStringConverter()
Getter for property toString.
|
int |
getTypeId()
Getter for property typeId.
|
Object |
getValue()
DOCUMENT ME!
|
boolean |
isArray()
Getter for property isArray.
|
boolean |
isChanged()
Getter for property changed.
|
boolean |
isOptional()
DOCUMENT ME!
|
boolean |
isPrimaryKey()
Getter for property isPrimaryKey.
|
boolean |
isSubstitute()
Getter for property substitute.
|
boolean |
isVisible()
DOCUMENT ME!
|
void |
printMe()
Deprecated.
|
boolean |
referencesObject()
DOCUMENT ME!
|
void |
setChanged(boolean changed)
Setter for property changed.
|
void |
setClassKey(String classKey)
Setter for property classKey.
|
void |
setId(String id)
DOCUMENT ME!
|
void |
setIsArray(boolean isArray)
Deprecated.
does not change value in MemberAttributeInfo!
|
void |
setIsPrimaryKey(boolean isPrimaryKey)
Deprecated.
does not change value in MemberAttributeInfo!
|
void |
setJavaType(String javaType)
Setter for property javaType.
|
void |
setOptional(boolean optional)
Deprecated.
does not change value in MemberAttributeInfo!
|
void |
setPermissions(PermissionHolder permissions)
DOCUMENT ME!
|
void |
setReferencesObject(boolean b)
DOCUMENT ME!
|
void |
setSubstitute(boolean substitute)
Setter for property substitute.
|
void |
setTypeId(int typeId)
DOCUMENT ME!
|
void |
setValue(Object value)
Setter for property value.
|
void |
setValuesNull()
DOCUMENT ME!
|
void |
setVisible(boolean visible)
Setter for property visible.
|
String |
toString() |
protected String id
protected String name
protected String description
protected boolean visible
protected PermissionHolder permissions
protected boolean referencesObject
protected boolean substitute
protected Object value
protected String classKey
protected int typeId
protected boolean changed
protected boolean isPrimaryKey
protected String javaType
protected boolean isArray
protected transient ToStringConverter toStringConverter
protected boolean optional
public Attribute(Attribute a)
a - DOCUMENT ME!public Attribute(String id, String name, String description, Policy policy)
id - DOCUMENT ME!name - DOCUMENT ME!description - DOCUMENT ME!policy - DOCUMENT ME!public Attribute(String id, String name, String description, PermissionHolder permissions)
id - DOCUMENT ME!name - DOCUMENT ME!description - DOCUMENT ME!permissions - DOCUMENT ME!public Attribute(String id, String name, String description, boolean visible, Policy policy)
id - DOCUMENT ME!name - DOCUMENT ME!description - DOCUMENT ME!visible - DOCUMENT ME!policy - DOCUMENT ME!public Attribute(String id, String name, String description, PermissionHolder permissions, boolean visible)
id - DOCUMENT ME!name - DOCUMENT ME!description - DOCUMENT ME!permissions - DOCUMENT ME!visible - DOCUMENT ME!public final String getID()
public final Object getValue()
public final String getName()
public final String getDescription()
public final boolean isVisible()
public final PermissionHolder getPermissions()
public final boolean referencesObject()
public final void setReferencesObject(boolean b)
b - DOCUMENT ME!public final void setPermissions(PermissionHolder permissions)
permissions - DOCUMENT ME!public void setValue(Object value)
value - New value of property value.public Object constructKey(Mapable m)
MapableconstructKey in interface Mapablem - DOCUMENT ME!public final void setVisible(boolean visible)
visible - New value of property visible.public final boolean isSubstitute()
public final void setSubstitute(boolean substitute)
substitute - New value of property substitute.public final String getClassKey()
public final void setClassKey(String classKey)
classKey - New value of property classKey.public final void setTypeId(int typeId)
typeId - DOCUMENT ME!public final int getTypeId()
public final boolean isChanged()
public final void setChanged(boolean changed)
changed - New value of property changed.public final void setValuesNull()
public final boolean isPrimaryKey()
@Deprecated public final void setIsPrimaryKey(boolean isPrimaryKey)
isPrimaryKey - New value of property isPrimaryKey.@Deprecated public final String getJavaType()
public final void setJavaType(String javaType)
javaType - New value of property javaType.public final boolean isArray()
@Deprecated public final void setIsArray(boolean isArray)
isArray - New value of property isArray.public final void setId(String id)
id - DOCUMENT ME!@Deprecated public void printMe()
public ToStringConverter getToStringConverter()
@Deprecated public final void setOptional(boolean optional)
optional - DOCUMENT ME!public final boolean isOptional()
Copyright © 2012–2026 cismet GmbH. All rights reserved.