|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ace.moab.api.reservation.Reservations
public class Reservations
This class represents a collection of Reservations as defined by Moab. This groups multiple reservations into one object to allow group wide operations to be done on reservations such as adding and deleting and searching for reservations.
| Constructor Summary | |
|---|---|
Reservations()
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(Reservation o)
|
|
boolean |
addAll(java.util.Collection<? extends Reservation> c)
|
|
void |
clear()
|
|
boolean |
contains(java.lang.Object o)
|
|
boolean |
containsAll(java.util.Collection<?> c)
|
|
Reservation |
findReservation(java.lang.String name)
Attempts to find a reservation with the respective name. |
|
boolean |
isEmpty()
|
|
java.util.Iterator<Reservation> |
iterator()
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
int |
size()
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public Reservations()
| Method Detail |
|---|
public Reservation findReservation(java.lang.String name)
null, null is returned. Similarly, if the node
cannot be found, null is returned.
name - the name of the reservation to search for.
public boolean add(Reservation o)
add in interface java.util.Collection<Reservation>public boolean addAll(java.util.Collection<? extends Reservation> c)
addAll in interface java.util.Collection<Reservation>public void clear()
clear in interface java.util.Collection<Reservation>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<Reservation>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<Reservation>public boolean isEmpty()
isEmpty in interface java.util.Collection<Reservation>public java.util.Iterator<Reservation> iterator()
iterator in interface java.lang.Iterable<Reservation>iterator in interface java.util.Collection<Reservation>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<Reservation>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<Reservation>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<Reservation>public int size()
size in interface java.util.Collection<Reservation>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<Reservation>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<Reservation>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||