org.flexiblepower.ral.messages
public abstract class ControlSpaceUpdate extends ResourceMessage
ControlSpaceRegistration message, each of the ControlSpace categories will have its own update class or
classes that are derived from this ControlSpaceUpdate message.| Constructor and Description |
|---|
ControlSpaceUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom)
Constructs a new
ControlSpaceUpdate message with the specific validFrom |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getValidFrom() |
int |
hashCode() |
protected void |
toString(java.lang.StringBuilder sb) |
getResourceId, getResourceMessageId, getTimestamp, toStringpublic ControlSpaceUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom)
ControlSpaceUpdate 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.public java.util.Date getValidFrom()
public int hashCode()
hashCode in class ResourceMessagepublic boolean equals(java.lang.Object obj)
equals in class ResourceMessageprotected void toString(java.lang.StringBuilder sb)
toString in class ResourceMessage