public abstract class ModelNode extends Object implements Iterable<ModelNode>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,ModelNode> |
children |
protected ObjectReference |
objectReference |
| 构造器和说明 |
|---|
ModelNode() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract ModelNode |
copy()
Returns a copy of model node with all of its children.
|
List<BasicDataAttribute> |
getBasicDataAttributes()
Returns a list of all leaf nodes (basic data attributes) contained in the subtree of this model
node.
|
ModelNode |
getChild(String name)
Returns the child node with the given name.
|
ModelNode |
getChild(String name,
Fc fc)
Returns the child node with the given name and functional constraint.
|
Collection<ModelNode> |
getChildren() |
protected Iterator<Iterator<? extends ModelNode>> |
getIterators() |
String |
getName()
Returns the name of the model node.
|
ModelNode |
getParent()
Returns the parent node of this node.
|
ObjectReference |
getReference()
Returns the reference of the model node.
|
Iterator<ModelNode> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected ObjectReference objectReference
public abstract ModelNode copy()
public ModelNode getChild(String name)
getChild(String name, Fc fc) instead.name - the name of the requested child nodepublic ModelNode getChild(String name, Fc fc)
name - the name of the requested child nodefc - the functional constraint of the requested child nodepublic Collection<ModelNode> getChildren()
public ObjectReference getReference()
public String getName()
public List<BasicDataAttribute> getBasicDataAttributes()
public ModelNode getParent()
Copyright © 2025. All rights reserved.