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


Constructor Summary
AssociationEndNameWellformednessRule()
           
AssociationEndNameWellformednessRule(java.lang.String key)
          Constructor for AssociationEndNameWellformednessRule.
 
Method Summary
 boolean isWellformed(ru.novosoft.uml.MBase 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(ru.novosoft.uml.MBase element,
                            java.lang.Object newValue)
Checks that all associationends have an unique name in an association
Overrides:
isWellformed in class AbstractWellformednessRule
See Also:
AbstractWellformednessRule.isWellformed(MBase, Object)


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