org.flexiblepower.efi.unconstrained
public class UnconstrainedStateUpdate extends UnconstrainedUpdate
| Constructor and Description |
|---|
UnconstrainedStateUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
int currentRunningModeId,
java.util.Collection<TimerUpdate> timerUpdates)
Constructs a new
UnconstrainedUpdate message with the specific validFrom |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCurrentRunningModeId() |
java.util.Set<TimerUpdate> |
getTimerUpdates() |
int |
hashCode() |
protected void |
toString(java.lang.StringBuilder sb) |
getValidFromgetResourceId, getResourceMessageId, getTimestamp, toStringpublic UnconstrainedStateUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
int currentRunningModeId,
java.util.Collection<TimerUpdate> timerUpdates)
UnconstrainedUpdate message with the specific validFromresourceId - The resource identifiertimestamp - The moment when this constructor is calledvalidFrom - This timestamp indicates from which moment on this update is valid.currentRunningModeId - This is a set of zero or more current running modes. For every actuator there will be one current
running mode.timerUpdates - A set of zero or more TimerUpdate objects.public int getCurrentRunningModeId()
public java.util.Set<TimerUpdate> getTimerUpdates()
TimerUpdate objects.public int hashCode()
hashCode in class ControlSpaceUpdatepublic boolean equals(java.lang.Object obj)
equals in class ControlSpaceUpdateprotected void toString(java.lang.StringBuilder sb)
toString in class ControlSpaceUpdate