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

com.change_vision.jude.api.inf.model.IMessage
All Superinterfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement
All Implemented Interfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement
All Known Implementing Classes:
ITermination

public abstract IMessage
extends INamedElement

Interface for Messages.


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  IMessage getActivator()
          Get Message as activator.
abstract  String getArgument()
          Get Argument.
abstract  String getGuard()
          Not implemented yet. Get Guard Condition.
abstract  String getIndex()
          Get Index.
abstract  IOperation getOperation()
          Get Operation.
abstract  IMessage getPredecessor()
          Get Message as predecessor.
abstract  String getReturnValue()
          Not implemented yet. Get Return value.
abstract  String getReturnValueVariable()
          Not implemented yet. Get Return Value Variable.
abstract  INamedElement getSource()
          Get Source named element.
abstract  IMessage getSuccessor()
          Get Message as successor.
abstract  INamedElement getTarget()
          Get Target named element.
abstract  boolean isAsynchronous()
          Check if it is asynchronous.
abstract  boolean isCreateMessage()
          Check if it is a create message.
abstract  boolean isDestroyMessage()
          Check if it is a destroy message.
abstract  boolean isReturnMessage()
          Check if it is a return message.
abstract  boolean isSynchronous()
          Check if it is synchronous.
abstract  void setArgument(String argument)
          Set Argument.
abstract  void setAsynchronous(boolean isAsynchronous)
          Set asynchronous to Message.
abstract  void setGuard(String guard)
          Not implemented yet. Set Guard Condition.
abstract  void setOperation(IOperation operation)
          Set Operation.
abstract  void setReturnValue(String returnValue)
          Not implemented yet. Set Return value.
abstract  void setReturnValueVariable(String returnValueVariable)
          Not implemented yet. Set Return Value Variable.
 
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

getSource

abstract INamedElement getSource()
Get Source named element.

Returns:
named element.

getTarget

abstract INamedElement getTarget()
Get Target named element.

Returns:
named element.

isSynchronous

abstract boolean isSynchronous()
Check if it is synchronous.

Returns:
true it is synchronous / false it is asynchronous

isAsynchronous

abstract boolean isAsynchronous()
Check if it is asynchronous.

Returns:
true it is asynchronous / false it is synchronous

isReturnMessage

abstract boolean isReturnMessage()
Check if it is a return message.

Returns:
true it is a return message / false it is not a return message or this message is from communication diagram.

isCreateMessage

abstract boolean isCreateMessage()
Check if it is a create message.

Returns:
true it is a create message / false it is not a create message or this message is from communication diagram.

isDestroyMessage

abstract boolean isDestroyMessage()
Check if it is a destroy message.

Returns:
true it is a destroy message / false it is not a destroy message or this message is from communication diagram.

getOperation

abstract IOperation getOperation()
Get Operation.

Returns:
Operation.

getArgument

abstract String getArgument()
Get Argument.

Returns:
Argument.

getReturnValue

abstract String getReturnValue()
Not implemented yet. Get Return value.

Returns:
Return value.

getReturnValueVariable

abstract String getReturnValueVariable()
Not implemented yet. Get Return Value Variable.

Returns:
Return Value Variable.

getGuard

abstract String getGuard()
Not implemented yet. Get Guard Condition.

Returns:
Guard Condition.

getIndex

abstract String getIndex()
Get Index.

Returns:
Index.

getActivator

abstract IMessage getActivator()
Get Message as activator.

Returns:
Message.

getPredecessor

abstract IMessage getPredecessor()
Get Message as predecessor.

Returns:
Message.

getSuccessor

abstract IMessage getSuccessor()
Get Message as successor.

Returns:
Message.

setAsynchronous

abstract void setAsynchronous(boolean isAsynchronous)
Set asynchronous to Message.

Parameters:
isAsynchronous - if true, it is asynchronous, otherwise, it is synchronous
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.

setOperation

abstract void setOperation(IOperation operation)
Set Operation.

Parameters:
operation - Operation
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.

setArgument

abstract void setArgument(String argument)
Set Argument.

Parameters:
argument - Argment
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.

setReturnValue

abstract void setReturnValue(String returnValue)
Not implemented yet. Set Return value.

Parameters:
returnValue - Return Value
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.

setReturnValueVariable

abstract void setReturnValueVariable(String returnValueVariable)
Not implemented yet. Set Return Value Variable.

Parameters:
returnValueVariable - Return Value Variable
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.

setGuard

abstract void setGuard(String guard)
Not implemented yet. Set Guard Condition.

Parameters:
guard - Guard
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.