|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelSpec
A ModelSpec allows Models to be created.
| Method Summary | |
|---|---|
Model |
addDescription(Model m,
Resource self)
Add this ModelSpec's description to a given model, under the given resource |
Model |
createModel()
Answer a new Model which fits the specification of this ModelSpec. |
Model |
createModelOver(String name)
Answer a Model that fits the specification of this ModelSpec and is built over some underlying model with the given name. |
Model |
getDescription()
Answer an RDF description of this ModelSpec using the JMS vocabulary. |
Model |
getDescription(Resource root)
Answer an RDF description of this ModelSpec using the JMS vocabulary, with the given Resource as root. |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelSource |
|---|
getExistingModel, openModel |
| Method Detail |
|---|
Model createModel()
Model createModelOver(String name)
Model getDescription()
Model getDescription(Resource root)
root - the resource to be used for all the top-level properties
Model addDescription(Model m,
Resource self)
m - the model to which the description is to be addedself - the resource to which the properties are to be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||