Uses of Class
tp.RID

Packages that use RID
tp CSEP545 Final Project for Java 
tp.impl Please place your own code under this package. 
 

Uses of RID in tp
 

Methods in tp that return RID
static RID RID.forCar(String loc)
          convenient method to create car resource identifier
static RID RID.forFlight(int flight)
          convenient method to create flight resource identifier
static RID RID.forFlight(String flight)
          convenient method to create flight resource identifier
static RID RID.forRoom(String loc)
          convenient method to create room resource identifier
static RID RID.parse(String s)
          parse external string representation
 

Methods in tp with parameters of type RID
 boolean RM.add(Transaction xid, RID resource, int qty, int price)
          add qty items described by resource.
 int RID.compareTo(RID o)
           
 boolean RM.delete(Transaction xid, RID resource)
          Drop resource from this RM.
 boolean RM.delete(Transaction xid, RID resource, int qty)
          Remove exactly qty unreserved resource from this RM.
 int RM.query(Transaction xid, RID resource)
          query: equivalent to queryCars, queryFlights, queryRooms
 int RM.queryPrice(Transaction xid, RID resource)
          query: equivalent to queryCarsPrice, queryFlightsPrice, queryRoomsPrice
 boolean RM.reserve(Transaction context, Customer customer, RID resource)
          reserve a resource i on behalf of customer c
 

Uses of RID in tp.impl
 

Methods in tp.impl with parameters of type RID
 boolean MyRM.add(Transaction xid, RID i, int count, int price)
           
 boolean MyRM.delete(Transaction xid, RID rid)
           
 boolean MyRM.delete(Transaction xid, RID i, int count)
           
 int MyRM.query(Transaction xid, RID rid)
           
 int MyRM.queryPrice(Transaction xid, RID i)
           
 boolean MyRM.reserve(Transaction context, Customer c, RID i)