|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(java.lang.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. |
Method Detail |
public Model createModel()
public Model createModelOver(java.lang.String name)
public Model getDescription()
public Model getDescription(Resource root)
root
- the resource to be used for all the top-level properties
public 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 |