public class VehicleDoorStatus extends EventedMeasurement<State<VehicleDoorStatus.DoorId>>
Modifier and Type | Class and Description |
---|---|
static class |
VehicleDoorStatus.DoorId
The DoorId is the specific door of the vehicle.
|
Measurement.Listener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
mValue
Constructor and Description |
---|
VehicleDoorStatus(State<VehicleDoorStatus.DoorId> value,
Boolean event) |
VehicleDoorStatus(java.lang.String value,
java.lang.Boolean event) |
VehicleDoorStatus(VehicleDoorStatus.DoorId value,
Boolean event) |
VehicleDoorStatus(VehicleDoorStatus.DoorId value,
java.lang.Boolean event) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getEvent() |
java.lang.String |
getGenericName() |
java.lang.Boolean |
getSerializedEvent() |
java.lang.String |
getSerializedValue()
Return the value of this measurement as a type good for serialization.
|
equals, hasEvent, toVehicleMessage
getAge, getBirthtime, getClassForId, getKeyForMeasurement, getMeasurementFromMessage, getMeasurementFromMessage, getName, getRange, getValue, hasRange, setTimestamp, toString
public static final java.lang.String ID
public VehicleDoorStatus(State<VehicleDoorStatus.DoorId> value, Boolean event)
public VehicleDoorStatus(VehicleDoorStatus.DoorId value, Boolean event)
public VehicleDoorStatus(VehicleDoorStatus.DoorId value, java.lang.Boolean event)
public VehicleDoorStatus(java.lang.String value, java.lang.Boolean event)
public Boolean getEvent()
getEvent
in class EventedMeasurement<State<VehicleDoorStatus.DoorId>>
public java.lang.Boolean getSerializedEvent()
getSerializedEvent
in class EventedMeasurement<State<VehicleDoorStatus.DoorId>>
public java.lang.String getSerializedValue()
Measurement
getSerializedValue
in interface Measurement
getSerializedValue
in class BaseMeasurement<State<VehicleDoorStatus.DoorId>>
public java.lang.String getGenericName()
getGenericName
in interface Measurement
getGenericName
in class BaseMeasurement<State<VehicleDoorStatus.DoorId>>