| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.displayers.DataState
public class DataState
DataState describes quality of dinamic value.
| Field Summary | |
|---|---|
| static java.lang.String | ALARMState when alarm condition was rased for the dynamic value. | 
| static java.lang.String | CONNECTEDState for connected source of dynamic data. | 
|  java.lang.String | descriptionDetailed description of this data quality representativ. | 
| static java.lang.String | DISCONNECTEDState for disconnected source of dynamic data. | 
| static java.lang.String | ERRORState when error condition was rased for the dynamic value. | 
| static java.lang.String | NORMALState for normal conditions. | 
| static java.lang.String | NOT_INITIALIZEDState for not initialized source of dynamic data. | 
| static java.lang.String | SUSPENDEDState when dynamic data source ahs been suspended. | 
| static java.lang.String | TIMELAGState when dynamic value source receives data with timelag. | 
| static java.lang.String | TIMEOUTState when dynamic value data is in timeout. | 
|  long | timestampTimestamp of data quality | 
|  java.lang.String | typeType identifying this data quality state. | 
| static java.lang.String | UNDEFINEDState when data quality can not be determined. | 
| static java.lang.String | WARNINGState when warning condition was rased for the dynamic value. | 
| Constructor Summary | |
|---|---|
| DataState(java.lang.String type)Creates a new DateState object. | |
| DataState(java.lang.String type,
          long timestamp,
          java.lang.String description)Creates a new DataState object. | |
| DataState(java.lang.String type,
          java.lang.String description)Creates a new DataState object. | |
| Method Summary | |
|---|---|
|  java.lang.String | getType()Returns the type of this DataState. | 
|  java.lang.String | toString()Returns the type identifyer of this data quality state. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public java.lang.String type
public long timestamp
public java.lang.String description
public static final java.lang.String TIMELAG
public static final java.lang.String TIMEOUT
public static final java.lang.String WARNING
public static final java.lang.String ALARM
public static final java.lang.String ERROR
public static final java.lang.String NORMAL
public static final java.lang.String NOT_INITIALIZED
public static final java.lang.String CONNECTED
public static final java.lang.String DISCONNECTED
public static final java.lang.String UNDEFINED
public static final java.lang.String SUSPENDED
| Constructor Detail | 
|---|
public DataState(java.lang.String type,
                 long timestamp,
                 java.lang.String description)
type - the string identifier for type.timestamp - the time of data qyality changedescription - detailed description of this data quality state
public DataState(java.lang.String type,
                 java.lang.String description)
type - the string identifier for type.description - detailed description of this data quality statepublic DataState(java.lang.String type)
type - the string identifier for type.| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getType()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||