Package de.espirit.or.schema
Interface SimpleAttribute<T>
- All Superinterfaces:
Attribute<T>,Serializable
Definition of a simple attribute.
- Since:
- 5.2.210803
-
Method Summary
Modifier and TypeMethodDescriptionde.espirit.or.schema.ColumnReturn the default value of this attribute.intgetSize()booleanisKey()Return true if this attribute is a key attribute else false.voidsetColumn(de.espirit.or.schema.Column column) voidsetDefaultValue(T value) Set the default value of this attribute tovalue.voidsetKey(boolean key) voidsetSize(int size) voidsetVisible(boolean value) Methods inherited from interface de.espirit.or.schema.Attribute
getDisplayText, getName, getOwner, getType, getValidator, isReadOnly, isRequired, isValid, isVisible, setName, setReadOnly, setRequired, setValidator
-
Method Details
-
getColumn
de.espirit.or.schema.Column getColumn()- Since:
- 5.2.210803
-
setColumn
void setColumn(de.espirit.or.schema.Column column) - Since:
- 5.2.210803
-
setSize
void setSize(int size) - Since:
- 5.2.210803
-
getSize
int getSize()- Since:
- 5.2.210803
-
isKey
boolean isKey()Description copied from interface:AttributeReturn true if this attribute is a key attribute else false. -
setKey
void setKey(boolean key) - Since:
- 5.2.210803
-
getXmlType
String getXmlType()- Since:
- 5.2.210803
-
getDefaultValue
Object getDefaultValue()Return the default value of this attribute.- Since:
- 5.2.210803
-
setDefaultValue
Set the default value of this attribute tovalue.- Parameters:
value- The value.- Since:
- 5.2.210803
-
setVisible
void setVisible(boolean value) - Since:
- 5.2.210803
-