public class OpenV4JPointLocatorVO extends AbstractPointLocatorVO implements com.serotonin.json.JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
private net.sf.openv4j.DataPoint |
dataPoint
The address of the device.
|
private static org.apache.commons.logging.Log |
LOG |
private static int |
serialVersion |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
OpenV4JPointLocatorVO() |
| 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) |
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.lang.String |
getDataPointName() |
int |
getDataTypeId()
One of the com.serotonin.mango.DataTypes
|
java.lang.String |
getGroupLabel() |
java.lang.String |
getGroupName() |
java.lang.String |
getLabel() |
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 |
setDataPointName(java.lang.String dataPointName) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response)
Validate.
|
private void |
writeObject(java.io.ObjectOutputStream out) |
deserializeDataType, getDataPointSaveHandler, getDataTypeMessage, getMessage, isRelinquishable, serializeDataTypeprivate static final org.apache.commons.logging.Log LOG
private net.sf.openv4j.DataPoint dataPoint
private static final long serialVersionUID
private static final int serialVersion
public int getDataTypeId()
PointLocatorVOgetDataTypeId in interface PointLocatorVOpublic com.serotonin.web.i18n.LocalizableMessage getConfigurationDescription()
PointLocatorVOgetConfigurationDescription in interface PointLocatorVOpublic boolean isSettable()
PointLocatorVOisSettable in interface PointLocatorVOpublic PointLocatorRT createRuntime()
PointLocatorVOcreateRuntime in interface PointLocatorVOpublic void validate(com.serotonin.web.dwr.DwrResponseI18n response)
PointLocatorVOvalidate in interface PointLocatorVOpublic 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 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)
jsonDeserialize in interface com.serotonin.json.JsonSerializablepublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablepublic java.lang.String getGroupName()
public java.lang.String getGroupLabel()
public java.lang.String getLabel()
public java.lang.String getDataPointName()
public void setDataPointName(java.lang.String dataPointName)
property - the dataPoint to set