Class XmlEntityDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.r17.parsing.XmlEntityDS
- All Implemented Interfaces:
IReportingDS
,IEntityDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method return the description for this entity.getId()
This method returns the unique identifier of the entity, consisting of the lowercased entity name.getName()
This method returns the unique name of the entity.This method may return the name that should be used when creating a singleton instance for this entity.This method returns the name of the super type of the entity.boolean
This method returns a boolean indicating if the entity definition is abstract, and may only used as super type of other entity definitions.boolean
This method returns a boolean indicating if only a single instance of this type may exist at runtime.void
iterateAttributes
(IAttributeVisitor visitor) This method will be invoked by the meta model component to request the information of all attributes that are defined for this entity.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlEntityDS
-
-
Method Details
-
getDescription
Description copied from interface:IEntityDS
This method return the description for this entity.- Specified by:
getDescription
in interfaceIEntityDS
- Returns:
- Return the description for this entity
-
getId
Description copied from interface:IEntityDS
This method returns the unique identifier of the entity, consisting of the lowercased entity name. -
getName
Description copied from interface:IEntityDS
This method returns the unique name of the entity. -
getSingletonName
Description copied from interface:IEntityDS
This method may return the name that should be used when creating a singleton instance for this entity. The name of a singleton is only relevant when isSingleton method returns true.- Specified by:
getSingletonName
in interfaceIEntityDS
- Returns:
- This method returns the name of the singleton instance.
-
getSuperType
Description copied from interface:IEntityDS
This method returns the name of the super type of the entity. When the entity does not have any super type, the method should return a null value.- Specified by:
getSuperType
in interfaceIEntityDS
- Returns:
- name of the super type of this entity
-
isAbstract
public boolean isAbstract()Description copied from interface:IEntityDS
This method returns a boolean indicating if the entity definition is abstract, and may only used as super type of other entity definitions. Abstract entities can never be instantiated in the profile. If an entity is defined both abstract and singleton, the profile may hold multiple instances of this type, but each instance of an entity extending this abstract type must be a singleton.- Specified by:
isAbstract
in interfaceIEntityDS
- Returns:
- A boolean indicating if the entity definition is abstract.
-
isSingleton
public boolean isSingleton()Description copied from interface:IEntityDS
This method returns a boolean indicating if only a single instance of this type may exist at runtime.- Specified by:
isSingleton
in interfaceIEntityDS
- Returns:
- A boolean indicating whether only a single instance of this type may exist at runtime.
-
iterateAttributes
Description copied from interface:IEntityDS
This method will be invoked by the meta model component to request the information of all attributes that are defined for this entity.- Specified by:
iterateAttributes
in interfaceIEntityDS
- Parameters:
visitor
- The visitor that should be used to add the attribute definitions to.
-