org.openiec61850.common.model.datypes.basic
Class Enumerated

java.lang.Object
  extended by org.openiec61850.common.model.ModelNode
      extended by org.openiec61850.common.model.BasicDataAttribute
          extended by org.openiec61850.common.model.datypes.basic.Enumerated
All Implemented Interfaces:
java.lang.Iterable<ModelNode>

public class Enumerated
extends BasicDataAttribute


Field Summary
 
Fields inherited from class org.openiec61850.common.model.BasicDataAttribute
basicType, dchg, dupd, qchg, sAddr
 
Fields inherited from class org.openiec61850.common.model.ModelNode
children, fc, objectReference
 
Constructor Summary
Enumerated(ObjectReference objectReference, FunctionalConstraint fc, java.lang.String sAddr, java.lang.String enumRef, java.lang.Integer value, boolean dchg, boolean dupd)
           
 
Method Summary
 Enumerated copy()
          Copies the whole node with all of its children.
 java.lang.String getEnumRef()
           
 java.lang.Integer getValue()
           
 void setDefault()
           
 void setValue(java.lang.Integer value)
           
 
Methods inherited from class org.openiec61850.common.model.BasicDataAttribute
getBasicDataAttributes, getBasicType, getChild, getChild, getChildren, getDchg, getDupd, getQchg, getSAddr, iterator
 
Methods inherited from class org.openiec61850.common.model.ModelNode
findSubNode, getFunctionalConstraint, getIterators, getNodeName, getReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Enumerated

public Enumerated(ObjectReference objectReference,
                  FunctionalConstraint fc,
                  java.lang.String sAddr,
                  java.lang.String enumRef,
                  java.lang.Integer value,
                  boolean dchg,
                  boolean dupd)
Method Detail

getValue

public java.lang.Integer getValue()
Specified by:
getValue in class BasicDataAttribute

setValue

public void setValue(java.lang.Integer value)

getEnumRef

public java.lang.String getEnumRef()

setDefault

public void setDefault()
Specified by:
setDefault in class BasicDataAttribute

copy

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