public class MetaPointLocatorVO extends AbstractPointLocatorVO implements com.serotonin.json.JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<com.serotonin.db.IntValuePair> |
context |
private int |
dataTypeId |
private int |
executionDelaySeconds |
private java.lang.String |
script |
private static long |
serialVersionUID |
private boolean |
settable |
static ExportCodes |
UPDATE_EVENT_CODES |
static int |
UPDATE_EVENT_CONTEXT_UPDATE |
static int |
UPDATE_EVENT_CRON |
private java.lang.String |
updateCronPattern |
private int |
updateEvent |
private static int |
version |
| Constructor and Description |
|---|
MetaPointLocatorVO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
void |
addPropertyChanges(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
java.lang.Object o) |
private java.lang.String |
contextToString() |
PointLocatorRT |
createRuntime()
Create a runtime version of the locator
|
com.serotonin.web.i18n.LocalizableMessage |
getConfigurationDescription()
An arbitrary description of the point location configuration for human consumption.
|
java.util.List<com.serotonin.db.IntValuePair> |
getContext() |
int |
getDataTypeId()
One of the com.serotonin.mango.DataTypes
|
int |
getExecutionDelaySeconds() |
java.lang.String |
getScript() |
java.lang.String |
getUpdateCronPattern() |
int |
getUpdateEvent() |
boolean |
isSettable()
Can the value be set in the data source?
|
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 |
setContext(java.util.List<com.serotonin.db.IntValuePair> context) |
void |
setDataTypeId(int dataTypeId) |
void |
setExecutionDelaySeconds(int executionDelaySeconds) |
void |
setScript(java.lang.String script) |
void |
setSettable(boolean settable) |
void |
setUpdateCronPattern(java.lang.String updateCronPattern) |
void |
setUpdateEvent(int updateEvent) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response)
Validate.
|
private boolean |
validateVarName(java.lang.String varName) |
private void |
writeObject(java.io.ObjectOutputStream out) |
deserializeDataType, getDataPointSaveHandler, getDataTypeMessage, getMessage, isRelinquishable, serializeDataTypepublic static final int UPDATE_EVENT_CONTEXT_UPDATE
public static final int UPDATE_EVENT_CRON
public static ExportCodes UPDATE_EVENT_CODES
private java.util.List<com.serotonin.db.IntValuePair> context
private java.lang.String script
private int dataTypeId
private boolean settable
private int updateEvent
private java.lang.String updateCronPattern
private int executionDelaySeconds
private static final long serialVersionUID
private static final int version
public PointLocatorRT createRuntime()
PointLocatorVOcreateRuntime in interface PointLocatorVOpublic com.serotonin.web.i18n.LocalizableMessage getConfigurationDescription()
PointLocatorVOgetConfigurationDescription in interface PointLocatorVOpublic java.util.List<com.serotonin.db.IntValuePair> getContext()
public void setContext(java.util.List<com.serotonin.db.IntValuePair> context)
public java.lang.String getScript()
public void setScript(java.lang.String script)
public int getExecutionDelaySeconds()
public void setExecutionDelaySeconds(int executionDelaySeconds)
public int getDataTypeId()
PointLocatorVOgetDataTypeId in interface PointLocatorVOpublic void setDataTypeId(int dataTypeId)
public boolean isSettable()
PointLocatorVOisSettable in interface PointLocatorVOpublic void setSettable(boolean settable)
public int getUpdateEvent()
public void setUpdateEvent(int updateEvent)
public java.lang.String getUpdateCronPattern()
public void setUpdateCronPattern(java.lang.String updateCronPattern)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
PointLocatorVOvalidate in interface PointLocatorVOprivate boolean validateVarName(java.lang.String varName)
public void addProperties(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addProperties in interface ChangeComparableObjectpublic void addPropertyChanges(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
java.lang.Object o)
addPropertyChanges in interface ChangeComparableObjectprivate java.lang.String contextToString()
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.JsonSerializablecom.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializable