eu.xtreemos.xosd.localallocmgr.frontend
Class Request
java.lang.Object
eu.xtreemos.xosd.localallocmgr.frontend.Request
- All Implemented Interfaces:
- java.io.Serializable
public class Request
- extends java.lang.Object
- implements java.io.Serializable
Request is a class that contains all modifications represented
as one issue. As such, it is a mere container of requests for
time table modifications. The container is meant to represent
an atomic request. If one fails, all must fail as well. And the
initial state of the time table must be restored.
- Author:
- uros
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
elmReqs
public java.util.ArrayList<TTElmRequest> elmReqs
Request
public Request()
add
public void add(TTElmRequest elmReq)
- Adds request to the list.
- Parameters:
elmReq
-
addReservationID
public void addReservationID(java.lang.String id)
- Adds reservation id to the reservation elements. This
is used to add the info about the id of the process and
changes.
- Parameters:
id
-
removeReservationID
public void removeReservationID(java.lang.String id)
- Removes ids from all reservation elements.
- Parameters:
id
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object