com.metamatrix.common.tree
Interface ChildRules
- All Known Implementing Classes:
- DefaultChildRules
public interface ChildRules
This interface is used to encapsulate the rules that govern which types of
nodes may have children.
isHidden
boolean isHidden(ObjectDefinition defn)
getAllowsChildren
boolean getAllowsChildren(ObjectDefinition defn)
getAllowsChild
boolean getAllowsChild(ObjectDefinition parentDefn,
ObjectDefinition childDefn)
setValidName
void setValidName(TreeNode newNode,
java.util.List children)
setValidName
void setValidName(TreeNode newNode,
ObjectDefinition childType,
java.util.List children)
Copyright © 2009. All Rights Reserved.