public class OneWirePointLocatorVO extends AbstractPointLocatorVO implements com.serotonin.json.JsonSerializable
Modifier and Type | Class and Description |
---|---|
static interface |
OneWirePointLocatorVO.AttributeTypes |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
address
The address of the container.
|
private static ExportCodes |
ATTRIBUTE_CODES |
private int |
attributeId
The attribute within the container that we are interested in.
|
private int |
index
The index of the attribute within the container.
|
private static long |
serialVersionUID |
private static int |
version |
Constructor and Description |
---|
OneWirePointLocatorVO() |
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
|
java.lang.String |
getAddress() |
static int |
getAttributeDataType(int attributeId) |
java.lang.String |
getAttributeDescription() |
static java.lang.String |
getAttributeDescription(int attributeId) |
int |
getAttributeId() |
java.lang.String |
getAttributeIndexDescription() |
com.serotonin.web.i18n.LocalizableMessage |
getConfigurationDescription()
An arbitrary description of the point location configuration for human consumption.
|
int |
getDataTypeId()
One of the com.serotonin.mango.DataTypes
|
int |
getIndex() |
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 |
setAddress(java.lang.String address) |
void |
setAttributeId(int attributeId) |
void |
setIndex(int index) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response)
Validate.
|
private void |
writeObject(java.io.ObjectOutputStream out) |
deserializeDataType, getDataPointSaveHandler, getDataTypeMessage, getMessage, isRelinquishable, serializeDataType
private static final ExportCodes ATTRIBUTE_CODES
private java.lang.String address
private int attributeId
private int index
private static final long serialVersionUID
private static final int version
public static java.lang.String getAttributeDescription(int attributeId)
public static int getAttributeDataType(int attributeId)
public java.lang.String getAttributeDescription()
public int getDataTypeId()
PointLocatorVO
getDataTypeId
in interface PointLocatorVO
public java.lang.String getAttributeIndexDescription()
public boolean isSettable()
PointLocatorVO
isSettable
in interface PointLocatorVO
public PointLocatorRT createRuntime()
PointLocatorVO
createRuntime
in interface PointLocatorVO
public com.serotonin.web.i18n.LocalizableMessage getConfigurationDescription()
PointLocatorVO
getConfigurationDescription
in interface PointLocatorVO
public int getAttributeId()
public void setAttributeId(int attributeId)
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
public int getIndex()
public void setIndex(int index)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
PointLocatorVO
validate
in interface PointLocatorVO
public void addProperties(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addProperties
in interface ChangeComparableObject
public void addPropertyChanges(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list, java.lang.Object o)
addPropertyChanges
in interface ChangeComparableObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException
java.io.IOException
public void jsonDeserialize(com.serotonin.json.JsonReader reader, com.serotonin.json.JsonObject json) throws com.serotonin.json.JsonException
jsonDeserialize
in interface com.serotonin.json.JsonSerializable
com.serotonin.json.JsonException
public void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize
in interface com.serotonin.json.JsonSerializable