Interface ILifeline
- All Superinterfaces:
IElement,IEntity,IHyperlinkOwner,INamedElement
Interface for Lifelines.
-
Field Summary
Fields inherited from interface com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY -
Method Summary
Modifier and TypeMethodDescriptiongetBase()Get Base Class.Get Interaction fragments(including Messages).getFragments(IInteractionOperand operand) Get Interaction fragments(including Messages).Get LifelineLinks.booleanCheck if it has a Stop.voidSet base Class.Methods inherited from interface com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifierMethods inherited from interface com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinksMethods inherited from interface com.change_vision.jude.api.inf.model.INamedElement
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility
-
Method Details
-
getFragments
INamedElement[] getFragments()Get Interaction fragments(including Messages).- Returns:
- Interaction fragments(including Messages).
-
getFragments
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
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
-