Interface ILifeline

All Superinterfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement

public interface ILifeline extends INamedElement
Interface for Lifelines.
  • Method Details

    • getFragments

      INamedElement[] getFragments()
      Get Interaction fragments(including Messages).
      Returns:
      Interaction fragments(including Messages).
    • getFragments

      INamedElement[] getFragments(IInteractionOperand operand)
      Get Interaction fragments(including Messages).
      Parameters:
      operand - IInteractionOperand.
      Returns:
      Interaction fragments(including Messages).
    • getBase

      IClass getBase()
      Get Base Class.
      Returns:
      Base Class.
    • isDestroyed

      boolean isDestroyed()
      Check if it has a Stop.
      Returns:
      true it has a Stop / false it does not have a Stop
    • getLifelineLinks

      ILifelineLink[] getLifelineLinks()
      Get LifelineLinks.
      Returns:
      the array of LifelineLinks. Return the empty array if there is none or called as a sequence diagram's element.
    • setBase

      void setBase(IClass base)
      Set base Class.
      Parameters:
      base - base Class
      Throws:
      InvalidEditingException - InvalidEditingException occurs.
      Keys:
              ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
              ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
              BAD_TRANSACTION_KEY - Bad Transaction.
              HAS_EXCEPTION_KEY - if an exception has occurred.
              READ_ONLY_KEY - if a read-only element is edited.
      Values:
              Error messages for exceptions.
      Since:
      6.6.4