Class MetadataDefinition
java.lang.Object
com.aquima.interactions.metamodel.impl.MetadataDefinition
- All Implemented Interfaces:
IMetadataDefinition
,Serializable
Represents the definition of a metadata in an aggregate.
- Author:
- V. Moldovan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
Indicates whether the metadata is multi-valued.
-
Constructor Details
-
MetadataDefinition
public MetadataDefinition(IMetaModel metamodel, IMetadataDS datasource) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceIMetadataDefinition
- Returns:
- the name of the metadata.
-
getDataType
- Specified by:
getDataType
in interfaceIMetadataDefinition
- Returns:
- the data type of the metadata's value.
-
isMultiValued
public boolean isMultiValued()Description copied from interface:IMetadataDefinition
Indicates whether the metadata is multi-valued.- Specified by:
isMultiValued
in interfaceIMetadataDefinition
- Returns:
true
if metadata is multi-valued andfalse
otherwise.
-
getExpression
- Specified by:
getExpression
in interfaceIMetadataDefinition
- Returns:
- expression which is used to calculate the value of the metadata.
-
getDomain
- Specified by:
getDomain
in interfaceIMetadataDefinition
- Returns:
- the domain for value list.
-