public class Reservation extends StatusMessage
Constructor and Description |
---|
Reservation() |
Reservation(java.lang.String id,
java.lang.String statusToBe,
java.lang.String status,
UtilisationResource resource,
int workload) |
Reservation(XNode node) |
Modifier and Type | Method and Description |
---|---|
void |
fromXNode(XNode node) |
java.lang.String |
getReservationID() |
long |
getReservationIDAsLong() |
UtilisationResource |
getResource() |
java.lang.String |
getStatus() |
java.lang.String |
getStatusToBe() |
int |
getWorkload() |
boolean |
hasErrors() |
boolean |
hasResource() |
boolean |
isUpdate() |
void |
setReservationID(java.lang.String id) |
void |
setResource(UtilisationResource resource) |
void |
setStatus(java.lang.String status) |
void |
setStatusToBe(java.lang.String status) |
void |
setWorkload(int workload) |
java.lang.String |
toXML() |
XNode |
toXNode() |
addAttributes, getError, getWarning, hasError, hasMessage, hasWarning, setError, setWarning, toXNode
public Reservation()
public Reservation(java.lang.String id, java.lang.String statusToBe, java.lang.String status, UtilisationResource resource, int workload)
public Reservation(XNode node)
public java.lang.String getReservationID()
public boolean isUpdate()
public void setReservationID(java.lang.String id)
public long getReservationIDAsLong()
public java.lang.String getStatusToBe()
public void setStatusToBe(java.lang.String status)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public UtilisationResource getResource()
public void setResource(UtilisationResource resource)
public boolean hasResource()
public int getWorkload()
public void setWorkload(int workload)
public boolean hasErrors()
public java.lang.String toXML()
public XNode toXNode()
public void fromXNode(XNode node)
fromXNode
in class StatusMessage
Copyright © 2004-2014 The YAWL Foundation.