org.openmuc.openiec61850
public final class Array extends FcModelNode
children, objectReference
Constructor and Description |
---|
Array(ObjectReference objectReference,
Fc fc,
java.util.List<FcModelNode> children)
An Array can contain up to n instances of one and the same DataObject, ConstructedDataAttribute, or
BasicDataAttribute.
|
Modifier and Type | Method and 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() |
getFc, toString
getChild, getIterators, getName, getParent, getReference
public Array(ObjectReference objectReference, Fc fc, java.util.List<FcModelNode> children)
objectReference
- fc
- children
- public java.util.Collection<ModelNode> getChildren()
getChildren
in class ModelNode
public java.util.Iterator<ModelNode> iterator()
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()