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

Field Summary
private static CommonBehaviorHelper SINGLETON
          Singleton instance.
 
Constructor Summary
private CommonBehaviorHelper()
          Don't allow instantiation.
 
Method Summary
 MInstance getDestination(java.lang.Object link)
          Returns the destination of a link.
static CommonBehaviorHelper getHelper()
          Singleton instance access method.
 MInstance getSource(java.lang.Object 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
 

Field Detail

SINGLETON

private static CommonBehaviorHelper SINGLETON
Singleton instance.

Constructor Detail

CommonBehaviorHelper

private CommonBehaviorHelper()
Don't allow instantiation.

Method Detail

getHelper

public static CommonBehaviorHelper getHelper()
Singleton instance access method.


getSource

public MInstance getSource(java.lang.Object 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(java.lang.Object 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-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook