Class DocumentDefinition
java.lang.Object
com.aquima.interactions.composer.model.definition.ElementDefinition
com.aquima.interactions.composer.model.definition.CompositeNodeDefinition
com.aquima.interactions.composer.model.definition.ContentDefinition
com.aquima.interactions.composer.model.definition.DocumentDefinition
- All Implemented Interfaces:
IElementDefinition
,Serializable
This class holds the definition of a single document.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DocumentDefinition
(IMetaModel metamodel, IParserFactory parser, DefinitionStore contentStore, IDocumentDS datasource) Constructs a document definition from data source. -
Method Summary
Methods inherited from class com.aquima.interactions.composer.model.definition.ContentDefinition
equals, getContentStyle, getDescription, hashCode, isEmpty
Methods inherited from class com.aquima.interactions.composer.model.definition.CompositeNodeDefinition
addReference, getContents
Methods inherited from class com.aquima.interactions.composer.model.definition.ElementDefinition
getName, getPresentationStyles, isInternalDefinition, setInternalDefinition, setPresentationStyles
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aquima.interactions.composer.IElementDefinition
getName, getPresentationStyles
-
Constructor Details
-
DocumentDefinition
protected DocumentDefinition(IMetaModel metamodel, IParserFactory parser, DefinitionStore contentStore, IDocumentDS datasource) Constructs a document definition from data source. this constructor is public to allow test case access.- Parameters:
metamodel
- The metamodel.parser
- The expression parser that should be used when parsing expressions.contentStore
- The content store that should be used to locate references by name.datasource
- The data source providing the document information.- Throws:
InitializationException
- This exception is thrown when the definition could not be initialized due to a fatal error.
-
-
Method Details
-
toString
- Overrides:
toString
in classContentDefinition
-
getType
Description copied from interface:IElementDefinition
This method returns the type of the element.- Specified by:
getType
in interfaceIElementDefinition
- Overrides:
getType
in classContentDefinition
- Returns:
- The type of the element the definition represents.
-