public class DataObjectTypeDefinition extends DefinitionBase
Modifier and Type | Class and Description |
---|---|
static class |
DataObjectTypeDefinition.Mode
Mode.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_DATA_OBJECT_TYPE_DEFINITIONS
Property for data object types in json.
|
_anyMap, _name, _readOnly, _timestamp, KEY_NAME, KEY_READ_ONLY, KEY_TIMESTAMP
Constructor and Description |
---|
DataObjectTypeDefinition(AnyMap dotAny)
Constructor for DataObjectTypeDefinition.
|
Modifier and Type | Method and Description |
---|---|
ValueExpression |
getObject(DataObjectTypeDefinition.Mode mode) |
ValueExpression |
getStore(DataObjectTypeDefinition.Mode mode) |
boolean |
hasPersistentMode() |
boolean |
hasTransientMode() |
AnyMap |
toAny(boolean includingAdditionalAttributes)
Returns this object as an Any representation.
|
getName, getTimestamp, isReadOnly, toAny, toString, validateName
public static final java.lang.String KEY_DATA_OBJECT_TYPE_DEFINITIONS
public DataObjectTypeDefinition(AnyMap dotAny) throws InvalidDefinitionException
dotAny
- The any Object with one dataObjectTypeDefinitionInvalidDefinitionException
- exception if the any object is not filled with all desired valuespublic AnyMap toAny(boolean includingAdditionalAttributes)
toAny
in class DefinitionBase
includingAdditionalAttributes
- 'true' if also any additional information in the AnyMap should be returned, 'false' if only the (minimal
set of) relevant information should be returned.public ValueExpression getObject(DataObjectTypeDefinition.Mode mode)
mode
- the modepublic ValueExpression getStore(DataObjectTypeDefinition.Mode mode)
mode
- the modepublic boolean hasPersistentMode()
public boolean hasTransientMode()