eu.xtreemos.xosd.reservationmanager.base
Class ReservationSlot

java.lang.Object
  extended by eu.xtreemos.xosd.reservationmanager.base.ReservationSlot
All Implemented Interfaces:
java.io.Serializable

public class ReservationSlot
extends java.lang.Object
implements java.io.Serializable

The class for storing the reserved slots.

Author:
matej.artac@xlab.si
See Also:
Serialized Form

Field Summary
 java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints
          Constraints used to create the selection.
 java.lang.String id
          The id of the slot (i.e., obtained from createReservation).
 java.util.ArrayList<TTElm> info
          Array of elements with the information about the time table elements with a given id on a location.
 CommunicationAddress location
          Location of the reservations
 java.lang.String resourceID
          The resources's metric ID (e.g.
 
Constructor Summary
ReservationSlot()
           
 
Method Summary
 java.lang.String toString()
          Converts to xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public java.lang.String id
The id of the slot (i.e., obtained from createReservation).


resourceID

public java.lang.String resourceID
The resources's metric ID (e.g. CPU0).


location

public CommunicationAddress location
Location of the reservations


info

public java.util.ArrayList<TTElm> info
Array of elements with the information about the time table elements with a given id on a location.


constraints

public java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints
Constraints used to create the selection.

Constructor Detail

ReservationSlot

public ReservationSlot()
Method Detail

toString

public java.lang.String toString()
Converts to xml.

Overrides:
toString in class java.lang.Object