org.openmuc.openiec61850
Class ServerModel
java.lang.Object
org.openmuc.openiec61850.ModelNode
org.openmuc.openiec61850.ServerModel
- All Implemented Interfaces:
- java.lang.Iterable<ModelNode>
public final class ServerModel
- extends ModelNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerModel
public ServerModel(java.util.List<LogicalDevice> logicalDevices,
java.util.Collection<DataSet> dataSets)
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()
getUrcbs
public java.util.Collection<Urcb> getUrcbs()
getUrcb
public Urcb getUrcb(java.lang.String urcbRef)
toString
public java.lang.String toString()
- Overrides:
toString
in class ModelNode
findModelNode
public ModelNode findModelNode(ObjectReference objectReference,
Fc fc)
- Searches and returns the model node with the given object reference and FC. If searching for Logical Devices and
Logical Nodes the given fc parameter may be
null
.
- Parameters:
objectReference
- the object reference of the node that is being searched for. It has a syntax like "ldname/ln.do....".fc
- the functional constraint of the requested model node. May be null for Logical Device and Logical Node
references.
- Returns:
- the model node if it was found or null otherwise
findModelNode
public ModelNode findModelNode(java.lang.String objectReference,
Fc fc)