Class ElementReference
java.lang.Object
com.aquima.interactions.composer.model.definition.AbstractReference
com.aquima.interactions.composer.model.definition.ElementReference
- All Implemented Interfaces:
Serializable
Reference based on name and type. This reference links to another static definition from the composer which is
identified by name and type.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionElementReference
(ElementReference other) Copy constructor which creates a new element reference based on the reference passed.protected
ElementReference
(IParserFactory factory, IReferenceDS datasource, String targetName) ElementReference
(String targetName, ElementType targetType) Default constructor to create the reference with the name and type of the element the reference refers to. -
Method Summary
Modifier and TypeMethodDescriptionThis method duplicates the definition and returns the copy.boolean
This method returns true if the reference is inline, so the reference contains the element definition.Methods inherited from class com.aquima.interactions.composer.model.definition.AbstractReference
addPresentationStyle, getActivateInstanceForRelation, getAssetFormat, getButtonActions, getButtonEvent, getContentStyle, getCreateInstanceForEmptyRelation, getDisplayLength, getDisplayText, getHeight, getMaskCallName, getPresentationStyleCondition, getPresentationStyles, getReadonlyCondition, getRepeatExpression, getTargetName, getTargetType, getVisibleCondition, getWidth, isInternalDefinition, isRefresh, setAssetFormat, setButtonActions, setButtonEvent, setContentStyle, setCreateInstanceForEmptyRelation, setDisplayText, setHeight, setInternalDefinition, setMaskCallName, setReadonlyCondition, setRefresh, setRepeatExpression, setVisibleCondition, setWidth, toString
-
Constructor Details
-
ElementReference
Default constructor to create the reference with the name and type of the element the reference refers to.- Parameters:
targetName
- Name of the element that is referred to (mandatory).targetType
- Type of the element that is referred to (mandatory).
-
ElementReference
protected ElementReference(IParserFactory factory, IReferenceDS datasource, String targetName) throws RuleEngineParseException - Throws:
RuleEngineParseException
-
ElementReference
Copy constructor which creates a new element reference based on the reference passed.- Parameters:
other
- The other element reference which data should be copied.
-
-
Method Details
-
duplicate
Description copied from class:AbstractReference
This method duplicates the definition and returns the copy.- Specified by:
duplicate
in classAbstractReference
- Returns:
- Duplicate of the current element definition.
-
isInlineReference
public boolean isInlineReference()Description copied from class:AbstractReference
This method returns true if the reference is inline, so the reference contains the element definition.- Specified by:
isInlineReference
in classAbstractReference
- Returns:
- Boolean indicating if the reference is an inline reference.
-