public class GalilDataSourceVO extends DataSourceVO<GalilDataSourceVO>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private static ExportCodes |
EVENT_CODES |
private java.lang.String |
host |
private int |
port |
private int |
retries |
private static long |
serialVersionUID |
private int |
timeout |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
GalilDataSourceVO() |
| 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,
GalilDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
PointLocatorVO |
createPointLocator() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
ExportCodes |
getEventCodes() |
java.lang.String |
getHost() |
int |
getPort() |
int |
getRetries() |
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 |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
setRetries(int retries) |
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 static final ExportCodes EVENT_CODES
private java.lang.String host
private int port
private int timeout
private int retries
private int updatePeriodType
private int updatePeriods
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<GalilDataSourceVO>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<GalilDataSourceVO>public PointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<GalilDataSourceVO>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<GalilDataSourceVO>public DataSourceVO.Type getType()
getType in class DataSourceVO<GalilDataSourceVO>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<GalilDataSourceVO>public java.lang.String getHost()
public void setHost(java.lang.String host)
public int getPort()
public void setPort(int port)
public int getTimeout()
public void setTimeout(int timeout)
public int getRetries()
public void setRetries(int retries)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<GalilDataSourceVO>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<GalilDataSourceVO>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
GalilDataSourceVO from)
addPropertyChangesImpl in class DataSourceVO<GalilDataSourceVO>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.io.IOExceptionpublic 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<GalilDataSourceVO>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<GalilDataSourceVO>