|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: OCLModel
Description: Extends the Jena Model interface to provide OCL specific model functionality
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Method Summary | |
OCLConstructor |
createConstructor()
Creates a new OCL constructor |
OCLConstructor |
createDefaultConstructor()
Creates a new OCL default (no parameters) constructor |
OCLMethod |
createMethod(java.lang.String theURI)
Creates a new OCL Method with the given URI, or as a bnode if the URI is null |
OCLMethodChain |
createMethodChain(java.lang.String theURI)
Creates a new OCL MethodChain with the given URI, or as a bnode if the URI is null |
OCLObject |
createObject(java.lang.String theURI)
Creates a new OCL Object with the given URI, or as a bnode if the URI is null |
OCLParameter |
createParameter()
Create a new OCL Parameter |
OCLParameter |
createParameter(java.lang.Class theHasClass,
java.lang.String theValue)
Create a new OCL parameter with the specified type and value |
OCLStaticMethod |
createStaticMethod(java.lang.String theURI)
Creates a new OCL StaticMethod with the given URI, or as a bnode if the URI is null |
OCLCache |
getCache()
Returns the current cache for this model |
java.lang.Object |
getRegisteredValue(java.lang.String theURL)
Gets a registered object from the model given its url ID. |
boolean |
hasRegisteredValue(java.lang.String theURL)
Checks whether or not an object with the specified URL is registered with the model |
ResIterator |
listOCLMethodChains()
Lists all OCLMethodChains in the model |
ResIterator |
listOCLMethods()
Lists all OCLMethods in the model |
ResIterator |
listOCLObjects()
Lists all OCLObjects currently in the model |
ResIterator |
listOCLStaticMethods()
Lists all OCLStaticMethods in the model |
void |
register(java.lang.String theURL,
java.lang.Object theObject)
Registers an outside object with the model. |
void |
setCache(OCLCache theCache)
Sets the cache to be used by this model. |
void |
setRegistry(OCLRegistry theRegistry)
Sets the OCL registry for this model |
| Method Detail |
public ResIterator listOCLObjects()
public ResIterator listOCLMethods()
public ResIterator listOCLStaticMethods()
public ResIterator listOCLMethodChains()
public void register(java.lang.String theURL,
java.lang.Object theObject)
theURL - String the url ID of the objecttheObject - Object the object to registerpublic boolean hasRegisteredValue(java.lang.String theURL)
theURL - String the url to check
public java.lang.Object getRegisteredValue(java.lang.String theURL)
theURL - String the URL of the object to get
public void setRegistry(OCLRegistry theRegistry)
theRegistry - OCLRegistry the new OCL registrypublic void setCache(OCLCache theCache)
theCache - OCLCache the new cache to usepublic OCLCache getCache()
public OCLObject createObject(java.lang.String theURI)
theURI - String the uri of the new object, or null to create a bnode
public OCLMethod createMethod(java.lang.String theURI)
theURI - String the uri of the new method, or null to create a bnode
public OCLStaticMethod createStaticMethod(java.lang.String theURI)
theURI - String the uri of the new method, or null to create a bnode
public OCLMethodChain createMethodChain(java.lang.String theURI)
theURI - String the uri of the new method chain, or null to create a bnode
public OCLConstructor createDefaultConstructor()
public OCLConstructor createConstructor()
public OCLParameter createParameter()
public OCLParameter createParameter(java.lang.Class theHasClass,
java.lang.String theValue)
theHasClass - Class the parameter class typetheValue - String the parameter value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||