Package org.eso.ias.plugin.network
Class MessageDao
java.lang.Object
org.eso.ias.plugin.network.MessageDao
The message sent from the remote client to the
networked plugin
- Author:
- acaproni
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionGettergetValue()GetterGettervoidvoidsetOperMode(String operMode) voidsetTimestamp(String timestamp) SettervoidSettervoidsetValueType(String valueType) SettertoString()
-
Constructor Details
-
MessageDao
public MessageDao()Empty constructor -
MessageDao
public MessageDao(String mPointId, String timestamp, String value, String valueType, String operMode) Constructor- Parameters:
mPointId- the ID of the monitor pointtimestamp- ISO 8601 time stampvalue- The value (sample) to be sent to the BSDBvalueType- The type of the valueoperMode- The operational mode (can benull)
-
-
Method Details
-
getTimestamp
Getter- Returns:
- the timestamp
-
setTimestamp
Setter- Parameters:
timestamp- the timestamp
-
getValueType
Getter- Returns:
- the type
-
setValueType
Setter- Parameters:
valueType- type of the value
-
getValue
Getter- Returns:
- the value
-
setValue
Setter- Parameters:
value- the value
-
getMonitorPointId
-
setMonitorPointId
-
getOperMode
-
setOperMode
-
toString
-