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.


Constructor Summary
AssociationEndAggregationWellformednessRule()
          Constructor for AssociationEndAggregationWellformednessRule.
AssociationEndAggregationWellformednessRule(java.lang.String key)
          Constructor for AssociationEndAggregationWellformednessRule.
 
Method Summary
 boolean isWellformed(ru.novosoft.uml.MBase 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(ru.novosoft.uml.MBase element,
                            java.lang.Object newValue)
Checks that there is at most one associationend within an association an aggregation or composite.
Overrides:
isWellformed in class AbstractWellformednessRule
See Also:
AbstractWellformednessRule.isWellformed(MBase, Object)


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook