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

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


Constructor Summary
AssociationNamespaceWellformednessRule()
          Constructor for AssociationNamespaceWellformednessRule.
AssociationNamespaceWellformednessRule(java.lang.String key)
          Constructor for AssociationNamespaceWellformednessRule.
 
Method Summary
 boolean isWellformed(ru.novosoft.uml.MBase 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(ru.novosoft.uml.MBase 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(MBase,Object)


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