public abstract class AstartePropertyInterface extends AstarteInterface
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAllValues() |
java.lang.Boolean |
getPropertyValueBoolean(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
byte[] |
getPropertyValueByteArray(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
org.joda.time.DateTime |
getPropertyValueDateTime(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
java.lang.Double |
getPropertyValueDouble(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
java.lang.Integer |
getPropertyValueInt(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
java.lang.Long |
getPropertyValueLong(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
java.lang.String |
getPropertyValueString(java.lang.String path)
Returns the value mapped by
path if it exists or null if no such mapping exists. |
findMappingInInterface, fromJSON, getAstarteTransport, getInterfaceName, getMajorVersion, getMappings, getMinorVersion, isPathCompatibleWithMapping, setAstarteTransport, validatePayloadpublic java.util.Map<java.lang.String,java.lang.Object> getAllValues()
public java.lang.String getPropertyValueString(java.lang.String path)
path if it exists or null if no such mapping exists.public java.lang.Boolean getPropertyValueBoolean(java.lang.String path)
path if it exists or null if no such mapping exists.public java.lang.Integer getPropertyValueInt(java.lang.String path)
path if it exists or null if no such mapping exists.public java.lang.Long getPropertyValueLong(java.lang.String path)
path if it exists or null if no such mapping exists.public java.lang.Double getPropertyValueDouble(java.lang.String path)
path if it exists or null if no such mapping exists.public byte[] getPropertyValueByteArray(java.lang.String path)
path if it exists or null if no such mapping exists.public org.joda.time.DateTime getPropertyValueDateTime(java.lang.String path)
path if it exists or null if no such mapping exists.