public class OPCDataSourceVO<T extends OPCDataSourceVO<?>> extends DataSourceVO<T>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private int |
creationMode |
private java.lang.String |
domain |
private static ExportCodes |
EVENT_CODES |
private java.lang.String |
host |
private java.lang.String |
password |
private boolean |
quantize |
private static long |
serialVersionUID |
private java.lang.String |
server |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private java.lang.String |
user |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
OPCDataSourceVO() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEventTypes(java.util.List<EventTypeVO> eventTypes) |
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() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
int |
getCreationMode() |
java.lang.String |
getDomain() |
ExportCodes |
getEventCodes() |
java.lang.String |
getHost() |
java.lang.String |
getPassword() |
java.lang.String |
getServer() |
DataSourceVO.Type |
getType() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
java.lang.String |
getUser() |
boolean |
isQuantize() |
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 |
setCreationMode(int creationMode) |
void |
setDomain(java.lang.String domain) |
void |
setHost(java.lang.String host) |
void |
setPassword(java.lang.String password) |
void |
setQuantize(boolean quantize) |
void |
setServer(java.lang.String server) |
void |
setUpdatePeriods(int updatePeriods) |
void |
setUpdatePeriodType(int updatePeriodType) |
void |
setUser(java.lang.String user) |
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 int updatePeriodType
private int updatePeriods
private java.lang.String host
private java.lang.String domain
private java.lang.String user
private java.lang.String password
private java.lang.String server
private boolean quantize
private int creationMode
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> eventTypes)
addEventTypes in class DataSourceVO<T extends OPCDataSourceVO<?>>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<T extends OPCDataSourceVO<?>>public PointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<T extends OPCDataSourceVO<?>>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<T extends OPCDataSourceVO<?>>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<T extends OPCDataSourceVO<?>>public DataSourceVO.Type getType()
getType in class DataSourceVO<T extends OPCDataSourceVO<?>>public int getCreationMode()
public void setCreationMode(int creationMode)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getDomain()
public void setDomain(java.lang.String domain)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getServer()
public void setServer(java.lang.String server)
public boolean isQuantize()
public void setQuantize(boolean quantize)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<T extends OPCDataSourceVO<?>>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<T extends OPCDataSourceVO<?>>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
T from)
addPropertyChangesImpl in class DataSourceVO<T extends OPCDataSourceVO<?>>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 OPCDataSourceVO<?>>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 OPCDataSourceVO<?>>