org.argouml.model.uml.foundation.core
Class AssociationEndAggregationWellformednessRule

java.lang.Object
  |
  +--org.argouml.model.uml.AbstractWellformednessRule
        |
        +--org.argouml.model.uml.foundation.core.AssociationEndAggregationWellformednessRule

public class AssociationEndAggregationWellformednessRule
extends AbstractWellformednessRule

Checks that there is at most one associationend within an association an aggregation or composite.


Field Summary
 
Fields inherited from class org.argouml.model.uml.AbstractWellformednessRule
 
Constructor Summary
AssociationEndAggregationWellformednessRule()
          Constructor for AssociationEndAggregationWellformednessRule.
AssociationEndAggregationWellformednessRule(java.lang.String key)
          Constructor for AssociationEndAggregationWellformednessRule.
 
Method Summary
 boolean isWellformed(java.lang.Object element, java.lang.Object newValue)
          Checks that there is at most one associationend within an association an aggregation or composite.
 
Methods inherited from class org.argouml.model.uml.AbstractWellformednessRule
getUserMessage, setUserMessageKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationEndAggregationWellformednessRule

public AssociationEndAggregationWellformednessRule(java.lang.String key)
Constructor for AssociationEndAggregationWellformednessRule.

Parameters:
key -

AssociationEndAggregationWellformednessRule

public AssociationEndAggregationWellformednessRule()
Constructor for AssociationEndAggregationWellformednessRule.

Method Detail

isWellformed

public boolean isWellformed(java.lang.Object element,
                            java.lang.Object newValue)
Checks that there is at most one associationend within an association an aggregation or composite.

Specified by:
isWellformed in class AbstractWellformednessRule
See Also:
AbstractWellformednessRule.isWellformed(Object,Object)


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook