|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of object contained within this Bankpublic interface Bank<T extends NesstarBankObject>
A repository containing all objects of a particular type hosted by a particular Nesstar server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Method Summary | |
|---|---|
NesstarList<T> |
getAll()
Gets all objects in this Bank. |
Server |
getServer()
Gets the server to which this Bank belongs. |
Class<T> |
getType()
Gets the type of object in this bank. |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
Class<T> getType()
Server getServer()
NesstarList<T> getAll()
throws NotAuthorizedException,
IOException
Map.values() specified by Map is limited by the fact that it
may not throw checked exceptions, and there for has no alternative to returning null in case of an abnormal condition.
NesstarList containing all objects in this Bank
NotAuthorizedException - If access was denied by the Nesstar server
IOException - If there was an error while communicating with the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||