org.openiec61850.common.model.datypes.commonacsi
Class Quality

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

public class Quality
extends BasicDataAttribute

Quality basic type according to 61850-7-3 table 1


Nested Class Summary
static class Quality.Source
           
static class Quality.Validity
           
 
Field Summary
 boolean badReference
           
 boolean failure
           
 boolean inaccurate
           
 boolean inconsistent
           
 boolean oldData
           
 boolean operatorBlocked
           
 boolean oscillatory
           
 boolean outOfRange
           
 boolean overflow
           
 Quality.Source source
           
 boolean test
           
 Quality.Validity validity
           
 
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
Quality(ObjectReference objectReference, FunctionalConstraint fc, java.lang.String sAddr, boolean qchg)
           
 
Method Summary
 Quality copy()
          Copies the whole node with all of its children.
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getValue()
           
 int hashCode()
           
 void setDefault()
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

validity

public Quality.Validity validity

overflow

public boolean overflow

outOfRange

public boolean outOfRange

badReference

public boolean badReference

oscillatory

public boolean oscillatory

failure

public boolean failure

oldData

public boolean oldData

inconsistent

public boolean inconsistent

inaccurate

public boolean inaccurate

source

public Quality.Source source

test

public boolean test

operatorBlocked

public boolean operatorBlocked
Constructor Detail

Quality

public Quality(ObjectReference objectReference,
               FunctionalConstraint fc,
               java.lang.String sAddr,
               boolean qchg)
Method Detail

getValue

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

setDefault

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

copy

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