org.openiec61850.common.model
Class DataObject

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

public class DataObject
extends ModelNode


Field Summary
 
Fields inherited from class org.openiec61850.common.model.ModelNode
children, fc, objectReference
 
Constructor Summary
DataObject(ObjectReference objectReference, java.util.List<ModelNode> children, java.lang.String cdcName)
           
DataObject(ObjectReference objectReference, java.util.List<ModelNode> children, java.lang.String cdcName, FunctionalConstraint fc)
          DataObject can have the ObjectType DATA_OBJECT or FC_DATA_OBJECT
 
Method Summary
 DataObject copy()
          Copies the whole node with all of its children.
 java.lang.String getCDCName()
           
 java.util.List<DataObject> getFCDataObjects()
           
 
Methods inherited from class org.openiec61850.common.model.ModelNode
findSubNode, getBasicDataAttributes, getChild, getChild, getChildren, 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

DataObject

public DataObject(ObjectReference objectReference,
                  java.util.List<ModelNode> children,
                  java.lang.String cdcName,
                  FunctionalConstraint fc)
DataObject can have the ObjectType DATA_OBJECT or FC_DATA_OBJECT

Parameters:
objectReference -
children - can have ObjectType of DATA_OBJECT, FC_DATA_OBJECT, ARRAY_OF_DO, ARRAY_OF_FCDO, ARRAY_OF_DA, CONSTRUCTED_DATA_ATTRIBUTE, or BASIC_DATA_ATTRIBUTE
cdcName -
fc -

DataObject

public DataObject(ObjectReference objectReference,
                  java.util.List<ModelNode> children,
                  java.lang.String cdcName)
Method Detail

copy

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

getFCDataObjects

public java.util.List<DataObject> getFCDataObjects()

getCDCName

public java.lang.String getCDCName()