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

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

public class AssociationNamespaceWellformednessRule
extends AbstractWellformednessRule

Checks that an associatons namespace is the same as the type it connects to


Field Summary
 
Fields inherited from class org.argouml.model.uml.AbstractWellformednessRule
 
Constructor Summary
AssociationNamespaceWellformednessRule()
          Constructor for AssociationNamespaceWellformednessRule.
AssociationNamespaceWellformednessRule(java.lang.String key)
          Constructor for AssociationNamespaceWellformednessRule.
 
Method Summary
 boolean isWellformed(java.lang.Object element, java.lang.Object newValue)
          Checks if the combination of the element and the newValue give a wellformed result
 
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

AssociationNamespaceWellformednessRule

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

Parameters:
key -

AssociationNamespaceWellformednessRule

public AssociationNamespaceWellformednessRule()
Constructor for AssociationNamespaceWellformednessRule.

Method Detail

isWellformed

public boolean isWellformed(java.lang.Object element,
                            java.lang.Object newValue)
Description copied from class: AbstractWellformednessRule
Checks if the combination of the element and the newValue give a wellformed result

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


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