public class Alpha2DataSourceVO<T extends Alpha2DataSourceVO<?>> extends DataSourceVO<T>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private int |
baudRate |
private java.lang.String |
commPortId |
private int |
dataBits |
private static ExportCodes |
EVENT_CODES |
private int |
parity |
private int |
retries |
private static long |
serialVersionUID |
private int |
station |
private int |
stopBits |
private int |
timeout |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
Alpha2DataSourceVO() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEventTypes(java.util.List<EventTypeVO> ets) |
protected void |
addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
protected void |
addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
T from) |
DataSourceRT |
createDataSourceRT() |
PointLocatorVO |
createPointLocator() |
int |
getBaudRate() |
java.lang.String |
getCommPortId() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
int |
getDataBits() |
ExportCodes |
getEventCodes() |
int |
getParity() |
int |
getRetries() |
int |
getStation() |
int |
getStopBits() |
int |
getTimeout() |
DataSourceVO.Type |
getType() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setBaudRate(int baudRate) |
void |
setCommPortId(java.lang.String commPortId) |
void |
setDataBits(int dataBits) |
void |
setParity(int parity) |
void |
setRetries(int retries) |
void |
setStation(int station) |
void |
setStopBits(int stopBits) |
void |
setTimeout(int timeout) |
void |
setUpdatePeriods(int updatePeriods) |
void |
setUpdatePeriodType(int updatePeriodType) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addProperties, addPropertyChanges, copy, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getEventType, getEventTypes, getId, getMessage, getName, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXidpublic static final DataSourceVO.Type TYPE
private int updatePeriodType
private int updatePeriods
private java.lang.String commPortId
private int baudRate
private int dataBits
private int stopBits
private int parity
private int timeout
private int retries
private int station
private static final long serialVersionUID
private static final int version
private static final ExportCodes EVENT_CODES
public DataSourceVO.Type getType()
getType in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public PointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<T extends Alpha2DataSourceVO<?>>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<T extends Alpha2DataSourceVO<?>>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
T from)
addPropertyChangesImpl in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<T extends Alpha2DataSourceVO<?>>private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class DataSourceVO<T extends Alpha2DataSourceVO<?>>com.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class DataSourceVO<T extends Alpha2DataSourceVO<?>>public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public java.lang.String getCommPortId()
public void setCommPortId(java.lang.String commPortId)
public int getBaudRate()
public void setBaudRate(int baudRate)
public int getDataBits()
public void setDataBits(int dataBits)
public int getStopBits()
public void setStopBits(int stopBits)
public int getParity()
public void setParity(int parity)
public int getTimeout()
public void setTimeout(int timeout)
public int getRetries()
public void setRetries(int retries)
public int getStation()
public void setStation(int station)
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<T extends Alpha2DataSourceVO<?>>