Class InlineReference

java.lang.Object
com.aquima.interactions.composer.model.definition.AbstractReference
com.aquima.interactions.composer.model.definition.InlineReference
All Implemented Interfaces:
Serializable

public class InlineReference extends AbstractReference
Reference class which contains the element definition it refers to.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • InlineReference

      public InlineReference(IElementDefinition definition)
      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

      protected InlineReference(InlineReference other)
  • Method Details

    • setInlineDefinition

      protected void setInlineDefinition(ElementDefinition definition)
    • duplicate

      public AbstractReference duplicate()
      Description copied from class: AbstractReference
      This method duplicates the definition and returns the copy.
      Specified by:
      duplicate in class AbstractReference
      Returns:
      Duplicate of the current element definition.
    • getDefinition

      public IElementDefinition 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 class AbstractReference
      Returns:
      Boolean indicating if the reference is an inline reference.
    • toString

      public String toString()
      Overrides:
      toString in class AbstractReference