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
 ru.novosoft.uml.behavior.common_behavior.MInstance getDestination(ru.novosoft.uml.behavior.common_behavior.MLink link)
          Returns the destination of a link.
static CommonBehaviorHelper getHelper()
          Singleton instance access method.
 ru.novosoft.uml.behavior.common_behavior.MInstance getSource(ru.novosoft.uml.behavior.common_behavior.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 ru.novosoft.uml.behavior.common_behavior.MInstance getSource(ru.novosoft.uml.behavior.common_behavior.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 ru.novosoft.uml.behavior.common_behavior.MInstance getDestination(ru.novosoft.uml.behavior.common_behavior.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 (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook