|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
void |
addContract(Contract contract)
Add a contract to the store. |
Contract[] |
getAllContracts()
Return all contracts in the store. |
ItemId[] |
getAllIds()
One to one with getAllContracts(). |
java.lang.String[] |
getAllNames()
There are many names for each contract, this list will be larger than the number of contracts. |
Contract |
getContract(ItemId hash)
Return a contract named by hash. |
Contract[] |
getContractsByName(java.lang.String name)
Return a list of contracts answering to the given name. |
ItemId[] |
getIdsByName(java.lang.String name)
|
Contract |
getUniqueContract(java.lang.String name)
If sure of the unique name, this returns one contract. |
void |
removeContract(Contract remcontract)
Remove this contract from the store. |
| Method Detail |
public void addContract(Contract contract)
throws ContractException
public void removeContract(Contract remcontract)
public Contract getContract(ItemId hash)
public Contract[] getContractsByName(java.lang.String name)
public ItemId[] getIdsByName(java.lang.String name)
public Contract getUniqueContract(java.lang.String name)
throws ContractException
public Contract[] getAllContracts()
public ItemId[] getAllIds()
public java.lang.String[] getAllNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||