|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.SchemaGetter
public class SchemaGetter
| Constructor Summary | |
|---|---|
SchemaGetter(AutoMedPeer peer)
|
|
| Method Summary | |
|---|---|
java.lang.String |
checkModelsExist(java.lang.String modelsToCheck)
For each model name in a name-delimited string, check if it exists in the local database. |
java.util.Map |
getModels(java.lang.String modelsStr)
For each model name that does not exist in the local database, get it from the directory |
Schema |
getSchema(Schema schema)
An overloading method for creating a new Schema object This method differs from the overloaded one getSchema(String schema)in that it takes a pre-created Schema object and use it to create the associated objects. |
Schema |
getSchema(java.lang.String schemaName)
Edited by MDLE on 19/10/2005 to adapt to a new method signature in getting the schema's root object This method creates a new Schema together with its associated objects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaGetter(AutoMedPeer peer)
| Method Detail |
|---|
public Schema getSchema(java.lang.String schemaName)
throws IllegalOperationException,
java.io.IOException,
UnsuccessfulReplyException,
FailedOperationException,
AutoMedException
Schema together with its associated objects
IllegalOperationException
java.io.IOException
UnsuccessfulReplyException
FailedOperationException
AutoMedException
public Schema getSchema(Schema schema)
throws IllegalOperationException,
java.io.IOException,
UnsuccessfulReplyException,
FailedOperationException,
AutoMedException
Schema object getSchema(String schema)Schema object and use it to create Schema might have been created with a Schema
IllegalOperationException
java.io.IOException
UnsuccessfulReplyException
FailedOperationException
AutoMedExceptionpublic java.lang.String checkModelsExist(java.lang.String modelsToCheck)
modelsToCheck - delimited string of model names to check
public java.util.Map getModels(java.lang.String modelsStr)
throws UnsuccessfulReplyException,
java.io.IOException,
AutoMedException
modelsStr - the delimited string of model names
UnsuccessfulReplyException
java.io.IOException
AutoMedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||