org.openiec61850
Class ServerModel

java.lang.Object
  extended by org.openiec61850.ModelNode
      extended by org.openiec61850.ServerModel
All Implemented Interfaces:
java.lang.Iterable<ModelNode>

public final class ServerModel
extends ModelNode


Field Summary
 
Fields inherited from class org.openiec61850.ModelNode
children, objectReference
 
Constructor Summary
ServerModel(java.util.List<LogicalDevice> logicalDevices)
           
ServerModel(java.util.List<LogicalDevice> logicalDevices, java.util.Collection<DataSet> dataSets)
           
 
Method Summary
 ServerModel copy()
          Copies the whole node with all of its children.
 DataSet getDataSet(java.lang.String dataSetReference)
           
 java.util.Collection<DataSet> getDataSets()
           
 java.lang.String toString()
           
 
Methods inherited from class org.openiec61850.ModelNode
findSubNode, findSubNode, findSubNode, findSubNode, getBasicDataAttributes, getChild, getChild, getChildren, getIterators, getNodeName, getReference, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerModel

public ServerModel(java.util.List<LogicalDevice> logicalDevices)

ServerModel

public ServerModel(java.util.List<LogicalDevice> logicalDevices,
                   java.util.Collection<DataSet> dataSets)
Method Detail

copy

public ServerModel 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

getDataSet

public DataSet getDataSet(java.lang.String dataSetReference)

getDataSets

public java.util.Collection<DataSet> getDataSets()

toString

public java.lang.String toString()
Overrides:
toString in class ModelNode