Class ContainerReference
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.ElementReference
com.aquima.interactions.test.templates.composer.Reference
com.aquima.interactions.test.templates.composer.ContainerReference
Template for references to container elements.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ContainerReference
(com.aquima.interactions.foundation.report.IInitializationReport report, ContainerTemplate element) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the container template that is referred to.protected com.aquima.interactions.foundation.text.IMultilingualText
void
setDisplayText
(com.aquima.interactions.foundation.text.IMultilingualText text) This method overrides the display text of the container this reference refers to.void
setDisplayText
(String text) This method overrides the display text of the container this reference refers to.void
setRelation
(String attributeName) This method may be used to override the relation attribute through which the container is included.com.aquima.interactions.composer.ds.IReferenceDS
This method converts the reference template to a data source that can be used to initialize a reference.Methods inherited from class com.aquima.interactions.test.templates.composer.Reference
getRepeatExpression, getSortAttribute, getTargetType, isLinkedViaRelationAttribute, isSortAscending, setIsLinkedViaRelationAttribute, setRepeatExpression, setSortAscending, setSortAttribute
Methods inherited from class com.aquima.interactions.test.templates.composer.ElementReference
addPresentationStyle, addPresentationStyle, getCondition, getContentStyle, getName, getPresentationStyleCondition, getPresentationStyles, getReadonlyCondition, setCondition, setPresentationStyle, setPresentationStyle, setReadonly, setReadonlyCondition
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ContainerReference
protected ContainerReference(com.aquima.interactions.foundation.report.IInitializationReport report, ContainerTemplate element)
-
-
Method Details
-
setRelation
This method may be used to override the relation attribute through which the container is included.- Parameters:
attributeName
- the relation attribute through which the container is included.
-
getContainer
This method returns the container template that is referred to.- Returns:
- the container template that is referred to.
-
toDataSource
public com.aquima.interactions.composer.ds.IReferenceDS toDataSource()Description copied from class:Reference
This method converts the reference template to a data source that can be used to initialize a reference.- Overrides:
toDataSource
in classReference
- Returns:
- a data source that can be used to initialize a reference.
-
setDisplayText
public void setDisplayText(com.aquima.interactions.foundation.text.IMultilingualText text) This method overrides the display text of the container this reference refers to.- Parameters:
text
- The display text.- Since:
- 8.4
-
setDisplayText
This method overrides the display text of the container this reference refers to.- Parameters:
text
- The display text.
-
getDisplayText
protected com.aquima.interactions.foundation.text.IMultilingualText getDisplayText()
-