public final class Array extends FcModelNode
children, objectReference
Constructor | Description |
---|---|
Array(ObjectReference objectReference,
Fc fc,
java.util.List<FcModelNode> children) |
Creates an array object.
|
Modifier and Type | Method | Description |
---|---|---|
ModelNode |
copy() |
Returns a copy of model node with all of its children.
|
java.util.List<BasicDataAttribute> |
getBasicDataAttributes() |
Returns a list of all leaf nodes (basic data attributes) contained in the subtree of this model
node.
|
ModelNode |
getChild(int index) |
|
ModelNode |
getChild(java.lang.String childName,
Fc fc) |
Returns the child node with the given name and functional constraint.
|
java.util.Collection<ModelNode> |
getChildren() |
|
java.util.Iterator<ModelNode> |
iterator() |
|
int |
size() |
|
java.lang.String |
toString() |
getFc
getChild, getIterators, getName, getParent, getReference
public Array(ObjectReference objectReference, Fc fc, java.util.List<FcModelNode> children)
objectReference
- the reference of the arrayfc
- the functional constraint of the arraychildren
- the children of the arraypublic java.util.Collection<ModelNode> getChildren()
getChildren
in class ModelNode
public ModelNode getChild(java.lang.String childName, Fc fc)
ModelNode
public ModelNode getChild(int index)
public ModelNode copy()
ModelNode
public java.util.List<BasicDataAttribute> getBasicDataAttributes()
ModelNode
getBasicDataAttributes
in class ModelNode
public int size()
public java.lang.String toString()
toString
in class FcModelNode