com.change_vision.jude.api.inf.model
Interface IInteraction

com.change_vision.jude.api.inf.model.IInteraction
All Superinterfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement
All Implemented Interfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement

public abstract IInteraction
extends INamedElement

Interface for Interactions.


Field Summary
 
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
Method Summary
abstract  String getArgument()
          Get Argument.
abstract  IGate[] getGates()
          Get Gates.
abstract  ILifeline[] getLifelines()
          Get Lifelines.
abstract  IMessage[] getMessages()
          Get Messages.
abstract  void setArgument(String argument)
          Set Argument.
 
Methods inherited from class 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
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

getLifelines

abstract ILifeline[] getLifelines()
Get Lifelines.

Returns:
Lifelines

getArgument

abstract String getArgument()
Get Argument.

Returns:
Argument

getGates

abstract IGate[] getGates()
Get Gates.

Returns:
Gates

getMessages

abstract IMessage[] getMessages()
Get Messages.

Returns:
the array of Messages. Return the empty array if there is none.

setArgument

abstract void setArgument(String argument)
Set Argument.

Parameters:
argument - Argument
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in Astah community.
       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.