org.openiec61850.common.model
Class ModelNode
java.lang.Object
org.openiec61850.common.model.ModelNode
- All Implemented Interfaces:
- java.lang.Iterable<ModelNode>
- Direct Known Subclasses:
- Array, BasicDataAttribute, ConstructedDataAttribute, ControlBlock, DataObject, DataSet, LogicalDevice, LogicalNode, OptFields, ReportControlBlock, Server, TriggerConditions
public abstract class ModelNode
- extends java.lang.Object
- implements java.lang.Iterable<ModelNode>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
objectReference
protected ObjectReference objectReference
fc
protected FunctionalConstraint fc
children
protected java.util.Map<java.lang.String,ModelNode> children
ModelNode
public ModelNode()
copy
public abstract ModelNode copy()
- Copies the whole node with all of its children. Creates new
BasicDataAttribute values but reuses ObjectReferences,
FunctionalConstraints.
getChild
public ModelNode getChild(java.lang.String childName)
getChild
public ModelNode getChild(java.lang.String childName,
FunctionalConstraint fc)
getChildren
public java.util.Collection<ModelNode> getChildren()
getIterators
protected java.util.Iterator<java.util.Iterator<? extends ModelNode>> getIterators()
findSubNode
public ModelNode findSubNode(ObjectReference objectReference,
FunctionalConstraint fc)
getFunctionalConstraint
public FunctionalConstraint getFunctionalConstraint()
getReference
public ObjectReference getReference()
getNodeName
public java.lang.String getNodeName()
iterator
public java.util.Iterator<ModelNode> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ModelNode>
getBasicDataAttributes
public java.util.List<BasicDataAttribute> getBasicDataAttributes()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object