UML

org.topcased.modeler.uml.classdiagram.util
Class AssociationHelper

java.lang.Object
  extended by org.topcased.modeler.uml.classdiagram.util.AssociationHelper

public class AssociationHelper
extends java.lang.Object

An helper class to handle Association parameters more easily


Field Summary
static java.lang.String ASSOCIATION_NAME
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_AGGREGATION_KIND
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_CLASS
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_IS_NAVIGABLE
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_IS_ORDERED
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_LOWER_BOUND
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_ROLE
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_UPPER_BOUND
          Deprecated. This constant will be deleted
static java.lang.String FIRST_END_VISIBILITY_KIND
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_AGGREGATION_KIND
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_CLASS
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_IS_NAVIGABLE
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_IS_ORDERED
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_LOWER_BOUND
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_ROLE
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_UPPER_BOUND
          Deprecated. This constant will be deleted
static java.lang.String SECOND_END_VISIBILITY_KIND
          Deprecated. This constant will be deleted
 
Constructor Summary
AssociationHelper(org.eclipse.uml2.uml.Association association)
          Constructor
 
Method Summary
 java.util.Map extractAssociationData()
          Deprecated. This method will be deleted
 org.eclipse.uml2.uml.AggregationKind getAssociationFirstEndAggregationKind()
           
 org.eclipse.uml2.uml.Type getAssociationFirstEndClass()
           
 boolean getAssociationFirstEndIsNavigable()
           
 boolean getAssociationFirstEndIsOrdered()
           
 java.lang.String getAssociationFirstEndLowerBound()
           
 java.lang.String getAssociationFirstEndRole()
           
 java.lang.String getAssociationFirstEndUpperBound()
           
 org.eclipse.uml2.uml.VisibilityKind getAssociationFirstEndVisibilityKind()
           
 java.lang.String getAssociationName()
           
 org.eclipse.uml2.uml.AggregationKind getAssociationSecondEndAggregationKind()
           
 org.eclipse.uml2.uml.Type getAssociationSecondEndClass()
           
 boolean getAssociationSecondEndIsNavigable()
           
 boolean getAssociationSecondEndIsOrdered()
           
 java.lang.String getAssociationSecondEndLowerBound()
           
 java.lang.String getAssociationSecondEndRole()
           
 java.lang.String getAssociationSecondEndUpperBound()
           
 org.eclipse.uml2.uml.VisibilityKind getAssociationSecondEndVisibilityKind()
           
 boolean isAssociationReady()
          Check if the Association is completely created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSOCIATION_NAME

public static final java.lang.String ASSOCIATION_NAME
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_CLASS

public static final java.lang.String FIRST_END_CLASS
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_ROLE

public static final java.lang.String FIRST_END_ROLE
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_IS_NAVIGABLE

public static final java.lang.String FIRST_END_IS_NAVIGABLE
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_IS_ORDERED

public static final java.lang.String FIRST_END_IS_ORDERED
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_VISIBILITY_KIND

public static final java.lang.String FIRST_END_VISIBILITY_KIND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_AGGREGATION_KIND

public static final java.lang.String FIRST_END_AGGREGATION_KIND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_LOWER_BOUND

public static final java.lang.String FIRST_END_LOWER_BOUND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

FIRST_END_UPPER_BOUND

public static final java.lang.String FIRST_END_UPPER_BOUND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_CLASS

public static final java.lang.String SECOND_END_CLASS
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_ROLE

public static final java.lang.String SECOND_END_ROLE
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_IS_NAVIGABLE

public static final java.lang.String SECOND_END_IS_NAVIGABLE
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_IS_ORDERED

public static final java.lang.String SECOND_END_IS_ORDERED
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_VISIBILITY_KIND

public static final java.lang.String SECOND_END_VISIBILITY_KIND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_AGGREGATION_KIND

public static final java.lang.String SECOND_END_AGGREGATION_KIND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_LOWER_BOUND

public static final java.lang.String SECOND_END_LOWER_BOUND
Deprecated. This constant will be deleted
See Also:
Constant Field Values

SECOND_END_UPPER_BOUND

public static final java.lang.String SECOND_END_UPPER_BOUND
Deprecated. This constant will be deleted
See Also:
Constant Field Values
Constructor Detail

AssociationHelper

public AssociationHelper(org.eclipse.uml2.uml.Association association)
Constructor

Parameters:
association - the Association
Method Detail

isAssociationReady

public boolean isAssociationReady()
Check if the Association is completely created

Returns:
true if the Association has its two MemberEnds

getAssociationName

public java.lang.String getAssociationName()

getAssociationFirstEndClass

public org.eclipse.uml2.uml.Type getAssociationFirstEndClass()

getAssociationFirstEndRole

public java.lang.String getAssociationFirstEndRole()

getAssociationFirstEndIsNavigable

public boolean getAssociationFirstEndIsNavigable()

getAssociationFirstEndIsOrdered

public boolean getAssociationFirstEndIsOrdered()

getAssociationFirstEndVisibilityKind

public org.eclipse.uml2.uml.VisibilityKind getAssociationFirstEndVisibilityKind()

getAssociationFirstEndAggregationKind

public org.eclipse.uml2.uml.AggregationKind getAssociationFirstEndAggregationKind()

getAssociationFirstEndLowerBound

public java.lang.String getAssociationFirstEndLowerBound()

getAssociationFirstEndUpperBound

public java.lang.String getAssociationFirstEndUpperBound()

getAssociationSecondEndClass

public org.eclipse.uml2.uml.Type getAssociationSecondEndClass()

getAssociationSecondEndRole

public java.lang.String getAssociationSecondEndRole()

getAssociationSecondEndIsNavigable

public boolean getAssociationSecondEndIsNavigable()

getAssociationSecondEndIsOrdered

public boolean getAssociationSecondEndIsOrdered()

getAssociationSecondEndVisibilityKind

public org.eclipse.uml2.uml.VisibilityKind getAssociationSecondEndVisibilityKind()

getAssociationSecondEndAggregationKind

public org.eclipse.uml2.uml.AggregationKind getAssociationSecondEndAggregationKind()

getAssociationSecondEndLowerBound

public java.lang.String getAssociationSecondEndLowerBound()

getAssociationSecondEndUpperBound

public java.lang.String getAssociationSecondEndUpperBound()

extractAssociationData

public java.util.Map extractAssociationData()
Deprecated. This method will be deleted

Return all the informations concerning the Association

Returns:
Map

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.