Class XmlRelationDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.r17.parsing.XmlRelationDS
- All Implemented Interfaces:
IReportingDS
,IRelationDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ModifierConstructorDescriptionprotected
XmlRelationDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThe related entity attribute is only requested for attributes with the data-type entity.The entity is only requested for attributes with the data-type entity.This method returns the explain text of the relation.This method returns the question text of the relation.getType()
This method returns the type of the relation.boolean
This method returns a boolean indicating if the attribute to which this relation belongs is the owner of the instance referred.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
-
XmlRelationDS
-
-
Method Details
-
getAttributeName
Description copied from interface:IRelationDS
The related entity attribute is only requested for attributes with the data-type entity. This method will not be invoked with any other type.- Specified by:
getAttributeName
in interfaceIRelationDS
- Returns:
- The name of the attribute that forms a two-way-relation with this entity attribute.
-
getEntityName
Description copied from interface:IRelationDS
The entity is only requested for attributes with the data-type entity. This method will not be invoked with any other type.- Specified by:
getEntityName
in interfaceIRelationDS
- Returns:
- The name of the entity this attribute represents.
-
getType
Description copied from interface:IRelationDS
This method returns the type of the relation.- Specified by:
getType
in interfaceIRelationDS
- Returns:
- The type of the relation.
-
referrerIsOwner
public boolean referrerIsOwner()Description copied from interface:IRelationDS
This method returns a boolean indicating if the attribute to which this relation belongs is the owner of the instance referred.- Specified by:
referrerIsOwner
in interfaceIRelationDS
- Returns:
- boolean indicating if the attribute to which this relation belongs is the owner of the instance referred.
-
getQuestionText
Description copied from interface:IRelationDS
This method returns the question text of the relation.- Specified by:
getQuestionText
in interfaceIRelationDS
- Returns:
- An IMultilingualText containing the relation question text.
-
getExplainText
Description copied from interface:IRelationDS
This method returns the explain text of the relation.- Specified by:
getExplainText
in interfaceIRelationDS
- Returns:
- An IMultilingualText containing the relation explain text.
-