com.finalist.mmbase.uml
Class MMBaseAssociationHelper

java.lang.Object
  extended by com.finalist.mmbase.uml.MMBaseAssociationHelper

public class MMBaseAssociationHelper
extends java.lang.Object

Helper classes to get access to association specific uml model elements.

Version:
$Revision: 1.4 $, $Date: 2004/12/08 23:27:32 $
Author:
Rudie Ekkelenkamp - Finalist IT Group

Constructor Summary
MMBaseAssociationHelper(MMBaseHelper model)
          Default constructor.
 
Method Summary
 java.lang.String getAssocationName(java.lang.Object object)
          Returns the name of a model element fully qualified by the name of the package that contains it.
static java.lang.String getCardinalityLower(org.omg.uml.foundation.core.AssociationEnd ae)
          Gets the lower cardinality of an association end.
static java.lang.String getCardinalityUpper(org.omg.uml.foundation.core.AssociationEnd ae)
          get the upper cardinality of an association end.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMBaseAssociationHelper

public MMBaseAssociationHelper(MMBaseHelper model)
Default constructor.

Method Detail

getAssocationName

public java.lang.String getAssocationName(java.lang.Object object)
Returns the name of a model element fully qualified by the name of the package that contains it.

Parameters:
object - model element
Returns:
fully qualifed name

getCardinalityLower

public static java.lang.String getCardinalityLower(org.omg.uml.foundation.core.AssociationEnd ae)
Gets the lower cardinality of an association end. If not specified, the value is set to 1.

Parameters:
ae - Association End
Returns:
cardinality

getCardinalityUpper

public static java.lang.String getCardinalityUpper(org.omg.uml.foundation.core.AssociationEnd ae)
get the upper cardinality of an association end. If not specified, the value is set to 1. Cardinality * will be represented by -1

Parameters:
ae - Association End
Returns:
cardinality


Copyright © 2003-2006 mmapps. All Rights Reserved.