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

java.lang.Object
  extended byorg.argouml.model.uml.AbstractWellformednessRule
      extended byorg.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

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


ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook