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

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

public class AssociationEndNameWellformednessRule
extends AbstractWellformednessRule

Checks that all associationends have an unique name in an association


Field Summary
 
Fields inherited from class org.argouml.model.uml.AbstractWellformednessRule
 
Constructor Summary
AssociationEndNameWellformednessRule()
           
AssociationEndNameWellformednessRule(java.lang.String key)
          Constructor for AssociationEndNameWellformednessRule.
 
Method Summary
 boolean isWellformed(java.lang.Object element, java.lang.Object newValue)
          Checks that all associationends have an unique name in an association
 
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

AssociationEndNameWellformednessRule

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

Parameters:
key -

AssociationEndNameWellformednessRule

public AssociationEndNameWellformednessRule()
Method Detail

isWellformed

public boolean isWellformed(java.lang.Object element,
                            java.lang.Object newValue)
Checks that all associationends have an unique name in an association

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


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