org.argouml.model.uml.behavioralelements.commonbehavior
Class CommonBehaviorHelper

java.lang.Object
  |
  +--org.argouml.model.uml.behavioralelements.commonbehavior.CommonBehaviorHelper

public class CommonBehaviorHelper
extends java.lang.Object

Helper class for UML BehavioralElements::CommonBehavior Package.

Since:
ARGO0.11.2

Method Summary
 MInstance getDestination(MLink link)
          Returns the destination of a link.
static CommonBehaviorHelper getHelper()
          Singleton instance access method.
 MInstance getSource(MLink link)
          Returns the source of a link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHelper

public static CommonBehaviorHelper getHelper()
Singleton instance access method.


getSource

public MInstance getSource(MLink link)
Returns the source of a link. The source of a binary link is defined as the instance where the first linkend is pointing to via the association instance.

Parameters:
link -
Returns:
MInstance

getDestination

public MInstance getDestination(MLink link)
Returns the destination of a link. The destination of a binary link is defined as the instance where the second linkend is pointing to via the association instance.

Parameters:
link -
Returns:
MInstance


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook