org.openiec61850.common.model
Class DataSet

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

public class DataSet
extends ModelNode


Field Summary
 
Fields inherited from class org.openiec61850.common.model.ModelNode
children, fc, objectReference
 
Constructor Summary
DataSet(ObjectReference objectReference, java.util.List<ModelNode> members, boolean deletable)
           
 
Method Summary
 DataSet copy()
          Copies the whole node with all of its children.
 ModelNode getChild(java.lang.String childName, FunctionalConstraint fc)
           
 java.util.List<ModelNode> getChildren()
           
 boolean isDeletable()
           
 void setFunctionalConstraint(FunctionalConstraint fc)
           
 
Methods inherited from class org.openiec61850.common.model.ModelNode
findSubNode, getBasicDataAttributes, getChild, getFunctionalConstraint, getIterators, getNodeName, getReference, iterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSet

public DataSet(ObjectReference objectReference,
               java.util.List<ModelNode> members,
               boolean deletable)
Method Detail

getChildren

public java.util.List<ModelNode> getChildren()
Overrides:
getChildren in class ModelNode

setFunctionalConstraint

public void setFunctionalConstraint(FunctionalConstraint fc)

copy

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

getChild

public ModelNode getChild(java.lang.String childName,
                          FunctionalConstraint fc)
Overrides:
getChild in class ModelNode

isDeletable

public boolean isDeletable()