org.openiec61850
Class DaVisibleString

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

public class DaVisibleString
extends BasicDataAttribute


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

Constructor Detail

DaVisibleString

public DaVisibleString(ObjectReference objectReference,
                       FunctionalConstraint fc,
                       java.lang.String sAddr,
                       byte[] value,
                       int maxLength,
                       boolean dchg,
                       boolean dupd)
Method Detail

getValue

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

setValue

public void setValue(byte[] value)

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class BasicDataAttribute

getMaxLength

public int getMaxLength()

setDefault

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

copy

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