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.Column
Return the default value of this attribute.int
getSize()
boolean
isKey()
Return true if this attribute is a key attribute else false.void
setColumn
(de.espirit.or.schema.Column column) void
setDefaultValue
(T value) Set the default value of this attribute tovalue
.void
setKey
(boolean key) void
setSize
(int size) void
setVisible
(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:Attribute
Return 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
-