org.openiec61850.common.model
Class LogicalNode
java.lang.Object
org.openiec61850.common.model.ModelNode
org.openiec61850.common.model.LogicalNode
- All Implemented Interfaces:
- java.lang.Iterable<ModelNode>
public class LogicalNode
- extends ModelNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LogicalNode
public LogicalNode(ObjectReference objectReference,
java.util.List<DataObject> dataObjects,
java.util.List<DataObject> fcDataObjects,
java.util.List<DataSet> dataSets)
copy
public LogicalNode copy()
- Description copied from class:
ModelNode
- Copies the whole node with all of its children. Creates new
BasicDataAttribute values but reuses ObjectReferences,
FunctionalConstraints.
- Specified by:
copy
in class ModelNode
getDataSets
public java.util.List<DataSet> getDataSets()
deleteDataSet
public void deleteDataSet(java.lang.String dsName)
addDataSet
public void addDataSet(DataSet ds)
addReportControlBlock
public void addReportControlBlock(ReportControlBlock rcb)
getDataSet
public DataSet getDataSet(java.lang.String name)
getReportControlBlocks
public java.util.List<ReportControlBlock> getReportControlBlocks()
getBasicDataAttributes
public java.util.List<BasicDataAttribute> getBasicDataAttributes()
- Overrides:
getBasicDataAttributes
in class ModelNode
getChildren
public java.util.List<DataObject> getChildren(FunctionalConstraint fc)
getFCChildren
public java.util.Map<FunctionalConstraint,java.util.Map<java.lang.String,DataObject>> getFCChildren()
getChild
public ModelNode getChild(java.lang.String childName,
FunctionalConstraint fc)
- Overrides:
getChild
in class ModelNode