org.openmuc.openiec61850
Class BdaOctetString

java.lang.Object
  extended by org.openmuc.openiec61850.ModelNode
      extended by org.openmuc.openiec61850.FcModelNode
          extended by org.openmuc.openiec61850.BasicDataAttribute
              extended by org.openmuc.openiec61850.BdaOctetString
All Implemented Interfaces:
java.lang.Iterable<ModelNode>

public final class BdaOctetString
extends BasicDataAttribute


Field Summary
 
Fields inherited from class org.openmuc.openiec61850.BasicDataAttribute
basicType, dchg, dupd, qchg, sAddr
 
Fields inherited from class org.openmuc.openiec61850.ModelNode
children, objectReference
 
Constructor Summary
BdaOctetString(ObjectReference objectReference, Fc fc, java.lang.String sAddr, int maxLength, boolean dchg, boolean dupd)
           
 
Method Summary
 BdaOctetString copy()
          Copies the whole node with all of its children.
 int getMaxLength()
           
 byte[] getValue()
           
 void setDefault()
           
 void setValue(byte[] value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openmuc.openiec61850.BasicDataAttribute
getBasicDataAttributes, getBasicType, getChild, getChild, getChildren, getDchg, getDupd, getQchg, getSAddr, iterator
 
Methods inherited from class org.openmuc.openiec61850.FcModelNode
getFc
 
Methods inherited from class org.openmuc.openiec61850.ModelNode
getIterators, getName, getParent, getReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BdaOctetString

public BdaOctetString(ObjectReference objectReference,
                      Fc fc,
                      java.lang.String sAddr,
                      int maxLength,
                      boolean dchg,
                      boolean dupd)
Method Detail

getValue

public byte[] getValue()
Specified by:
getValue in class BasicDataAttribute

setValue

public void setValue(byte[] value)

getMaxLength

public int getMaxLength()

setDefault

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

copy

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

toString

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