Class InlineReference
java.lang.Object
com.aquima.interactions.composer.model.definition.AbstractReference
com.aquima.interactions.composer.model.definition.InlineReference
- All Implemented Interfaces:
Serializable
Reference class which contains the element definition it refers to.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInlineReference
(IElementDefinition definition) Constructor that requires the element definition this reference should refer to.protected
InlineReference
(InlineReference other) protected
InlineReference
(IParserFactory factory, IReferenceDS datasource, IElementDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionThis method duplicates the definition and returns the copy.This method returns the definition of the element this inline reference refers to.boolean
This method returns true if the reference is inline, so the reference contains the element definition.protected void
setInlineDefinition
(ElementDefinition definition) toString()
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
-
Constructor Details
-
InlineReference
Constructor that requires the element definition this reference should refer to.- Parameters:
definition
- The element definition the reference refers to.
-
InlineReference
protected InlineReference(IParserFactory factory, IReferenceDS datasource, IElementDefinition definition) -
InlineReference
-
-
Method Details
-
setInlineDefinition
-
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.
-
getDefinition
This method returns the definition of the element this inline reference refers to.- Returns:
- The inline element, never null
-
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.
-
toString
- Overrides:
toString
in classAbstractReference
-