|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.grc.acuity.AcuityController
The AcuityController class provides a Work Centered Support perspective and interface to a set of OWL ontologies for a Work Centered application. It is designed to support a decision logics (DL) ontology with potentially separated terminalogical (tbox) and instance (abox) parts. The instance data, if stored locally, can be updated with added instances by saving. If a database backend is used, the instance data is automatically stored to the database. The class is intended to be extended for specific applications as needed.
| Field Summary | |
static java.lang.String |
applicationSettingsProperties
|
com.hp.hpl.jena.ontology.OntProperty |
appliesToProperty
|
static java.lang.String |
APVF_ACTIONONPERSISTENTOBJECT
|
static java.lang.String |
APVF_ACUITYAVERAGEDEFAULT
|
static java.lang.String |
APVF_ACUITYCONTROLLER
|
static java.lang.String |
APVF_ACUITYCONTROLLERACTION
|
static java.lang.String |
APVF_ACUITYMOSTFREQUENTDEFAULT
|
static java.lang.String |
APVF_ADDCURRENTVALUETOLIST
|
static java.lang.String |
APVF_ALWAYSREFRESHCONTENT
|
static java.lang.String |
APVF_APPLIESTOPROPERTY
|
static java.lang.String |
APVF_ASKUSERBOOLEAN
|
static java.lang.String |
APVF_ASKUSERDATETIME
|
static java.lang.String |
APVF_ASKUSERFLOAT
|
static java.lang.String |
APVF_ASKUSERINT
|
static java.lang.String |
APVF_ASKUSERPROPERTIES
|
static java.lang.String |
APVF_ASKUSERPROPERTIESINCLUDECREATENEW
|
static java.lang.String |
APVF_ASKUSERSTRING
|
static java.lang.String |
APVF_AUTOINSTANTIATEPROPERTIES
|
static java.lang.String |
APVF_BLUEVAL
|
static java.lang.String |
APVF_BOOLEANDEFAULT
|
static java.lang.String |
APVF_BOOLEANVALUEOBJECT
|
static java.lang.String |
APVF_BUILTINANCHOR
|
static java.lang.String |
APVF_COLOR
|
static java.lang.String |
APVF_COLUMNIDENTIFIER
|
static java.lang.String |
APVF_COLUMNORDERDATASERIESMAP
|
static java.lang.String |
APVF_COMPOSITEPARAMETERDEFAULT
|
static java.lang.String |
APVF_CONTAINSPRESENTATIONOBJECT
|
static java.lang.String |
APVF_CONTENTDEPENDSON
|
static java.lang.String |
APVF_CONTEXTPREDICATE
|
static java.lang.String |
APVF_CONTEXTSUBJECTCLASS
|
static java.lang.String |
APVF_COPYVALUEONROWDUPLICATION
|
static java.lang.String |
APVF_CREATEDBY
|
static java.lang.String |
APVF_CREATEDTOMEETRESTRICTION
|
static java.lang.String |
APVF_CREATEINDIVIDUALOFRANGECLASS
|
static java.lang.String |
APVF_CREATIONDATETIME
|
static java.lang.String |
APVF_DATASERIES
|
static java.lang.String |
APVF_DATASETDEFINEDBY
|
static java.lang.String |
APVF_DATATABLECOLUMNINFO
|
static java.lang.String |
APVF_DATATABLEMAP
|
static java.lang.String |
APVF_DATETIMEVALUEOBJECT
|
static java.lang.String |
APVF_DBCLASSFIELD
|
static java.lang.String |
APVF_DBCLASSID
|
static java.lang.String |
APVF_DBCONNECTIONSTRING
|
static java.lang.String |
APVF_DBDRIVERSTRING
|
static java.lang.String |
APVF_DBINSTANCEFIELD
|
static java.lang.String |
APVF_DBINSTANCELABELFIELD
|
static java.lang.String |
APVF_DBLOGINSTRING
|
static java.lang.String |
APVF_DBOBJFIELDNAME
|
static java.lang.String |
APVF_DBPASSWORDSTRING
|
static java.lang.String |
APVF_DBPREDURI
|
static java.lang.String |
APVF_DBSQLSTRING
|
static java.lang.String |
APVF_DBSUBJFIELDNAME
|
static java.lang.String |
APVF_DBTABLE
|
static java.lang.String |
APVF_DEFAULTOUTPUTINDEX
|
static java.lang.String |
APVF_DEFAULTROWSETFIELDIDENTIFIER
|
static java.lang.String |
APVF_DEFAULTVALUE
|
static java.lang.String |
APVF_DISCRETEPROCESS
|
static java.lang.String |
APVF_DISPLAYOBJECT
|
static java.lang.String |
APVF_DISPLAYORDER
|
static java.lang.String |
APVF_DOCUMENTOBJECT
|
static java.lang.String |
APVF_ENCODES
|
static java.lang.String |
APVF_EVENT
|
static java.lang.String |
APVF_EVENTEXPRESSION
|
static java.lang.String |
APVF_FLOATDEFAULT
|
static java.lang.String |
APVF_FLOATVALUEOBJECT
|
static java.lang.String |
APVF_FRAME
|
static java.lang.String |
APVF_GRAPHOBJECT
|
static java.lang.String |
APVF_GREENVAL
|
static java.lang.String |
APVF_HASACTION
|
static java.lang.String |
APVF_HASACTIVEPROCESS
|
static java.lang.String |
APVF_HASACTIVESTEP
|
static java.lang.String |
APVF_HASARGUMENTS
|
static java.lang.String |
APVF_HASASKUSERRDQLVALUEFILTER
|
static java.lang.String |
APVF_HASBOOLEANDEFAULT
|
static java.lang.String |
APVF_HASBOOLEANVALUE
|
static java.lang.String |
APVF_HASCLIENTSIDEEFFECT
|
static java.lang.String |
APVF_HASCOLOR
|
static java.lang.String |
APVF_HASCOLUMN
|
static java.lang.String |
APVF_HASCOLUMNSMANAGER
|
static java.lang.String |
APVF_HASCONTENTUPDATER
|
static java.lang.String |
APVF_HASDATETIMEVALUE
|
static java.lang.String |
APVF_HASDBCONNECTION
|
static java.lang.String |
APVF_HASDBINSTANCESDESCRIPTOR
|
static java.lang.String |
APVF_HASDBSTATEMENTSDESCRIPTOR
|
static java.lang.String |
APVF_HASEFFECT
|
static java.lang.String |
APVF_HASFIRSTSTEP
|
static java.lang.String |
APVF_HASFLOATDEFAULT
|
static java.lang.String |
APVF_HASFLOATVALUE
|
static java.lang.String |
APVF_HASFOCUSVANTAGE
|
static java.lang.String |
APVF_HASFRAME
|
static java.lang.String |
APVF_HASHELPKEYWORD
|
static java.lang.String |
APVF_HASIMPLEMENTATIONCLASS
|
static java.lang.String |
APVF_HASIMPLEMENTATIONMETHOD
|
static java.lang.String |
APVF_HASIMPLEMENTATIONPACKAGE
|
static java.lang.String |
APVF_HASINSTANCECREATIONACTION
|
static java.lang.String |
APVF_HASINTDEFAULT
|
static java.lang.String |
APVF_HASINTEGERVALUE
|
static java.lang.String |
APVF_HASINTERACTIONOBJECT
|
static java.lang.String |
APVF_HASMAPPINGFUNCTION
|
static java.lang.String |
APVF_HASMISSINGOBJECTPROPERTYACTION
|
static java.lang.String |
APVF_HASNEXTSTEP
|
static java.lang.String |
APVF_HASOBJECTDEFAULT
|
static java.lang.String |
APVF_HASOBJECTOFCLASSDEFAULTS
|
static java.lang.String |
APVF_HASONDEMANDACTION
|
static java.lang.String |
APVF_HASONTQUERYANALYZER
|
static java.lang.String |
APVF_HASORPHAN
|
static java.lang.String |
APVF_HASPOSITION
|
static java.lang.String |
APVF_HASPOSSIBLEANSWERGENERATOR
|
static java.lang.String |
APVF_HASPRESENTATIONNATURE
|
static java.lang.String |
APVF_HASPRESENTATIONPARAMETERBOOLEAN
|
static java.lang.String |
APVF_HASPRESENTATIONPARAMETERFLOAT
|
static java.lang.String |
APVF_HASPRESENTATIONPARAMETERINTEGER
|
static java.lang.String |
APVF_HASPRESENTATIONPARAMETEROBJECT
|
static java.lang.String |
APVF_HASPRESENTATIONPARAMETERSTRING
|
static java.lang.String |
APVF_HASPROCESSOR
|
static java.lang.String |
APVF_HASRENDERER
|
static java.lang.String |
APVF_HASROWSETMAXROWS
|
static java.lang.String |
APVF_HASSHAREDPARAMETER
|
static java.lang.String |
APVF_HASSHAREDPARAMETERNAME
|
static java.lang.String |
APVF_HASSTATEMENT
|
static java.lang.String |
APVF_HASSTRINGDEFAULT
|
static java.lang.String |
APVF_HASSTRINGVALUE
|
static java.lang.String |
APVF_HASURL
|
static java.lang.String |
APVF_HASUSER
|
static java.lang.String |
APVF_HASVALUE
|
static java.lang.String |
APVF_HASVALUELIST
|
static java.lang.String |
APVF_HASVANTAGE
|
static java.lang.String |
APVF_HASXRDQLSTATEMENT
|
static java.lang.String |
APVF_HIDDENOBJECT
|
static java.lang.String |
APVF_INCLUDEACUITYCONTROLLERASARGUMENT
|
static java.lang.String |
APVF_INCLUDEASMISSINGPROPERTYOPTION
|
static java.lang.String |
APVF_INSTANCECREATIONACTION
|
static java.lang.String |
APVF_INTEGERDEFAULT
|
static java.lang.String |
APVF_INTEGERVALUEOBJECT
|
static java.lang.String |
APVF_INTERACTIONOBJECT
|
static java.lang.String |
APVF_ISCLONEOF
|
static java.lang.String |
APVF_ISDERIVEDFROM
|
static java.lang.String |
APVF_ISDISPLAYED
|
static java.lang.String |
APVF_ISEDITABLE
|
static java.lang.String |
APVF_ISENABLED
|
static java.lang.String |
APVF_ISREFINEDBY
|
static java.lang.String |
APVF_ISTRANSFORMEDBY
|
static java.lang.String |
APVF_MAPPEDDATATABLE
|
static java.lang.String |
APVF_MINIMUMSAMPLESIZE
|
static java.lang.String |
APVF_NEWOBJECTCLASS
|
static java.lang.String |
APVF_NONCOMPOSITEPARAMETEROBJECTVALUES
|
static java.lang.String |
APVF_NS
|
static java.lang.String |
APVF_OBJECTDEFAULT
|
static java.lang.String |
APVF_OBJECTOFCLASSDEFAULT
|
static java.lang.String |
APVF_ONDEMANDACTION
|
static java.lang.String |
APVF_ORIGINALNAME
|
static java.lang.String |
APVF_OUTPUTIDENTIFIER
|
static java.lang.String |
APVF_PERSISTENTJAVAOBJECT
|
static java.lang.String |
APVF_POSITION
|
static java.lang.String |
APVF_PRESENTATIONOBJECT
|
static java.lang.String |
APVF_PROCESSASSINGLEEVENT
|
static java.lang.String |
APVF_PROCESSUNMODIFIEDDATA
|
static java.lang.String |
APVF_PROCESSWITHOLDVALUES
|
static java.lang.String |
APVF_PROMPT
|
static java.lang.String |
APVF_RDQLQUERYSTRING
|
static java.lang.String |
APVF_REDVAL
|
static java.lang.String |
APVF_REFINEDWDIO
|
static java.lang.String |
APVF_RENDERLAST
|
static java.lang.String |
APVF_RETURNONFAILURE
|
static java.lang.String |
APVF_ROWIDENTIFIER
|
static java.lang.String |
APVF_ROWORDERDATASERIESMAP
|
static java.lang.String |
APVF_ROWSETCOLUMN
|
static java.lang.String |
APVF_ROWSETINDEXEDSELECTOR
|
static java.lang.String |
APVF_ROWSPANGROUPINGROWSETCOLUMN
|
static java.lang.String |
APVF_SAMEVALUEASPROPERTY
|
static java.lang.String |
APVF_SCRIPTURI
|
static java.lang.String |
APVF_SELECTIONLISTPRESENTATION
|
static java.lang.String |
APVF_SERIESDELIMITERCOLUMN
|
static java.lang.String |
APVF_SERVERSIDESCRIPT
|
static java.lang.String |
APVF_SHAREDCOMPOSITEPARAMETERSET
|
static java.lang.String |
APVF_SIMPLEDATATABLE
|
static java.lang.String |
APVF_SIMPLEVALUEOBJECT
|
static java.lang.String |
APVF_SINGLEVALUE
|
static java.lang.String |
APVF_SORTPRIORITY
|
static java.lang.String |
APVF_SPANROWONSEQUENTIALDUPLICATEVALUES
|
static java.lang.String |
APVF_SQLSTATEMENT
|
static java.lang.String |
APVF_STOREDPROCEDURE
|
static java.lang.String |
APVF_STOREDPROCEDUREOUTPUTSELECTOR
|
static java.lang.String |
APVF_STOREDPROCEDURESIGNATURE
|
static java.lang.String |
APVF_STRINGDEFAULT
|
static java.lang.String |
APVF_STRINGVALUEOBJECT
|
static java.lang.String |
APVF_TABLECELLINTERACTIONOPTIONS
|
static java.lang.String |
APVF_THRESHOLDFREQUENCY
|
static java.lang.String |
APVF_TITLE
|
static java.lang.String |
APVF_TOOLTIP
|
static java.lang.String |
APVF_TRIGGEREVENT
|
static java.lang.String |
APVF_USERPREFERENCE
|
static java.lang.String |
APVF_USESPERSISTENTJAVAOBJECT
|
static java.lang.String |
APVF_USESPRESENTATIONOBJECT
|
static java.lang.String |
APVF_VALIDATECONTENT
|
static java.lang.String |
APVF_VALIDATECONTENT_LOCALNAME
|
static java.lang.String |
APVF_VALUECALCULATEDBY
|
static java.lang.String |
APVF_VALUELIST
|
static java.lang.String |
APVF_VALUENAME
|
static java.lang.String |
APVF_VANTAGE
|
static java.lang.String |
APVF_XMAXCOLUMN
|
static java.lang.String |
APVF_XMINCOLUMN
|
static java.lang.String |
APVF_XRDQLSTATEMENT
|
static java.lang.String |
APVF_YMAXCOLUMN
|
static java.lang.String |
APVF_YMINCOLUMN
|
static java.lang.String |
AULO_HASMEMBER
|
static java.lang.String |
AULO_PERSON
|
com.hp.hpl.jena.ontology.OntProperty |
contPresObjProperty
|
static java.lang.String |
DATAMODIFIED_INSERT
|
static java.lang.String |
DATAMODIFIED_MAPKEY
|
static java.lang.String |
DATAMODIFIED_MODIFIED
|
static java.lang.String |
DATAMODIFIED_NOCHANGE
|
static int |
DEP_BUILTIN_ANCHOR
|
static int |
DEP_GROUPINPUT_VALUE
|
static int |
DEP_SPARQL_QUERY
|
static int |
DEP_USER_ANSWER
|
static int |
DEP_XRDQL_QUERY
|
com.hp.hpl.jena.ontology.OntProperty |
hasActProcProperty
|
com.hp.hpl.jena.ontology.OntProperty |
hasActStepProperty
|
com.hp.hpl.jena.ontology.OntProperty |
hasFirstStepProperty
|
com.hp.hpl.jena.ontology.OntProperty |
hasNextStepProperty
|
com.hp.hpl.jena.ontology.OntProperty |
hasVantageProperty
|
static java.lang.String |
MULTIPLE_SELECTIONS_ANSWER_RDFNODES
|
static java.lang.String |
MULTIPLE_SELECTIONS_ANSWER_URIS
|
static java.lang.String |
ORIGINAL_DATAROW_INDEX
|
static java.lang.String |
OWL_DATATYPEPROPERTY
|
static java.lang.String |
OWL_OBJECTPROPERTY
|
static java.lang.String |
RDF_TYPE
|
static java.lang.String |
RDFS_LABEL
|
static java.lang.String |
RDFS_SUBCLASSOF
|
static java.lang.String |
RDFS_SUBPROPERTYOF
|
com.hp.hpl.jena.rdf.model.Property |
rdfType
|
com.hp.hpl.jena.ontology.OntProperty |
usesPresObjProperty
|
static java.lang.String |
XMLSCHEMA_BOOLEAN
|
static java.lang.String |
XMLSCHEMA_DATETIME
|
static java.lang.String |
XMLSCHEMA_FLOAT
|
static java.lang.String |
XMLSCHEMA_INT
|
static java.lang.String |
XMLSCHEMA_STRING
|
static java.lang.String |
XSD_BOOLEAN
|
static java.lang.String |
XSD_DATE_TIME
|
static java.lang.String |
XSD_DOUBLE
|
static java.lang.String |
XSD_FLOAT
|
static java.lang.String |
XSD_INT
|
static java.lang.String |
XSD_STRING
|
| Constructor Summary | |
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI)
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
int traceLevel)
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
A constructor for the non-database ontology AcuityController to be used when no local instance data is to be stored. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
A constructor for the non-database ontology AcuityController to be used when no local instance data is to be stored. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
int traceLevel)
A constructor for the non-database ontology AcuityController which provides the default Reasoner choice: OWL_MEM_TRANS_INF, a transitive inferencer. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
Main constructor for the non-database ontology AcuityController. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
Main constructor for the non-database ontology AcuityController. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd)
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store. |
|
AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
A constructor for the non-database ontology AcuityController which provides the default Reasoner choice: OWL_MEM_TRANS_INF, a transitive inferencer. |
|
AcuityController(java.lang.String kbPublicURI,
java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
Main constructor for the AcuityController class. |
|
| Method Summary | |
com.hp.hpl.jena.ontology.Individual |
addCompositeParameter(com.hp.hpl.jena.ontology.Individual pO,
java.lang.String paramName,
java.util.Map values)
Call this method to create a composite Parameter. |
com.hp.hpl.jena.ontology.Individual |
addCompositeParameter(java.lang.String pOURI,
java.lang.String paramName,
java.util.Map values)
Call this method to create a composite Parameter. |
void |
addContentDependency(int depType,
java.lang.Object depX,
java.lang.Object depY)
Call this method to add a dependency to the current dependency cache. |
void |
addDefaultInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
|
void |
addDomainAndRangeToDatatypeProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.lang.String rangeURI)
Call this method to add a Domain and a Range to a DataTypeProperty. |
void |
addDomainAndRangeToDatatypePropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.lang.String rangeURI)
Call this method to add a Domain and a Range to a DataTypeProperty. |
void |
addDomainAndRangeToObjectProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
Call this method to add a Domain and a Range to a ObjectProperty. |
void |
addDomainAndRangeToObjectPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
Call this method to add a Domain and a Range to a ObjectProperty. |
void |
addDomainToProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList)
Call this method to add a List of OntClasses to the domain of the given Property |
void |
addDomainToPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList)
Call this method to add a List of OntClasses to the domain of the given Property |
void |
addPossibleAnswerURIs(InteractionContent content)
Call this method to add the list of URIs of possible answers and actions to the input InteractionContent |
boolean |
addSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
com.hp.hpl.jena.ontology.Individual newMember)
Call this method to add another member to a SharedCompositeParameterSet. |
boolean |
addSharedCompositeParameterSetMember(java.lang.String setUri,
java.lang.String memberUri)
Call this method to add another member to a SharedCompositeParameterSet. |
com.hp.hpl.jena.rdf.model.Statement |
addStatement(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
addStatement(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o,
boolean bRememberStmt)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
addStatement(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
addStatement(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName,
boolean bRememberStmt)
Method to assert new information (a new Statement) in the ontology model. |
java.lang.Object |
advanceProcessToNextStep(com.hp.hpl.jena.ontology.Individual ap,
com.hp.hpl.jena.ontology.Individual as)
Call this method to advance the given Individual of type DiscreteProcess to the next step. |
java.lang.Object |
applyFilters(java.lang.Object data,
java.util.List filters)
|
com.hp.hpl.jena.rdf.model.StmtIterator |
ask(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
Method to ask a question specified by partial designation of a Statement (triple). |
com.hp.hpl.jena.rdf.model.StmtIterator |
ask(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
Method to ask a question specified by partial designation of a Statement (triple). |
java.util.List |
askFiltered(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
Method to ask a question specified by partial designation of a Statement (triple). |
protected void |
assignControllerModel(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
Call to assign the controller model, either during initialization (from constructor) or on change. |
java.util.List |
cachedRowSetToPossibleAnswerList(sun.jdbc.rowset.CachedRowSet crs)
Call this method to convert a CachedRowSet into a List of possible answer pairs for an apvf:SelectionListPresentation. |
void |
cacheExternalData(com.hp.hpl.jena.rdf.model.RDFNode ds,
java.lang.String query,
java.lang.Object data)
|
java.lang.String |
canClone(PresentationParameterMap ppm,
java.lang.String propLocalName,
com.hp.hpl.jena.rdf.model.RDFNode oldObj)
Call this method to see if a RDFNode (Individual or Literal) can be cloned. |
boolean |
canRemoveObjectPropertyStatement(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectURI)
/** Call this method to see if the Statement identified by the arguments (triple) can be removed without violating cardinality and SomeValuesFrom restrictions. |
boolean |
canRemoveStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
Call this method to see if the Statement identified by the arguments (triple) can be removed without violating cardinality and SomeValuesFrom restrictions. |
java.lang.String |
canReplacePOWithClone(com.hp.hpl.jena.ontology.Individual inst)
Call this method to determine if the specified Individual of type PresentationObject can be replaced with a clone |
boolean |
capturingContentDependencies()
|
static int |
cardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
|
static int |
cardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop,
boolean bDirectOnly)
Call this method to find the cardinality of a CardinalityRestriction on an OntProperty of the given OntClass. |
static int |
cardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
|
com.hp.hpl.jena.ontology.OntModel |
changeModels(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String abNS,
java.lang.String pfUri)
|
com.hp.hpl.jena.ontology.OntModel |
changeModels(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
Call this method to change the active Jena Ontology model used by the controller. |
protected boolean |
checkInstanceForLegacyDataContent(java.util.ArrayList individuals,
com.hp.hpl.jena.ontology.Individual inst)
Method to check if a specified Individual is a pseudo-instance representing a set of instances in a legacy relational database. |
protected java.lang.String |
checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m)
Method to check the OWL language of the specified model. |
protected java.lang.String |
checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m,
boolean ignoreRDFLists)
|
com.hp.hpl.jena.rdf.model.Literal |
checkLiteralForAnchors(com.hp.hpl.jena.rdf.model.Literal l)
|
java.lang.String |
checkModelLanguage()
Method to check and return the OWL language implied by the loaded ontology (model). |
java.lang.String |
checkModelLanguage(boolean bIgnoreRDFLists)
Method to check and return the OWL language implied by the loaded ontology (model). |
void |
cleanFunctionalPropertyOldValue(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate)
|
void |
clearInteractionContentCache()
Call this method to clear all cached InteractionContent instances. |
java.lang.Object |
clearPropertyValue(com.hp.hpl.jena.ontology.Individual script,
com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred)
Call this method to clear a property value. |
com.hp.hpl.jena.ontology.Individual |
cloneIndividual(com.hp.hpl.jena.ontology.Individual objToClone,
java.lang.String comment,
boolean bAddUniqueLabel)
Call this method to clone the specified individual, using the provided information. |
com.hp.hpl.jena.rdf.model.Statement |
cloneObjectOfTriple(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode objectToClone)
Call this method to clone the object of the specified subject and predicate, replacing the |
com.hp.hpl.jena.rdf.model.Statement |
cloneObjectOfTriple(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectToCloneURI)
Call this method to clone the object of the specified subject and predicate, replacing the |
void |
close()
Call this method to clean up instance data which should not be saved. |
void |
closeConnection(java.sql.Connection conn,
java.lang.String[] connInfo)
Method to close a remote database connection. |
static java.lang.Object |
combineData(java.lang.Object existingData,
java.lang.Object newData)
|
boolean |
confirm(java.lang.Object subject,
java.lang.Object predicate,
java.lang.Object object)
Method to confirm that a Statement (triple) is true. |
boolean |
confirmStatementWithObjectClass(com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred,
com.hp.hpl.jena.rdf.model.Resource rngClass)
Call this method to confirm that there is a Statement in the knowledge base with the given subject and predicate and whose object is from the specified range Class. |
boolean |
convertModelToDatabaseModel(java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName,
java.lang.String tBoxPublicURI,
java.lang.String aBoxPublicURI)
Method to convert a file-based ontology model to a database-based model. |
java.lang.Object |
convertObjectToValueOrValuesList(java.lang.Object dataObject)
|
java.util.List |
convertUnionToList(com.hp.hpl.jena.ontology.OntClass unionClass)
|
com.hp.hpl.jena.ontology.AllValuesFromRestriction |
createAllValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
Call this method to create a new SomeValuesFromRestriction in the model. |
com.hp.hpl.jena.ontology.AllValuesFromRestriction |
createAllValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
Call this method to create a new SomeValuesFromRestriction in the model. |
com.hp.hpl.jena.ontology.CardinalityRestriction |
createCardinalityRestrictionInSubmodel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
|
com.hp.hpl.jena.ontology.OntClass |
createClass(java.lang.String clsURI)
Call this method to create an OntClass in the model; if the OntClass already exists it will be returned. |
com.hp.hpl.jena.ontology.OntClass |
createClassInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String clsName)
|
com.hp.hpl.jena.ontology.DatatypeProperty |
createDatatypeProperty(java.lang.String ontPropUri)
Call this method to create a new DatatypeProperty in the model. |
com.hp.hpl.jena.ontology.DatatypeProperty |
createDatatypePropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String ontPropName)
Call this method to create a new DatatypeProperty in the model. |
com.hp.hpl.jena.ontology.OntProperty |
createDatatypePropertyWithDomainAndRangeInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.lang.String range)
Call this method to create an DatatypeProperty with the specified attributes. |
void |
createDefaultValueOnClass(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
Call this method to add a DefaultValue as a seeAlso annotation property of a class |
com.hp.hpl.jena.ontology.HasValueRestriction |
createHasValueRestrction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
Call this method to create a new HasValueRestriction in the model. |
com.hp.hpl.jena.ontology.HasValueRestriction |
createHasValueRestrctionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
Call this method to create a new HasValueRestriction in the model. |
com.hp.hpl.jena.ontology.Individual |
createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance)
Call this method to create a new Individual using the provided information. |
com.hp.hpl.jena.ontology.Individual |
createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
Call this method to create a new Individual using the provided information. |
com.hp.hpl.jena.ontology.Individual |
createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment,
com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred)
|
com.hp.hpl.jena.ontology.Individual |
createIndividual(java.lang.String className,
java.lang.String instName)
Method to create a new Individual in the ontology instances (aBox) of the given Class |
com.hp.hpl.jena.ontology.Individual |
createIndividual(java.lang.String className,
java.lang.String instName,
boolean bRememberInstance)
Method to create a new Individual in the ontology instances (aBox) of the given Class |
com.hp.hpl.jena.ontology.Individual |
createIndividual(java.lang.String className,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
Method to create a new Individual in the ontology instances (aBox) of the given Class |
com.hp.hpl.jena.ontology.Individual |
createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance)
Call this method to create a new Individual using the provided information. |
com.hp.hpl.jena.ontology.Individual |
createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String className,
java.lang.String instName,
boolean bRememberInstance)
Method to create a new Individual in the ontology instances (aBox) of the given Class |
com.hp.hpl.jena.ontology.Individual |
createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String className,
java.lang.String instName)
Method to create a new Individual in the ontology instances (aBox) of the given Class |
com.hp.hpl.jena.ontology.Individual |
createIndividualWithoutActionsOrDefaults(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
Call this method to create an Individual but without any consequent actions or setting of defaults. |
com.hp.hpl.jena.ontology.ObjectProperty |
createObjectProperty(java.lang.String ontPropUri)
Call this method to create a new ObjectProperty in the model. |
com.hp.hpl.jena.ontology.ObjectProperty |
createObjectPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String ontPropName)
Call this method to create a new ObjectProperty in the model. |
com.hp.hpl.jena.ontology.OntProperty |
createObjectPropertyWithDomainAndRange(java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
Call this method to create an ObjectProperty with the specified attributes. |
com.hp.hpl.jena.ontology.OntProperty |
createObjectPropertyWithDomainAndRangeInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
Call this method to create an ObjectProperty with the specified attributes. |
com.hp.hpl.jena.ontology.OntProperty |
createOntProperty(java.lang.String ontPropUri)
Call this method to create a new OntProperty in the model. |
com.hp.hpl.jena.rdf.model.Property |
createProperty(java.lang.String propURI)
Method to create a new Property in the ontology |
com.hp.hpl.jena.rdf.model.RDFList |
createRDFList(com.hp.hpl.jena.rdf.model.RDFNode[] members)
Call this method to create a new RDFList from the argument nodes |
com.hp.hpl.jena.rdf.model.Resource |
createResource(java.lang.String resourceURI)
Method to create a new Resource in the ontology |
com.hp.hpl.jena.ontology.Individual |
createSharedCompositeParameterSet(java.lang.String setLocalName,
java.lang.String sharedParameterPropertyName,
java.util.List members)
Call this method to create a new SharedCompositeParameterSet--a Set whose members share a common Parameter. |
com.hp.hpl.jena.ontology.SomeValuesFromRestriction |
createSomeValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
Call this method to create a new SomeValuesFromRestriction in the model. |
com.hp.hpl.jena.ontology.SomeValuesFromRestriction |
createSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass subj,
com.hp.hpl.jena.ontology.OntProperty pred,
com.hp.hpl.jena.ontology.OntClass valuesFromClass)
|
com.hp.hpl.jena.ontology.Individual |
createTimeNamedIndividual(com.hp.hpl.jena.ontology.OntClass cls,
boolean bRemember)
Call this method to create a new Individual of the given Class with a name based on the Class and the current time. |
void |
displayClassHierarchy(java.io.PrintStream out)
Method to display the Class hierarchy of the current ontology model. |
void |
displayClassHierarchy(java.io.PrintStream out,
boolean bShowIndividuals)
Method to display the Class hierarchy of the loaded ontology. |
void |
displayDeductions()
Call this method with traceLevel (to constructor) at least 1 (INFO) to display all deductions made from the base model. |
void |
dissolveSharedCompositeParameterSet(com.hp.hpl.jena.ontology.Individual set)
Call this method to dissolve a SharedCompositeParameterSet, giving to each member its own independent clones of shared Parameters that are in the instance namespace. |
void |
dissolveSharedCompositeParameterSet(java.lang.String setUri)
Call this method to dissolve a SharedCompositeParameterSet, giving to each member its own independent clones of shared Parameters that are in the instance namespace. |
boolean |
endExternalDataCaching()
Call this method to end caching of external data, e.g., results of SQL queries. |
java.sql.Connection |
establishConnection(java.lang.String[] connInfo)
Establish a connection to the database. |
protected void |
finalize()
Method to cleanup when this instance of an AcuityController is garbage collected. |
InteractionContent |
findInteractionContentOfIaO(java.lang.String interactionObjectURI)
Call this method to get the existing InteractionContent associated with a displayed InteractionObject. |
InteractionObject |
findInteractionObjectOfMissingProperty(com.hp.hpl.jena.ontology.Individual iaO)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty. |
InteractionObject |
findInteractionObjectOfMissingProperty(InteractionContent ic)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty. |
InteractionObject |
findInteractionObjectOfMissingProperty(MissingProperty mp)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty. |
InteractionObject |
findInteractionObjectOfMissingProperty(java.lang.String iaoUri)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty. |
void |
formatDataTableList(java.io.PrintStream out,
java.lang.Object result,
java.lang.String descriptor)
Call this method to output the content of a data table represented as a List[2] |
java.lang.Object |
formatDependencyValues(java.lang.Object values)
|
java.util.List |
generateListOfPossibleAnswers(com.hp.hpl.jena.rdf.model.Resource rangeClass)
Call this method, passing it the Class which is the range, to generate a list of Individuals whose type is the input Class, filtered if a filter is associated with the class, or which are APVF_ONDEMANDACTION instances identified with the Class. |
java.util.List |
getActionableRestrictionsOfClass(com.hp.hpl.jena.ontology.OntClass subjClass,
com.hp.hpl.jena.ontology.OntProperty prop)
|
java.util.List |
getActionableRestrictionsOfIndividual(com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to get a List of actionable Restrictions (SomeValuesFrom, Cardinality, MinCardinality) for the given Inidividual's classes and superclasses for the given OntProperty. |
com.hp.hpl.jena.ontology.Individual |
getAcuityControllerInstance()
Method which returns the Jena Individual in the ontology which is this controller. |
java.util.List[] |
getAllDefaultsOfInstanceWithSameContext(java.lang.String defaultsNamespace,
com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.Individual ctxSubj,
com.hp.hpl.jena.ontology.OntProperty ctxPred,
boolean bDirectOnly)
|
java.util.List |
getAllValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
Call this method to get all of the OntClasses that are part of the range of an AllValuesFrom restriction. |
static com.hp.hpl.jena.ontology.OntClass |
getAllValuesFromRestrictionClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to find the OntClass of an AllValuesFromRestriction on an OntProperty of the given OntClass. |
protected java.lang.Object |
getAnchorReplacement(java.lang.String term,
boolean localNameOnly)
|
protected java.lang.String |
getAnchorReplacementAsString(java.lang.String term,
boolean localNameOnly)
|
com.hp.hpl.jena.rdf.model.Model |
getBaseModel()
Call this method to get the base model (instance data model) |
java.lang.Object |
getCachedExternalData(java.lang.Object key)
Call this method with a key to see if external data has been cached with a given key. |
int |
getCachedRowSetColumnNumber(java.sql.ResultSetMetaData rsmd,
java.lang.String colName)
|
int[] |
getCachedRowSetColumnNumbers(java.sql.ResultSetMetaData rsmd,
java.lang.String[] colName)
|
java.lang.String[] |
getCachedRowSetColumnsFromFilter(com.hp.hpl.jena.ontology.Individual f)
|
static java.util.List |
getClassNecessaryConditionsOnProperties(com.hp.hpl.jena.ontology.OntClass cls)
Call this method to get all the Property Restrictions which are necessary conditions on this class or which are inherited from superclasses. |
static java.util.List |
getClassNecessaryConditionsOnProperty(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty p)
Call this method to get all the Property Restrictions of the given property which are necessary conditions on this class or which are inherited from superclasses. |
java.util.List |
getContainersOfWithinContainer(com.hp.hpl.jena.ontology.Individual container,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.Individual contained)
Call this method to get a list of all of the POs which are subject of the given property with "contained" as object and which are contained by the "container." |
java.lang.Object[] |
getContextualInfoAbout(java.lang.String aboutURI)
Call this method to get contextual information about the specified Resource. |
com.hp.hpl.jena.ontology.OntProperty |
getCreationDateTime()
|
com.hp.hpl.jena.ontology.Individual |
getCurrentPresentationObject()
Call this method to get the Individual which is the current PresentationObject. |
com.hp.hpl.jena.rdf.model.Resource |
getDatatypePropertyDefaultType(com.hp.hpl.jena.rdf.model.RDFNode curParamValue)
|
java.lang.String |
getDatatypePropertyLexicalForm(com.hp.hpl.jena.rdf.model.RDFNode node,
java.lang.String propName)
|
protected com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyLiteral(com.hp.hpl.jena.rdf.model.RDFNode node,
java.lang.String propName)
|
java.lang.String |
getDatatypePropertyType(com.hp.hpl.jena.ontology.OntProperty p)
Call this method to get the XMLSchema type of a DatatypeProperty. |
java.lang.String |
getDatatypePropertyType(java.lang.String pUri)
Call this method to get the XMLSchema type of a DatatypeProperty. |
com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyValueAsLiteral(java.lang.Object value)
Call this method to return a Literal representing the value Object |
com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyValueAsLiteral(java.lang.Object newVal,
java.lang.String xsdType)
|
com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyValueRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
|
com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyValueRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
java.lang.String propURI)
Call this method to get the value of a DatatypeProperty on the specified Individual, either actual for the Individual or implied by constraints on the class or superclass. |
com.hp.hpl.jena.rdf.model.Literal |
getDatatypePropertyValueRealOrImpliedWithoutAnchorExpansion(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
|
java.util.Map |
getDatatypePropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual instance)
Call this method to get a Map of all the DatatypeProperties of an Individual. |
java.util.List |
getEffects(com.hp.hpl.jena.ontology.Individual iao)
Call this method to get a List of the values of the hasEffect property on InteractionObject iao. |
com.hp.hpl.jena.ontology.Individual |
getFirstStepOfSubProcess(com.hp.hpl.jena.ontology.Individual process)
Call this method to get the Individual that is the first stelp of a [sub] process. |
com.hp.hpl.jena.ontology.Individual |
getFocusVantageOfFrame(com.hp.hpl.jena.ontology.Individual frame)
Call this method to get the Vantage instance which currently has the focus in the given Frame instance. |
com.hp.hpl.jena.ontology.Individual |
getFrame()
Call this method to get the Frame instance currently associated with this AcuityController instance. |
com.hp.hpl.jena.rdf.model.RDFNode[] |
getHasValueRestrictions(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to get an array of the HasValueRestrictions for the given OntClass and OntProperty. |
static java.util.List |
getHasValueRestrictions(com.hp.hpl.jena.ontology.OntClass cls)
Call this method to get all the HasValueRestrictions which are necessary conditions on this class or which are inherited from superclasses. |
static com.hp.hpl.jena.rdf.model.RDFNode[] |
getHasValueRestrictions(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to get an array of the HasValueRestrictions for the given OntClass and OntProperty. |
java.util.List |
getHelpLinks(java.lang.String selectedHelpURI)
|
com.hp.hpl.jena.ontology.Individual |
getIndividual(java.lang.String instanceURI)
Call this method to return an existing Individual in the ontology given a localName or complete URI. |
java.lang.String |
getIndividualClassLabel(com.hp.hpl.jena.ontology.Individual inst)
Call this method to find the rdfs:label of the Individual's Class (or a super class). |
java.lang.String |
getIndividualClassLabel(java.lang.String instanceURI)
Call this method to find the rdfs:label of the Individual's Class (or a super class). |
java.util.ArrayList |
getIndividualClassMemberships(com.hp.hpl.jena.ontology.Individual inst)
This method takes an Individual as input and returns the set of owl:Classes to which the Individual belongs. |
java.util.ArrayList |
getIndividualClassMemberships(java.lang.String instURI)
This method takes the name (URI) of an Individual as input and returns the set of owl:Classes to which the Individual belongs. |
java.lang.String |
getIndividualLabel(java.lang.String answerURI)
Call this method to find the rdfs:label of the Individual. |
java.lang.String |
getIndividualLocalName(com.hp.hpl.jena.ontology.Individual inst)
Call this method to get the original name (if any) or the local name of an Individual |
java.lang.String |
getIndividualLocalName(java.lang.String instURI)
Call this method to get the local name of an Individual |
java.util.List |
getIndividualsCreatedToMeetRestriction(com.hp.hpl.jena.ontology.Restriction rest)
|
java.util.List |
getInformationObjectsOfVantage(com.hp.hpl.jena.ontology.Individual vantage)
Deprecated. replaced by call to |
java.lang.String |
getInstanceDataNamespace()
Method to obtain the namespace of the instance data (aBox) |
java.util.ArrayList |
getInstancesOfClass(com.hp.hpl.jena.ontology.OntClass cls,
boolean bIncludeAnon)
Method to obtain a List of all of the Individuals which are instances of the specified class. |
java.util.ArrayList |
getInstancesOfClass(java.lang.String className)
Method to obtain a List of all of the Individuals which are instances of the specified class. |
java.util.ArrayList |
getInstancesOfClass(java.lang.String className,
boolean bIncludeAnon)
Method to obtain a List of all of the Individuals which are instances of the specified class. |
java.util.Hashtable |
getInstancesOfClassWithProperties(java.lang.String className,
java.lang.String[] props,
boolean bIncludeAnon)
Method to get all of the instances (Individuals) who are members of the given class along with all of the information in the set of Statements (triples) of which these Individuals are the subject and whose predicates are in the input list of Properties. |
InteractionObject |
getInteractionObject(InteractionContent ic,
boolean bRemember)
Call this method when it is desired to present an askable InteractionObject instance as a user-input opportunity in the HMI. |
InteractionObject |
getInteractionObject(MissingProperty mp,
boolean bRemember)
Call this method when it is desired to present an askable InteractionObject instance as a user-input opportunity in the HMI. |
InteractionContent |
getInteractionObjectContent(com.hp.hpl.jena.ontology.Individual iaO)
Call this method to get an InteractionContent instance containing the details of a user input, i.e., the subject, the predicate, and any constraints on the object. |
InteractionContent |
getInteractionObjectContent(java.lang.String iaoUri)
Call this method to get a InteractionContent instance containing the details of a user input, i.e., the subject, the predicate, and any constraints on the object. |
java.lang.String |
getLastTimeBasedNameComment()
Call this method to retrieve the comment generated by the last call to getTimeBasedName |
static int |
getLeastCardinalityRestriction(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty pred)
Call this method to get the least cardinality restriction on the Class for this Property. |
org.apache.log4j.Logger |
getLogger()
Call this method to get the controllers Log4J Logger |
protected com.hp.hpl.jena.rdf.model.ModelMaker |
getMaker()
Method to return a ModelMaker from the ModelFactory. |
protected com.hp.hpl.jena.rdf.model.ModelMaker |
getMaker(java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName)
Method to return a ModelMaker from the ModelFactory which will create database-persisted models. |
com.hp.hpl.jena.rdf.model.StmtIterator |
getMatchingParameters(PresentationParameterMap ppm,
java.lang.String propLocalName)
Call this method to get the Statements, with parameter values as objects, that match the input propLocalName key. |
java.util.List |
getMatchingStatementObjects(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty p)
Method to get the Individuals or Literals matching a given subject and predicate. |
com.hp.hpl.jena.rdf.model.StmtIterator |
getMatchingStatements(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
Method to find Statements in the ontology which match the pattern described by the arguments. |
java.util.Iterator |
getMatchingStatements(com.hp.hpl.jena.rdf.model.Resource s,
java.lang.String pName,
java.lang.String oName)
Method to find Statements in the ontology which match the pattern described by the arguments. |
com.hp.hpl.jena.rdf.model.StmtIterator |
getMatchingStatements(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
Method to find Statements in the ontology which match the pattern described by the arguments. |
java.util.List |
getMissingProperties(java.lang.String instURI,
boolean bRemember,
boolean bDirectOnly)
Method to find the missing Properties (if any) of an Individual along with the Class restriction (if any) of the range of each missing Propery and the Cardinality restrictions (if any) on each missing Property. |
java.util.List |
getMissingPropertiesOfAllInstances(boolean bRemember,
boolean bDirectOnly)
Method to find all missing Properties of all Individuals in the Jena Model (the ontology) along with the Class restriction (if any) of the range of each missing Property and the Cardinality restrictions (if any) on each missing Property. |
long |
getModelSize()
Method to return the approximate number of nodes in the active model's graph. |
java.lang.String |
getNsPrefixURI(java.lang.String prefix)
Using the name space prefix provided, return the complete name space with which that prefix is associated in the prefix map created when the model was loaded or by explicit assignment. |
java.util.List |
getObjectPropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty pred)
Call this method to get a List of all of the Individuals that are objects of the given subject and predicate, either already existing or implied by restriction. |
com.hp.hpl.jena.ontology.Individual[] |
getObjectsOfObjectProperty(java.lang.String subjURI,
java.lang.String predURI)
Call this method to get an array of Individuals which are the objects of the set of Statements matching the given subject and predicate. |
com.hp.hpl.jena.ontology.OntClass |
getOntClass(java.lang.String clsURI)
Call this method to find an OntClass in the model. |
com.hp.hpl.jena.ontology.OntClass |
getOntClassMustExist(java.lang.String clsURI)
Call this method to find an OntClass in the model when its existence is required. |
com.hp.hpl.jena.ontology.OntModelSpec |
getOntModelSpec()
Call this method to find the current model's model spec (what reasoner is being used) |
java.lang.String |
getOntPolicyFileURI()
Call this method to find the current policy file being used. |
com.hp.hpl.jena.ontology.OntProperty |
getOntProperty(java.lang.String propURI)
Method to find an OntProperty in the model. |
com.hp.hpl.jena.ontology.OntProperty |
getOntPropertyMustExist(java.lang.String propURI)
Call this method to find an OntProperty in the model when its existence is required. |
static com.hp.hpl.jena.ontology.OntClass[] |
getOntPropertyRangeRestrictions(com.hp.hpl.jena.ontology.OntProperty p)
Call this method to get an array of the OntClasses to which the range of the given OntProperty is resticted. |
boolean |
getParametersModifiedSinceSave()
|
PresentationObject |
getPresentationObject(com.hp.hpl.jena.ontology.Individual poInst)
Call this method to get the PresentationObject corresponding to a particular Individual of type PresentationObject. |
PresentationObject |
getPresentationObject(java.lang.String poURI)
Call this method to get the PresentationObject correponding to a particular URI. |
java.util.List |
getPresentationObjectContents_Old(com.hp.hpl.jena.ontology.Individual pO)
Call this method to get a List of the PresentationObject instances contained by a given PresentationObject instance. |
java.util.List |
getPresentationObjectContents(com.hp.hpl.jena.ontology.Individual pO)
Call this method to get a List of the PresentationObject instances contained by a given PresentationObject instance. |
PresentationParameterMap |
getPresentationParameterMap(com.hp.hpl.jena.ontology.Individual pO,
com.hp.hpl.jena.ontology.OntClass poCls)
|
java.lang.String[] |
getPropertyValuesOfInstance(java.lang.String instName,
java.lang.String prop)
This method takes an Individual name (URI) and Property identifier (URI) and returns the set of values (objects) of Jena Statements with the Individual as subject and the Property as predicate. |
java.lang.String[] |
getPropertyValuesOfInstanceOfClass(java.lang.String className,
java.lang.String instName,
java.lang.String prop)
This method takes the name (URI) of an owl:Class, the name (URI) of a desired instance of that class, and a Property identifier (URI) and returns the set of values (objects) of Jena Statements with the Individual as subject and the Property as predicate. |
com.hp.hpl.jena.rdf.model.RDFNode[] |
getPropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
Call this method to find the values of a given property for a given subject, assigned or implied by restriction |
protected java.lang.String |
getReplacementStringFromIndividual(java.lang.String term,
com.hp.hpl.jena.ontology.Individual inst,
boolean localNameOnly)
|
protected java.lang.String |
getReplacementStringFromProperty(java.lang.String term,
com.hp.hpl.jena.rdf.model.Property p,
boolean localNameOnly)
|
java.lang.String |
getReplacementStringFromResource(com.hp.hpl.jena.rdf.model.Resource r,
boolean bUseLocalName)
Call this method to get the replacement string of a Resource from its URI |
com.hp.hpl.jena.rdf.model.Resource |
getResource(java.lang.String resourceURI)
Method to find a Resource in the model. |
boolean |
getResourceAllowDuplicateFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model. |
java.lang.String |
getResourceComment(java.lang.String resourceURI)
Call this method to get the comment annotation property of a given Resource. |
boolean |
getResourceIncludeAnonFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model. |
java.lang.String |
getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res)
Call this method to get the label annotation property of a given Resource. |
java.lang.String |
getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res,
boolean bReplaceAnchors)
Call this method to get the label annotation property of a given Resource. |
java.lang.String |
getResourceLabel(java.lang.String resourceURI)
Call this method to get the label annotation property of a given Resource. |
java.util.List |
getResourceNSURIFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model. |
java.lang.String |
getResourceNsUriPrefix(com.hp.hpl.jena.rdf.model.Resource n)
Call this method to get the prefix associated with the name space of a Resource. |
java.lang.String |
getResourceURI(java.lang.String localName)
This method will return the URI of the first Resource in the (base) Model which has a matching local name. |
java.lang.String |
getScriptFailureReturnValue(com.hp.hpl.jena.ontology.Individual script)
|
com.hp.hpl.jena.rdf.model.Property |
getSeeAlsoProperty()
|
java.util.List |
getSetMembership(com.hp.hpl.jena.ontology.Individual set)
Call this method to get the URI's of the members of a given set. |
java.util.List |
getSetMembership(java.lang.String setUri)
Call this method to get the URI's of the members of a given set. |
java.util.List |
getSetMemberships(com.hp.hpl.jena.ontology.Individual member)
Call this method to get the URI's of the Sets to which the given Individual belong |
java.util.List |
getSetMemberships(java.lang.String memberUri)
Call this method to get the URI's of the Sets to which the given Individual belong |
java.util.List |
getSharedParameterSetMemberships(java.lang.String memberUri,
java.lang.String sharedPropertyName)
Call this method to get a List of the URI's of the SharedParameterSets to which the given Individual belongs and which have the specified shared property name. |
java.util.List |
getSomeValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
Call this method to get all of the OntClasses that are part of the range of an AllValuesFrom restriction. |
static java.util.List |
getSomeValuesFromRestrictions(com.hp.hpl.jena.ontology.OntClass cls)
Call this method to get all the SomeValuesFromRestrictions which are necessary conditions on this class or which are inherited from superclasses. |
static com.hp.hpl.jena.rdf.model.Resource[] |
getSomeValuesFromRestrictions(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to get an array of Resources representing all of the SomeValuesFromRestrictions for the given OntClass and OntProperty. |
com.hp.hpl.jena.ontology.OntModel |
getSubOntModelContainingResource(com.hp.hpl.jena.rdf.model.Resource r)
|
protected java.util.List |
getSuperClasses(java.util.List superClsList,
com.hp.hpl.jena.rdf.model.Resource r)
Recursive method do do work of getting super classes. |
java.util.List |
getSuperClasses(com.hp.hpl.jena.rdf.model.Resource r)
Call this method to get a List of all of the super classes of the specified Resource. |
com.hp.hpl.jena.ontology.OntModel |
getTheModel()
Method to get the Model being used by this instance of the AcuityController. |
java.lang.String |
getTimeBasedName(java.lang.String nameBase)
Call this method to get a name generated from the input nameBase and the current time. |
org.apache.log4j.Level |
getTraceLevel()
Call this method to obtain the current trace level of the controller. |
com.hp.hpl.jena.ontology.Individual |
getUser()
Method to get the Individual representing this instance of an AcuityController |
com.hp.hpl.jena.rdf.model.Literal |
getValueOfDatatypeProperty(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.ontology.OntProperty p)
Call this method to get a Literal for a Datatype Property on a given subject. |
com.hp.hpl.jena.rdf.model.Literal |
getValueOfDatatypeProperty(java.lang.String subjURI,
java.lang.String predURI)
Call this method to get a Literal for a Datatype Property on a given subject. |
java.util.List |
getVantagesOfFrame(com.hp.hpl.jena.ontology.Individual frame)
Call this mehtod to get a list of all the Vantage instances associated with the given Frame instance. |
java.util.List |
getVantagesOfFrame(java.lang.String frameURI)
|
java.util.List |
graphQueryWithTransitiveSupport(java.lang.String startNodeUri,
java.util.List orderedPredicateUris)
Call this method to find all nodes in the model which can be reached from the starting node (defined by startNodeUri, with operator replacement, e.g., $currentFrame) by following a series of edges defined by the orderedPredicateUris. |
void |
initializeHelpLinks()
|
void |
investigateOntClass(com.hp.hpl.jena.ontology.OntClass c,
InteractionContent mpi)
Exploratory method to investigate the Jena Model structure leading to identification of InteractionContent instances. |
boolean |
isContentOfInteractionObject(java.lang.String ioUri,
MissingProperty mp)
Call this method to find out if a given InteractionContent structure is the same content as that associated with a InteractionObject with a given URI. |
boolean |
isDefaultValueInModel(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
Call this method to see if the OntClass has the default value. |
boolean |
isDefaultValueInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
|
boolean |
isHasValueRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode val)
Call this method to see if the submodel contains the specified HasValueRestriction. |
boolean |
isIndividualInstanceOfOntClass(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntClass cls,
boolean bDirectOnly)
Call this method to determine if the Individual is an Instance of the OntClass. |
boolean |
isIndividualInstanceOfOntClass(java.lang.String individualName,
java.lang.String className,
boolean bDirectOnly)
Call this method to determine if a given Individual is of a given type (Class). |
boolean |
isInferenceModelValid()
Method to check the inference model (InfModel) corresponding to the loaded ontology (tBox and aBox) for validity. |
java.lang.Boolean |
isInteractionObjectEnabled(java.lang.String iaoUri)
Call this method to determine if an InteractionObject should be enabled in the client UI. |
boolean |
isLabelEditable(com.hp.hpl.jena.ontology.OntProperty p)
Call this method to determine if the Label of a given OntProperty is editable. |
boolean |
isLabelEditable(java.lang.String poUri)
Call this method to determine if the Label of a given PresentationObject is editable. |
boolean |
isOntPropertySubPropertyOfOntProperty(java.lang.String propName,
java.lang.String superPropName,
boolean bDirectOnly)
Call this method to determine if a given OntProperty is an rdfs:subPropertyOf another OntProperty. |
boolean |
isPropertyAutoInstantiate(com.hp.hpl.jena.ontology.OntProperty p)
|
boolean |
isPropertyAutoInstantiateJustInTime(com.hp.hpl.jena.ontology.OntProperty p)
|
boolean |
isResourceInInstanceNamespace(com.hp.hpl.jena.rdf.model.Resource r)
Call this method to determine if the Resource is found in the model's instance data namespace. |
boolean |
isResourceInNamespace(com.hp.hpl.jena.rdf.model.Resource r,
java.lang.String namespace)
Call this method to determine if a Resource is in a given Namespace. |
boolean |
isSameInteractionContent(InteractionContent ic1,
InteractionContent ic2)
Call this method to compare two InteractionContent structures to see if they have to do with the same subject and predicate (and may therefore be considered to be the same content). |
boolean |
isSameInteractionContent(MissingProperty ic1,
InteractionContent ic2)
Call this method to compare two InteractionContent structures to see if they have to do with the same subject and predicate (and may therefore be considered to be the same content). |
static boolean |
isSameResource(com.hp.hpl.jena.rdf.model.Resource res1,
com.hp.hpl.jena.rdf.model.Resource res2)
Call this method to see if two Resources are the same (have the same URI) |
static boolean |
isSameResource(com.hp.hpl.jena.rdf.model.Resource res1,
java.lang.String res2URI)
Call this method to see if two Resources are the same (have the same URI) |
boolean |
isSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass val)
Call this method to see if the specified SomeValuesFromRestriction exists in the submodel. |
boolean |
isTraceOn()
Call this method to find out if the controller has any level of tracing turned on. |
boolean |
isUnreifiedInstanceOfClass(java.lang.String subjName)
Call this method to find out if a String is the URI of an unreified instance of a Class, as would be the case in answers returned from a legacy data store but not used in the ontology. |
void |
listClasses()
Method to display all of the Classes in the loaded ontology to System.out. |
void |
listClasses(java.io.PrintStream out)
Method to display all of the Classes in the loaded ontology. |
void |
listIndividuals()
Method to display all of the Individuals in the loaded ontology to System.out. |
void |
listIndividuals(java.io.PrintStream out)
Method to display all of the Individuals, along with their type (Class) in the loaded ontology. |
java.util.Iterator |
listPropertiesWithClassInDomain(com.hp.hpl.jena.ontology.OntClass cls)
Call this method to return a List of OntProperty elements which have the input OntClass in their domain. |
java.util.Iterator |
listRDFTypes(com.hp.hpl.jena.ontology.Individual inst,
boolean bDirect)
Call this method to return all of the classes and superclasses (if bDirect = false) of the individual. |
java.util.Iterator |
listRDFTypes(com.hp.hpl.jena.ontology.Individual inst,
boolean bDirect,
boolean bIncludeAnon)
Call this method to return all of the classes and superclasses (if bDirect = false) of the individual. |
boolean |
literalToboolean(com.hp.hpl.jena.rdf.model.Literal l,
boolean defVal)
Call this method to convert a Literal (of type xsd:boolean) to a boolean value. |
java.util.Date |
literalToDate(com.hp.hpl.jena.rdf.model.Literal l,
java.util.Date defVal)
|
double |
literalToDouble(com.hp.hpl.jena.rdf.model.Literal l,
double defVal)
Call this method to convert a Literal (of type xsd:double) to a double value. |
float |
literalToFloat(com.hp.hpl.jena.rdf.model.Literal l,
float defVal)
Call this method to convert a Literal (of type xsd:float) to a float value. |
int |
literalToInt(com.hp.hpl.jena.rdf.model.Literal l,
int defVal)
Call this method to convert a Literal (of type xsd:int) to an int value. |
java.lang.Object |
literalToObject(com.hp.hpl.jena.rdf.model.Literal value)
Call this method to convert a typed Literal to an appropriate Object |
java.lang.String |
literalToString(com.hp.hpl.jena.rdf.model.Literal l,
java.lang.String defVal)
Call this method to convert a Literal (of type xsd:string) to a string value. |
protected java.util.ArrayList |
loadIndividualsFromDB(java.util.ArrayList individuals,
com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.rdf.model.RDFNode dbDesc)
Method to load the instance data described in the input RDFNode into the input List of instances. |
java.lang.String |
localName(java.lang.String name)
Method to check a name to see if it is a URI and if so return the localName. |
static int |
maxCardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to find the max cardinality of a MaxCardinalityRestriction on an OntProperty of the given OntClass. |
static int |
maxCardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
|
static int |
minCardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
Call this method to find the min cardinality of a MinCardinalityRestriction on an OntProperty of the given OntClass. |
java.lang.String |
mkInstanceDataURI(java.lang.String localName)
Call this method to get a URI with the given local name fragment in the instance data namespace. |
static java.lang.String |
mkLegalLocalName(java.lang.String originalName)
Call this method to return a legal URI localName based on the input name. |
java.lang.String |
mkURI(java.lang.String ns,
java.lang.String localName)
Convenience method to combine the specified namespace String and the localName String to form a valid URI. |
protected PresentationParameterMap |
populatePresentationParameterMap(PresentationParameterMap result,
com.hp.hpl.jena.ontology.Individual pO,
com.hp.hpl.jena.ontology.OntClass poCls)
|
java.lang.String |
preprocessQueryString(java.lang.String queryStr)
Call this method to replace anchors and expand uri's in a query string |
java.lang.Object |
preprocessQueryStringWithMultiValuedAnchors(java.lang.String queryStr)
|
void |
printActiveModel()
Method to print the content of the active model to the log4j logger. |
void |
printActiveModel(java.lang.String fn)
Method to print the content of the active model to the log4j logger. |
java.lang.Object |
processAction(com.hp.hpl.jena.ontology.Individual action,
java.lang.Object[] args)
Call this method to process an AcuityControllerAction (method on a specified Java class). |
java.lang.Object |
processEffectsStmts(java.util.List effectStmts,
boolean bRemember)
Call this method to process the Scripts associated with an Individual by the apvf:hasEffects Property |
java.lang.Object |
processGroupedInput(com.hp.hpl.jena.ontology.Individual groupInst,
java.lang.Object data)
Call this method to process a set of name-value pairs from a grouping of POs, at least some of which are InteractionObjects. |
java.lang.Object |
processGroupedInput(java.lang.String groupURI,
java.util.Map nameValuePairs)
Call this method to process a set of name-value pairs from a grouping of POs, at least some of which are InteractionObjects. |
java.lang.Object |
processInteractionAnswer(InteractionContent iaoContent,
org.apache.struts.upload.FormFile answer,
boolean bRemember)
Process interaction answer when doing file upload. |
java.lang.Object |
processInteractionAnswer(InteractionContent iaoContent,
java.lang.String answerURI,
boolean bRemember)
Call this method to answer a question contained by an InteractionContent. |
java.lang.Object |
processInteractionAnswer(java.lang.String interactionObjectURI,
java.lang.String answerURI,
boolean bRemember)
Call this method to answer a question posed by an InteractionObject. |
java.lang.Object |
processMultipleInteractionAnswers(InteractionContent iaoContent,
java.lang.String[] answerURIs,
boolean bRemember)
Call this method to answer a question with multiple answers (allowsMultipleSelection true). |
java.lang.Object |
processOnDemandAction(java.lang.String actionURI,
java.lang.Object[] arguments)
Call this method to execute an APVF_ONDEMANDACTION. |
java.lang.Object |
processScript(com.hp.hpl.jena.ontology.Individual scr,
boolean bRemember)
Call this method to process a Script. |
java.lang.Object |
processScript(java.lang.String scriptUri,
boolean bRemember)
Call this method to process an individual script. |
java.lang.Object |
processUpdaterScript(java.lang.String scriptUri,
java.util.Map nameValuePairs,
boolean bRemember)
Call this method to process an Individual ServerSideScript, associated with the current Frame, to update the Acuity Frame content. |
boolean |
propertyIsParameterProperty(com.hp.hpl.jena.rdf.model.Property p)
Call this method to determine if a Property is a PresentationParameter. |
static java.lang.String |
quoteStringLiteral(java.lang.String s)
Call this method to return a quoted string for use in a query. |
void |
refreshPresentationObjectParameters(PresentationObject pO)
Call this method to refresh the PresentationParameterMap content of a PresentationObject. |
boolean |
removeAllValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
Call this method to remove an AllValuesFromRestriction from the specified class. |
boolean |
removeDefaultValueFromClass(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
Call this method to remove a DefaultValue as a seeAlso annotation property of a class |
boolean |
removeHasValueRestrctionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldVal)
Call this method to remove a HasValueRestriction from a submodel. |
boolean |
removeHasValueRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
Call this method to remove a HasValueRestriction from the specified class. |
int |
removeObjectPropertyStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
Call this method to remove all Statements matching the arguments from the ontology model. |
int |
removeObjectPropertyStatement(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectURI)
Call this method to remove all Statements matching the arguments from the ontology model. |
void |
removeSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
com.hp.hpl.jena.ontology.Individual removalMember)
Call this method to remove a specified member from a SharedCompositeParameterSet. |
void |
removeSharedCompositeParameterSetMember(java.lang.String setUri,
java.lang.String removalMemberUri)
Call this method to remove a specified member from a SharedCompositeParameterSet. |
boolean |
removeSomeValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
Call this method to remove a SomeValuesFromRestriction from the specified class. |
boolean |
removeSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass oldVal,
boolean removeAutoInstantiated)
Call this method to remove a SomeValuesFromRestriction from a submodel. |
static java.lang.String |
replaceAll(java.lang.String s1,
java.lang.String s2,
java.lang.String r)
Call this method to replace all occurrences of the String s2 in String s1 with String r. |
java.lang.String |
replaceAllAnchors(java.lang.String stmt)
|
java.lang.Object |
replaceAllAnchors(java.lang.String stmt,
boolean multipleValuesAllowed)
Call this statement to process a String statement by replacing all anchors of the form '${...}' with the value returned. |
java.lang.Object |
replaceAnchorTerm(java.lang.String term)
|
java.lang.String |
replacePrefixesInAngleBracketedURIs(java.lang.String qstr)
|
com.hp.hpl.jena.rdf.model.Statement |
replaceStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode newObject)
Call this method to replace a statement in the model with a new statement with the same subject and predicate but a new object value. |
protected com.hp.hpl.jena.ontology.Individual |
replaceSubjectWithClone(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj,
com.hp.hpl.jena.rdf.model.RDFNode newObj)
|
static java.lang.String |
resourceArrayToCSV(java.lang.Object[] oArray)
|
boolean |
resumeContentDependenciesCapture()
|
java.lang.String |
save()
Call this method to save the instance data (aBox) of the loaded ontology to persistent store. |
com.hp.hpl.jena.rdf.model.Model |
selectorQuery(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
Method to return a Jena Model containing those Statements which match the input subject, predicate, and object identifiers. |
void |
setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
boolean bVal)
Call this method to set the xsd:boolean DatatypeProperty of an Individual |
void |
setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
float fVal)
Call this method to set the xsd:int DatatypeProperty of an Individual |
void |
setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
int iVal)
Call this method to set the xsd:int DatatypeProperty of an Individual |
void |
setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
java.lang.String sVal)
Call this method to set the xsd:string DatatypeProperty of an Individual |
java.lang.Object |
setGroupInputValues(java.lang.Object _groupInputValues)
Call this method to set a Hashtable of name/value pairs for anchor resolution during script processing. |
void |
setParametersModifiedSinceSave(boolean bFlag)
|
void |
setPresentationObjectValueName(PresentationObject pO,
com.hp.hpl.jena.ontology.Individual poInst)
Call this method to set the value name associated with a PresentationObject. |
boolean |
setResourceAllowDuplicatesFilter(boolean bAllowDuplicates)
Method to set aspects of the default Resource filter used when querying the model. |
void |
setResourceFilter(boolean bIncludeAnon,
boolean bAllowDuplicates,
java.util.List nsURIFilter)
Method to set aspects of the default Resource filter used when querying the model. |
boolean |
setResourceIncludeAnonFilter(boolean bIncludeAnon)
Method to set aspects of the default Resource filter used when querying the model. |
void |
setResourceLabel(com.hp.hpl.jena.rdf.model.Resource resource,
java.lang.String label)
Call this method to set the label annotation property of a given Resource |
boolean |
setResourceLabel(java.lang.String resourceURI,
java.lang.String label)
Call this method to set the label annotation property of a given Resource. |
java.util.List |
setResourceNSURIFilter(java.util.List nsURIFilter)
Method to set aspects of the default Resource filter used when querying the model. |
void |
setTraceLevel(int traceLevel)
Method to set the level of debug output from the AcuityController and the underlying Jena library. |
void |
setTrackAutoInstantiationRestrictions(boolean trackAutoInstantiationRestrictions)
|
com.hp.hpl.jena.rdf.model.Statement |
setUser(java.lang.String userID,
boolean bOkToCreate)
Call this method to set the user in this instance of AcuityController. |
java.lang.String |
smartStringToURI(java.lang.String ro)
|
java.util.List[] |
sparqlQuery(java.lang.String queryStr)
Call this method to process a SPARQL statement. |
boolean |
startExternalDataCaching()
Call this method to start caching of external data, e.g., results of SQL queries. |
static java.lang.String |
stripURINamespace(java.lang.String uri)
Call this method to get the localname of a URI (without the namespace prefix) |
boolean |
suspendContentDependenciesCapture()
|
com.hp.hpl.jena.rdf.model.Statement |
tell(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
tell(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o,
boolean bRememberStmt)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
tell(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName)
Method to assert new information (a new Statement) in the ontology model. |
com.hp.hpl.jena.rdf.model.Statement |
tell(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName,
boolean bRememberStmt)
Method to assert new information (a new Statement) in the ontology model. |
boolean |
testSuperPropertyBug()
|
java.lang.Object |
thisInstanceURI()
|
boolean |
trackAutoInstantiationRestrictions()
|
com.hp.hpl.jena.rdf.model.Statement |
update(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode oldObject,
com.hp.hpl.jena.rdf.model.RDFNode newObject,
boolean bRemember)
Call this method to replace an existing Statement or, if none which matches exists, create a new one. |
com.hp.hpl.jena.rdf.model.Statement |
update(java.lang.String sUri,
java.lang.String pUri,
java.lang.String oldObjUri,
java.lang.String newObjUri,
boolean bRemember)
Call this method to replace an existing Statement or, if none which matches exists, create a new one. |
boolean |
updatePresentationParameterMap(PresentationParameterMap ppm,
java.lang.String propLocalName,
java.lang.Object newVal)
Call this method to update the PresentationParameterMap and the underlying ontology. |
boolean |
updatePresentationParameterMap(PresentationParameterMap ppm,
java.lang.String propLocalName,
com.hp.hpl.jena.rdf.model.RDFNode oldVal,
java.lang.Object newVal)
Call this method to update the PresentationParameterMap and the underlying ontology. |
java.lang.String |
uriAnalyzer(java.lang.String resourceName)
Method to look at a Resource name and if it is not a valid URI try to convert it to one. |
java.lang.Object |
xrdqlQuery(java.lang.String queryStr)
Call this method to process an RDQL or XRDQL statement. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String XSD_DATE_TIME
public static final java.lang.String XSD_STRING
public static final java.lang.String XSD_FLOAT
public static final java.lang.String XSD_BOOLEAN
public static final java.lang.String XSD_INT
public static final java.lang.String XSD_DOUBLE
public static final java.lang.String applicationSettingsProperties
public static final java.lang.String MULTIPLE_SELECTIONS_ANSWER_RDFNODES
public static final java.lang.String MULTIPLE_SELECTIONS_ANSWER_URIS
public static final java.lang.String APVF_ACUITYMOSTFREQUENTDEFAULT
public static final java.lang.String APVF_ACUITYAVERAGEDEFAULT
public static final java.lang.String APVF_BLUEVAL
public static final java.lang.String APVF_GREENVAL
public static final java.lang.String APVF_REDVAL
public static final java.lang.String APVF_COLOR
public static final java.lang.String APVF_DATASERIES
public static final java.lang.String ORIGINAL_DATAROW_INDEX
public static final java.lang.String DATAMODIFIED_MAPKEY
public static final java.lang.String DATAMODIFIED_NOCHANGE
public static final java.lang.String DATAMODIFIED_MODIFIED
public static final java.lang.String DATAMODIFIED_INSERT
public static final java.lang.String APVF_ACTIONONPERSISTENTOBJECT
public static final java.lang.String APVF_ACUITYCONTROLLERACTION
public static final java.lang.String APVF_ADDCURRENTVALUETOLIST
public static final java.lang.String APVF_ALWAYSREFRESHCONTENT
public static final java.lang.String APVF_APPLIESTOPROPERTY
public static final java.lang.String APVF_BOOLEANDEFAULT
public static final java.lang.String APVF_BOOLEANVALUEOBJECT
public static final java.lang.String APVF_BUILTINANCHOR
public static final java.lang.String APVF_COLUMNIDENTIFIER
public static final java.lang.String APVF_COLUMNORDERDATASERIESMAP
public static final java.lang.String APVF_COMPOSITEPARAMETERDEFAULT
public static final java.lang.String APVF_CONTAINSPRESENTATIONOBJECT
public static final java.lang.String APVF_CONTEXTPREDICATE
public static final java.lang.String APVF_CONTEXTSUBJECTCLASS
public static final java.lang.String APVF_CREATEDTOMEETRESTRICTION
public static final java.lang.String APVF_ACUITYCONTROLLER
public static final java.lang.String APVF_CONTENTDEPENDSON
public static final java.lang.String APVF_COPYVALUEONROWDUPLICATION
public static final java.lang.String APVF_CREATEDBY
public static final java.lang.String APVF_CREATIONDATETIME
public static final java.lang.String APVF_DATASETDEFINEDBY
public static final java.lang.String APVF_DATATABLECOLUMNINFO
public static final java.lang.String APVF_DATATABLEMAP
public static final java.lang.String APVF_DATETIMEVALUEOBJECT
public static final java.lang.String APVF_DBCLASSFIELD
public static final java.lang.String APVF_DBCLASSID
public static final java.lang.String APVF_DBCONNECTIONSTRING
public static final java.lang.String APVF_DBDRIVERSTRING
public static final java.lang.String APVF_DBINSTANCEFIELD
public static final java.lang.String APVF_DBINSTANCELABELFIELD
public static final java.lang.String APVF_DEFAULTOUTPUTINDEX
public static final java.lang.String APVF_DEFAULTROWSETFIELDIDENTIFIER
public static final java.lang.String APVF_DBLOGINSTRING
public static final java.lang.String APVF_DBOBJFIELDNAME
public static final java.lang.String APVF_DBPASSWORDSTRING
public static final java.lang.String APVF_DBPREDURI
public static final java.lang.String APVF_DBSQLSTRING
public static final java.lang.String APVF_DBSUBJFIELDNAME
public static final java.lang.String APVF_DBTABLE
public static final java.lang.String APVF_DEFAULTVALUE
public static final java.lang.String APVF_DISCRETEPROCESS
public static final java.lang.String APVF_DISPLAYOBJECT
public static final java.lang.String APVF_DISPLAYORDER
public static final java.lang.String APVF_DOCUMENTOBJECT
public static final java.lang.String APVF_ENCODES
public static final java.lang.String APVF_EVENT
public static final java.lang.String APVF_FRAME
public static final java.lang.String APVF_EVENTEXPRESSION
public static final java.lang.String APVF_FLOATDEFAULT
public static final java.lang.String APVF_FLOATVALUEOBJECT
public static final java.lang.String APVF_GRAPHOBJECT
public static final java.lang.String APVF_HASACTIVEPROCESS
public static final java.lang.String APVF_HASACTIVESTEP
public static final java.lang.String APVF_HASARGUMENTS
public static final java.lang.String APVF_HASBOOLEANDEFAULT
public static final java.lang.String APVF_HASBOOLEANVALUE
public static final java.lang.String APVF_HASCLIENTSIDEEFFECT
public static final java.lang.String APVF_HASCOLOR
public static final java.lang.String APVF_HASCOLUMN
public static final java.lang.String APVF_HASCOLUMNSMANAGER
public static final java.lang.String APVF_HASCONTENTUPDATER
public static final java.lang.String APVF_HASDATETIMEVALUE
public static final java.lang.String APVF_HASDBCONNECTION
public static final java.lang.String APVF_HASDBINSTANCESDESCRIPTOR
public static final java.lang.String APVF_HASDBSTATEMENTSDESCRIPTOR
public static final java.lang.String APVF_HASEFFECT
public static final java.lang.String APVF_HASFIRSTSTEP
public static final java.lang.String APVF_HASFLOATDEFAULT
public static final java.lang.String APVF_HASFLOATVALUE
public static final java.lang.String APVF_HASFOCUSVANTAGE
public static final java.lang.String APVF_HASFRAME
public static final java.lang.String APVF_HASIMPLEMENTATIONCLASS
public static final java.lang.String APVF_HASIMPLEMENTATIONMETHOD
public static final java.lang.String APVF_HASIMPLEMENTATIONPACKAGE
public static final java.lang.String APVF_HASINTDEFAULT
public static final java.lang.String APVF_HASINTEGERVALUE
public static final java.lang.String APVF_HASINTERACTIONOBJECT
public static final java.lang.String APVF_HASHELPKEYWORD
public static final java.lang.String APVF_HASMAPPINGFUNCTION
public static final java.lang.String AULO_HASMEMBER
public static final java.lang.String APVF_HASNEXTSTEP
public static final java.lang.String APVF_HASOBJECTDEFAULT
public static final java.lang.String APVF_HASOBJECTOFCLASSDEFAULTS
public static final java.lang.String APVF_HASONTQUERYANALYZER
public static final java.lang.String APVF_HASORPHAN
public static final java.lang.String APVF_HASPOSSIBLEANSWERGENERATOR
public static final java.lang.String APVF_HASPOSITION
public static final java.lang.String APVF_HASPRESENTATIONNATURE
public static final java.lang.String APVF_HASPRESENTATIONPARAMETERBOOLEAN
public static final java.lang.String APVF_HASPRESENTATIONPARAMETERFLOAT
public static final java.lang.String APVF_HASPRESENTATIONPARAMETERINTEGER
public static final java.lang.String APVF_HASPRESENTATIONPARAMETEROBJECT
public static final java.lang.String APVF_HASPRESENTATIONPARAMETERSTRING
public static final java.lang.String APVF_HASPROCESSOR
public static final java.lang.String APVF_HASRENDERER
public static final java.lang.String APVF_HASROWSETMAXROWS
public static final java.lang.String APVF_HASSHAREDPARAMETER
public static final java.lang.String APVF_HASSHAREDPARAMETERNAME
public static final java.lang.String APVF_HASSTRINGDEFAULT
public static final java.lang.String APVF_HASSTATEMENT
public static final java.lang.String APVF_HASSTRINGVALUE
public static final java.lang.String APVF_HASURL
public static final java.lang.String APVF_HASUSER
public static final java.lang.String APVF_HASVALUE
public static final java.lang.String APVF_HASVALUELIST
public static final java.lang.String APVF_HASVANTAGE
public static final java.lang.String APVF_HASXRDQLSTATEMENT
public static final java.lang.String APVF_HIDDENOBJECT
public static final java.lang.String APVF_INCLUDEACUITYCONTROLLERASARGUMENT
public static final java.lang.String APVF_INSTANCECREATIONACTION
public static final java.lang.String APVF_INTEGERDEFAULT
public static final java.lang.String APVF_INTEGERVALUEOBJECT
public static final java.lang.String APVF_INTERACTIONOBJECT
public static final java.lang.String APVF_ISCLONEOF
public static final java.lang.String APVF_ISDERIVEDFROM
public static final java.lang.String APVF_ISDISPLAYED
public static final java.lang.String APVF_ISEDITABLE
public static final java.lang.String APVF_ISENABLED
public static final java.lang.String APVF_ISREFINEDBY
public static final java.lang.String APVF_ISTRANSFORMEDBY
public static final java.lang.String APVF_MAPPEDDATATABLE
public static final java.lang.String APVF_MINIMUMSAMPLESIZE
public static final java.lang.String APVF_NEWOBJECTCLASS
public static final java.lang.String APVF_NONCOMPOSITEPARAMETEROBJECTVALUES
public static final java.lang.String APVF_OBJECTDEFAULT
public static final java.lang.String APVF_OBJECTOFCLASSDEFAULT
public static final java.lang.String APVF_ORIGINALNAME
public static final java.lang.String APVF_OUTPUTIDENTIFIER
public static final java.lang.String APVF_PERSISTENTJAVAOBJECT
public static final java.lang.String APVF_POSITION
public static final java.lang.String APVF_PRESENTATIONOBJECT
public static final java.lang.String APVF_PROCESSASSINGLEEVENT
public static final java.lang.String APVF_PROCESSUNMODIFIEDDATA
public static final java.lang.String APVF_PROCESSWITHOLDVALUES
public static final java.lang.String APVF_PROMPT
public static final java.lang.String APVF_RDQLQUERYSTRING
public static final java.lang.String APVF_REFINEDWDIO
public static final java.lang.String APVF_RENDERLAST
public static final java.lang.String APVF_RETURNONFAILURE
public static final java.lang.String APVF_ROWIDENTIFIER
public static final java.lang.String APVF_ROWORDERDATASERIESMAP
public static final java.lang.String APVF_ROWSETCOLUMN
public static final java.lang.String APVF_ROWSETINDEXEDSELECTOR
public static final java.lang.String APVF_ROWSPANGROUPINGROWSETCOLUMN
public static final java.lang.String APVF_SAMEVALUEASPROPERTY
public static final java.lang.String APVF_SCRIPTURI
public static final java.lang.String APVF_SELECTIONLISTPRESENTATION
public static final java.lang.String APVF_SERIESDELIMITERCOLUMN
public static final java.lang.String APVF_SERVERSIDESCRIPT
public static final java.lang.String APVF_SHAREDCOMPOSITEPARAMETERSET
public static final java.lang.String APVF_SIMPLEDATATABLE
public static final java.lang.String APVF_SIMPLEVALUEOBJECT
public static final java.lang.String APVF_SINGLEVALUE
public static final java.lang.String APVF_SORTPRIORITY
public static final java.lang.String APVF_SPANROWONSEQUENTIALDUPLICATEVALUES
public static final java.lang.String APVF_SQLSTATEMENT
public static final java.lang.String APVF_STOREDPROCEDURE
public static final java.lang.String APVF_STOREDPROCEDURESIGNATURE
public static final java.lang.String APVF_STOREDPROCEDUREOUTPUTSELECTOR
public static final java.lang.String APVF_STRINGDEFAULT
public static final java.lang.String APVF_STRINGVALUEOBJECT
public static final java.lang.String APVF_TABLECELLINTERACTIONOPTIONS
public static final java.lang.String APVF_THRESHOLDFREQUENCY
public static final java.lang.String APVF_TITLE
public static final java.lang.String APVF_TOOLTIP
public static final java.lang.String APVF_TRIGGEREVENT
public static final java.lang.String APVF_USERPREFERENCE
public static final java.lang.String APVF_USESPERSISTENTJAVAOBJECT
public static final java.lang.String APVF_USESPRESENTATIONOBJECT
public static final java.lang.String APVF_VALIDATECONTENT
public static final java.lang.String APVF_VALIDATECONTENT_LOCALNAME
public static final java.lang.String APVF_VALUECALCULATEDBY
public static final java.lang.String APVF_VALUELIST
public static final java.lang.String APVF_VALUENAME
public static final java.lang.String APVF_VANTAGE
public static final java.lang.String APVF_XMAXCOLUMN
public static final java.lang.String APVF_XMINCOLUMN
public static final java.lang.String APVF_YMAXCOLUMN
public static final java.lang.String APVF_YMINCOLUMN
public static final java.lang.String APVF_XRDQLSTATEMENT
public static final java.lang.String AULO_PERSON
public static final java.lang.String RDF_TYPE
public static final java.lang.String RDFS_LABEL
public static final java.lang.String RDFS_SUBCLASSOF
public static final java.lang.String RDFS_SUBPROPERTYOF
public static final java.lang.String OWL_OBJECTPROPERTY
public static final java.lang.String OWL_DATATYPEPROPERTY
public static final java.lang.String APVF_NS
public static final java.lang.String APVF_HASASKUSERRDQLVALUEFILTER
public static final java.lang.String APVF_INCLUDEASMISSINGPROPERTYOPTION
public static final java.lang.String APVF_AUTOINSTANTIATEPROPERTIES
public static final java.lang.String APVF_ASKUSERPROPERTIES
public static final java.lang.String APVF_ASKUSERBOOLEAN
public static final java.lang.String APVF_ASKUSERDATETIME
public static final java.lang.String APVF_ASKUSERFLOAT
public static final java.lang.String APVF_ASKUSERINT
public static final java.lang.String APVF_ASKUSERSTRING
public static final java.lang.String APVF_ASKUSERPROPERTIESINCLUDECREATENEW
public static final java.lang.String APVF_HASACTION
public static final java.lang.String APVF_HASONDEMANDACTION
public static final java.lang.String APVF_HASMISSINGOBJECTPROPERTYACTION
public static final java.lang.String APVF_HASINSTANCECREATIONACTION
public static final java.lang.String APVF_ONDEMANDACTION
public static final java.lang.String APVF_CREATEINDIVIDUALOFRANGECLASS
public static final java.lang.String XMLSCHEMA_DATETIME
public static final java.lang.String XMLSCHEMA_INT
public static final java.lang.String XMLSCHEMA_FLOAT
public static final java.lang.String XMLSCHEMA_STRING
public static final java.lang.String XMLSCHEMA_BOOLEAN
public com.hp.hpl.jena.ontology.OntProperty appliesToProperty
public com.hp.hpl.jena.rdf.model.Property rdfType
public com.hp.hpl.jena.ontology.OntProperty hasVantageProperty
public com.hp.hpl.jena.ontology.OntProperty contPresObjProperty
public com.hp.hpl.jena.ontology.OntProperty usesPresObjProperty
public com.hp.hpl.jena.ontology.OntProperty hasActProcProperty
public com.hp.hpl.jena.ontology.OntProperty hasActStepProperty
public com.hp.hpl.jena.ontology.OntProperty hasFirstStepProperty
public com.hp.hpl.jena.ontology.OntProperty hasNextStepProperty
public static final int DEP_BUILTIN_ANCHOR
public static final int DEP_XRDQL_QUERY
public static final int DEP_SPARQL_QUERY
public static final int DEP_GROUPINPUT_VALUE
public static final int DEP_USER_ANSWER
| Constructor Detail |
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with themlocalInstanceFileStore - - the absolute path of the local file in which instance data is stored (or is to be stored)instanceInitializationURI - - the URI from which to initialize the instance ontology; at a minimum this contains the namespace information of the instances and an owl:imports of the aBoxoms - - the OntModelSpec to use, which identifies the reasonertraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with themlocalInstanceFileStore - - the absolute path of the local file in which instance data is stored (or is to be stored)instanceInitializationURI - - the URI from which to initialize the instance ontology; at a minimum this contains the namespace information of the instances and an owl:imports of the aBoxoms - - the OntModelSpec to use, which identifies the reasoneruserid - - the userid to use for this user for 1) user in the ontology, and 2) URL authenticationpasswd - - the password to use for URL authenticationtraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with themlocalInstanceFileStore - - the absolute path of the local file in which instance data is stored (or is to be stored)instanceInitializationURI - - the URI from which to initialize the instance ontologytraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with themlocalInstanceFileStore - - the absolute path of the local file in which instance data is stored (or is to be stored)instanceInitializationURI - - the URI from which to initialize the instance ontologyuserid - - the userid to use for this user for 1) user in the ontology, and 2) URL authenticationpasswd - - the password to use for URL authenticationtraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontologyoms - - the OntModelSpec to use, which identifies the reasonertraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontologyoms - - the OntModelSpec to use, which identifies the reasoneruserid - - the userid to use for this user for 1) user in the ontology, and 2) URL authenticationpasswd - - the password to use for URL authenticationtraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontology
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontologyuserid - - the userid to use for this user for 1) user in the ontology, and 2) URL authenticationpasswd - - the password to use for URL authentication
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontologytraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String _ontPolicyFileURI,
java.lang.String instanceInitializationURI,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with theminstanceInitializationURI - - the URI from which to initialize the instance ontologyuserid - - the userid to use for this user for 1) user in the ontology, and 2) URL authenticationpasswd - - the password to use for URL authenticationtraceLevel - - the level of debug output; values found in AcuityConstants
public AcuityController(java.lang.String kbPublicURI,
java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName,
com.hp.hpl.jena.ontology.OntModelSpec oms,
int traceLevel)
throws AcuityException
kbPublicURI - -
the URI of the Ontology (tbox)dbURI - -
the URI of the database connection, e.g., "jdbc:mysql://research.ge.com/MyProto.owl";dbUser - -
the database user id for this connectiondbPassword - -
the password for database access for this userdbType - -
the type of database, e.g., "MySQL"dbDriverClassName - -
the Java class name for the Driver used to connect to the databasetraceLevel - -
the amount of log4j output to be generated; see
AcuityConstants for possible values
AcuityException| Method Detail |
public com.hp.hpl.jena.ontology.OntModel changeModels(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - - the new policy filelocalInstanceFileStore - - the new file for instance datainstanceInitializationURI - - the new instance data namespace initialization fileoms - - the new OntModelSpec (determines the reasoner used by Jena)userid - - the user identificationpasswd - - the passwordtraceLevel - - the log4j trace level
AcuityException
protected void assignControllerModel(java.lang.String _ontPolicyFileURI,
java.lang.String localInstanceFileStore,
java.lang.String instanceInitializationURI,
com.hp.hpl.jena.ontology.OntModelSpec oms,
java.lang.String userid,
java.lang.String passwd,
int traceLevel)
throws AcuityException
_ontPolicyFileURI - localInstanceFileStore - instanceInitializationURI - oms - userid - passwd - traceLevel -
AcuityExceptionpublic java.lang.String getTimeBasedName(java.lang.String nameBase)
nameBase - - the base name to use, e.g., Frame
public java.lang.String getLastTimeBasedNameComment()
public boolean convertModelToDatabaseModel(java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName,
java.lang.String tBoxPublicURI,
java.lang.String aBoxPublicURI)
dbURI - -
the URI of the database connection, e.g., "jdbc:mysql://research.ge.com/MyProto.owl";dbUser - -
the database user id for this connectiondbPassword - -
the password for database access for this userdbType - -
the type of database, e.g., "MySQL"dbDriverClassName - -
the Java class name for the Driver used to connect to the databasetBoxPublicURI - - the URI of the tBoxaBoxPublicURI - - the URI of the aBox
public com.hp.hpl.jena.ontology.Individual getAcuityControllerInstance()
public java.lang.String[] getPropertyValuesOfInstance(java.lang.String instName,
java.lang.String prop)
throws AcuityException
instName - - Name (URI) of the Individual which is the subject of the desired Statementsprop - - Name (URI) of the Property which is the subject of the desired Statements.
AcuityException - -
public java.lang.String[] getPropertyValuesOfInstanceOfClass(java.lang.String className,
java.lang.String instName,
java.lang.String prop)
throws AcuityException
className - - Name of the owl:Class for whichinstName - - Name (URI) of the Individual which is the subject of the desired Statementsprop - - Name (URI) of the Property which is the subject of the desired Statements.
AcuityException - -public static java.lang.String resourceArrayToCSV(java.lang.Object[] oArray)
public java.util.Iterator listRDFTypes(com.hp.hpl.jena.ontology.Individual inst,
boolean bDirect)
inst - - the IndividualbDirect - - true for Individuals direct classes only, false for all classes and superclasses.
public java.util.Iterator listRDFTypes(com.hp.hpl.jena.ontology.Individual inst,
boolean bDirect,
boolean bIncludeAnon)
inst - - the IndividualbDirect - - true for Individuals direct classes only, false for all classes and superclasses.bIncludeAnon - - if true include unnamed superclasses, i.e., restrictions
public java.util.Map getDatatypePropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual instance)
throws AcuityException
instance - - the Individual for which the data is requested
AcuityException
public java.lang.Object literalToObject(com.hp.hpl.jena.rdf.model.Literal value)
throws AcuityException
value - - the input typed Literal
AcuityException
public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
java.lang.String propURI)
throws AcuityException
instance - - the Individual for which a real or implied property value is requestedpropURI - - the URI of the DatatypeProperty desired
AcuityException
public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
instance - p -
AcuityException
public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueRealOrImpliedWithoutAnchorExpansion(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
instance - p -
AcuityException
public com.hp.hpl.jena.rdf.model.RDFNode[] getPropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
instance - - the subject Individualp - - the Property for which values are requested
AcuityException
public java.util.List getObjectPropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty pred)
throws AcuityException
subject - - the Individual that is the subject of the statements with the desired objectspred - - the OntProperty that is the predicate of the statements with the desired objects
AcuityException
public java.util.List getIndividualsCreatedToMeetRestriction(com.hp.hpl.jena.ontology.Restriction rest)
throws AcuityException
AcuityException
public com.hp.hpl.jena.rdf.model.Literal checkLiteralForAnchors(com.hp.hpl.jena.rdf.model.Literal l)
throws AcuityException
AcuityException
public int literalToInt(com.hp.hpl.jena.rdf.model.Literal l,
int defVal)
throws AcuityException
l - - the Literal (must be of type xsd:int)defVal - - the default value to be used if l is null
AcuityException
public boolean literalToboolean(com.hp.hpl.jena.rdf.model.Literal l,
boolean defVal)
throws AcuityException
l - - the Literal (must be of type xsd:boolean)defVal - - the default value to be used if l is null
AcuityException
public double literalToDouble(com.hp.hpl.jena.rdf.model.Literal l,
double defVal)
throws AcuityException
l - - the Literal (must be of type xsd:double)defVal - - the default value to be used if l is null
AcuityException
public float literalToFloat(com.hp.hpl.jena.rdf.model.Literal l,
float defVal)
throws AcuityException
l - - the Literal (must be of type xsd:float)defVal - - the default value to be used if l is null
AcuityException
public java.util.Date literalToDate(com.hp.hpl.jena.rdf.model.Literal l,
java.util.Date defVal)
throws AcuityException
AcuityException
public java.lang.String literalToString(com.hp.hpl.jena.rdf.model.Literal l,
java.lang.String defVal)
throws AcuityException
l - - the Literal (must be of type xsd:string)defVal - - the default value to be used if l is null
AcuityException
public void cacheExternalData(com.hp.hpl.jena.rdf.model.RDFNode ds,
java.lang.String query,
java.lang.Object data)
public java.lang.Object getCachedExternalData(java.lang.Object key)
key -
public boolean startExternalDataCaching()
public boolean endExternalDataCaching()
public java.util.ArrayList getIndividualClassMemberships(com.hp.hpl.jena.ontology.Individual inst)
inst - - the Individual for which Class memberships are desired
public java.util.ArrayList getIndividualClassMemberships(java.lang.String instURI)
instURI - - the name (URI) of the Individual for which Class memberships are desired
public boolean isIndividualInstanceOfOntClass(java.lang.String individualName,
java.lang.String className,
boolean bDirectOnly)
throws AcuityException
individualName - - the localname or URI of the IndividualclassName - - the localname or URI of the Class for which membership is desiredbDirectOnly - - pass true if only direct Class membership is to be checked; otherwise superclass hierarchy will be used
AcuityException
public boolean isIndividualInstanceOfOntClass(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntClass cls,
boolean bDirectOnly)
inst - - the Individualcls - - the OntClassbDirectOnly - - if true only look for direct Class membership; if false look at superclasses
public java.util.List getSetMembership(java.lang.String setUri)
throws AcuityException
setUri - - the URI of the set in question
AcuityException
public java.util.List getSetMembership(com.hp.hpl.jena.ontology.Individual set)
throws AcuityException
set - - the Individual that is the set in question
AcuityException
public java.util.List getSetMemberships(java.lang.String memberUri)
throws AcuityException
memberUri - - the URI of the Individual for whom set memberships is desired
AcuityException
public java.util.List getSetMemberships(com.hp.hpl.jena.ontology.Individual member)
throws AcuityException
member - - the Individual that is the Set for whom set memberships is desired
AcuityException
public java.util.List getSharedParameterSetMemberships(java.lang.String memberUri,
java.lang.String sharedPropertyName)
throws AcuityException
memberUri - - the URI of the Individual set membersharedPropertyName - - the name of the Property which is shared
AcuityException
public com.hp.hpl.jena.ontology.Individual createSharedCompositeParameterSet(java.lang.String setLocalName,
java.lang.String sharedParameterPropertyName,
java.util.List members)
throws AcuityException
setLocalName - - the local name of the new SharedCompositeParameterSet instance or null for a system-generated namesharedParameterPropertyName - - the name of the Property connecting to the Paramter to be sharedmembers - - a List of Individuals which have Parameter with name sharedParameterName which are to become a set
AcuityException
public boolean addSharedCompositeParameterSetMember(java.lang.String setUri,
java.lang.String memberUri)
throws AcuityException
setUri - - the SharedCompositeParameterSet instance URImemberUri - - the new member instance URI
AcuityException
public boolean addSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
com.hp.hpl.jena.ontology.Individual newMember)
throws AcuityException
set - - the SharedCompositeParameterSet instancenewMember - - the new member instance
AcuityException
public void removeSharedCompositeParameterSetMember(java.lang.String setUri,
java.lang.String removalMemberUri)
throws AcuityException
setUri - - the URI of the SharedCompositeParameterSet instanceremovalMemberUri - - the URI of the member to be removed
AcuityException
public void removeSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
com.hp.hpl.jena.ontology.Individual removalMember)
throws AcuityException
set - - the SharedCompositeParameterSet instanceremovalMember - - the member to be removed
AcuityException
public com.hp.hpl.jena.rdf.model.Statement cloneObjectOfTriple(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectToCloneURI)
throws AcuityException,
java.util.NoSuchElementException
public com.hp.hpl.jena.rdf.model.Statement cloneObjectOfTriple(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode objectToClone)
throws AcuityException,
java.util.NoSuchElementException
public com.hp.hpl.jena.ontology.Individual cloneIndividual(com.hp.hpl.jena.ontology.Individual objToClone,
java.lang.String comment,
boolean bAddUniqueLabel)
throws AcuityException,
java.util.NoSuchElementException
objToClone - - the Individual to be clonedcomment - - the comment to be given to the clonebAddUniqueLabel - - true if rdf:label is to be unique in the clone
AcuityException
java.util.NoSuchElementException
public boolean canRemoveObjectPropertyStatement(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectURI)
throws AcuityException
subjectURI - - URI of subjectpredicateURI - - URI of predicateobjectURI - - URI of object
AcuityException
public boolean canRemoveStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
throws AcuityException
subject - - the subjectpredicate - - the predicateobject - - the object
AcuityException
public int removeObjectPropertyStatement(java.lang.String subjectURI,
java.lang.String predicateURI,
java.lang.String objectURI)
throws AcuityException
subjectURI - - the URI of the subjectpredicateURI - - the URI of the predicateobjectURI - - the URI of the Individual which is the object
AcuityException
public int removeObjectPropertyStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
throws AcuityException
subject - - the Usubjectpredicate - - the predicateobject - - the Individual which is the object
AcuityException
public com.hp.hpl.jena.rdf.model.Statement replaceStatement(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate,
com.hp.hpl.jena.rdf.model.RDFNode newObject)
subject - -predicate - newObject -
public void dissolveSharedCompositeParameterSet(java.lang.String setUri)
throws AcuityException
setUri - - the URI of the Individual which is the SharedCompositeParameterSet
AcuityException
public void dissolveSharedCompositeParameterSet(com.hp.hpl.jena.ontology.Individual set)
throws AcuityException
set - - the Individual which is the SharedCompositeParameterSet
AcuityException
public java.util.List getSuperClasses(com.hp.hpl.jena.rdf.model.Resource r)
throws AcuityException
r - - the Resource for which super classes are desired
AcuityExceptionpublic com.hp.hpl.jena.ontology.OntModel getSubOntModelContainingResource(com.hp.hpl.jena.rdf.model.Resource r)
protected java.util.List getSuperClasses(java.util.List superClsList,
com.hp.hpl.jena.rdf.model.Resource r)
throws AcuityException
superClsList - r -
AcuityException
public boolean isOntPropertySubPropertyOfOntProperty(java.lang.String propName,
java.lang.String superPropName,
boolean bDirectOnly)
throws AcuityException
propName - - the localname or URI of the OntPropertysuperPropName - - the localname or URI of the superProperty to checkbDirectOnly - - pass true if only direct membership is to be checked; otherwise the superProperty hierarchy will be used
AcuityExceptionpublic java.lang.String getInstanceDataNamespace()
public java.lang.String mkInstanceDataURI(java.lang.String localName)
localName - - the local name fragment to be used
public java.util.ArrayList getInstancesOfClass(java.lang.String className)
throws AcuityException
className - - The name (URI) of the Class for which instances are desired
AcuityException - -
public java.util.ArrayList getInstancesOfClass(java.lang.String className,
boolean bIncludeAnon)
throws AcuityException
className - - The name (URI) of the Class for which instances are desiredbIncludeAnon - - if true include anonymous Individuals, otherwise do not
AcuityException - -
public static boolean isSameResource(com.hp.hpl.jena.rdf.model.Resource res1,
java.lang.String res2URI)
res1 - - Resource oneres2URI - - Resource two's URI
public static boolean isSameResource(com.hp.hpl.jena.rdf.model.Resource res1,
com.hp.hpl.jena.rdf.model.Resource res2)
res1 - - Resource oneres2 - - Resource twopublic java.lang.String uriAnalyzer(java.lang.String resourceName)
resourceName - - name of the Resource
public java.util.ArrayList getInstancesOfClass(com.hp.hpl.jena.ontology.OntClass cls,
boolean bIncludeAnon)
throws AcuityException
cls - - The Jena OntClass for which instances are desiredbIncludeAnon - - if true include anonymous Individuals, otherwise do not
AcuityException - -
public java.util.Iterator getMatchingStatements(com.hp.hpl.jena.rdf.model.Resource s,
java.lang.String pName,
java.lang.String oName)
s - - the Resource which is the subject of all matching Statements (can be null to include all subjects)pName - - the name (URI) of the Property which is the predicate of all matching Statements (can be null to include all predicates)oName - - the name (URI) of the Resource which is the object of all matching Statements (can be null to include all objects)
public com.hp.hpl.jena.rdf.model.StmtIterator getMatchingStatements(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
sName - - the name (URI) of the Resource which is the subject of all matching Statements (can be null to include all subjects)pName - - the name (URI) of the Property which is the predicate of all matching Statements (can be null to include all predicates)oName - - the name (URI) of the Resource which is the object of all matching Statements (can be null to include all objects)
public com.hp.hpl.jena.rdf.model.Literal getValueOfDatatypeProperty(java.lang.String subjURI,
java.lang.String predURI)
throws AcuityException
subjURI - - the URI of the Individual which is the subject of the sought-for StatementpredURI - - the URI of the DatatypeProperty which is the predicate of the sought-for Statement
AcuityException - - if more than one Statement if found, an Exception is thrown
public com.hp.hpl.jena.rdf.model.Literal getValueOfDatatypeProperty(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.ontology.OntProperty p)
throws java.util.NoSuchElementException,
AcuityException
s - - the subject of the inquiryp - - the Property of the inquiry
java.util.NoSuchElementException
AcuityException
public com.hp.hpl.jena.ontology.Individual[] getObjectsOfObjectProperty(java.lang.String subjURI,
java.lang.String predURI)
throws AcuityException
subjURI - - the URI of the Individual which is the subject of the sought-for StatementspredURI - - the URI of the DatatypeProperty which is the predicate of the sought-for Statements
AcuityException - - currently no Exception conditions; some may be found
public com.hp.hpl.jena.rdf.model.StmtIterator getMatchingStatements(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
throws AcuityException
s - - the Resource which is the subject of all matching Statements (can be null to include all subjects)p - - the Property which is the predicate of all matching Statements (can be null to include all predicates)o - - the RDFNode which is the object of all matching Statements (can be null to include all objects)
AcuityException
public java.util.List getMissingPropertiesOfAllInstances(boolean bRemember,
boolean bDirectOnly)
throws AcuityException
AcuityException
public void addPossibleAnswerURIs(InteractionContent content)
throws AcuityException
content - - the descriptor of a missing Property for which possible answers is desired
AcuityExceptionpublic java.lang.Object convertObjectToValueOrValuesList(java.lang.Object dataObject)
dataObject -
public java.lang.Object applyFilters(java.lang.Object data,
java.util.List filters)
throws AcuityException
AcuityException
public java.lang.String[] getCachedRowSetColumnsFromFilter(com.hp.hpl.jena.ontology.Individual f)
throws AcuityException
f -
AcuityException
public java.util.List generateListOfPossibleAnswers(com.hp.hpl.jena.rdf.model.Resource rangeClass)
throws AcuityException
rangeClass - - the OntClass for which possible answers is desired
AcuityException
public void addContentDependency(int depType,
java.lang.Object depX,
java.lang.Object depY)
throws AcuityException
depType - - the dependency typedepX - - the dependency independent parameter (key)depY - - the dependency dependent parameter (value)
AcuityExceptionpublic boolean suspendContentDependenciesCapture()
public boolean resumeContentDependenciesCapture()
public boolean capturingContentDependencies()
public PresentationObject getPresentationObject(java.lang.String poURI)
throws AcuityException
poURI - - URI of the Individual corresponding to the PresentationObject
AcuityException
public PresentationObject getPresentationObject(com.hp.hpl.jena.ontology.Individual poInst)
throws AcuityException
poInst - - the Individual of type PresentationObject
AcuityException
public InteractionObject getInteractionObject(MissingProperty mp,
boolean bRemember)
throws AcuityException
mp - - the MissingProperty instance capturing the relevant information about what the user can inputbRemember - - if true remember in the instance namespace any new Individuals or Statements
AcuityException
public void setPresentationObjectValueName(PresentationObject pO,
com.hp.hpl.jena.ontology.Individual poInst)
throws AcuityException
pO - - the PresentationObject (Java object) in which to set the value namepoInst - - the Individual of type PresentationObject (owl:class) with the value name
AcuityException
public InteractionObject getInteractionObject(InteractionContent ic,
boolean bRemember)
throws AcuityException
ic - - the InteractionContent instance capturing the relevant information about what the user can inputbRemember - - if true remember in the instance namespace any new Individuals or Statements
AcuityException
public void refreshPresentationObjectParameters(PresentationObject pO)
throws AcuityException
pO - - the PresentationObject to refresh
AcuityException
public boolean propertyIsParameterProperty(com.hp.hpl.jena.rdf.model.Property p)
throws AcuityException
p - - the Property
AcuityException
public PresentationParameterMap getPresentationParameterMap(com.hp.hpl.jena.ontology.Individual pO,
com.hp.hpl.jena.ontology.OntClass poCls)
throws AcuityException
AcuityException
protected PresentationParameterMap populatePresentationParameterMap(PresentationParameterMap result,
com.hp.hpl.jena.ontology.Individual pO,
com.hp.hpl.jena.ontology.OntClass poCls)
throws AcuityException
AcuityException
public java.lang.Boolean isInteractionObjectEnabled(java.lang.String iaoUri)
throws AcuityException
iaoUri - - the URI of the Individual InteractionObject
AcuityException
public InteractionContent getInteractionObjectContent(java.lang.String iaoUri)
throws AcuityException
iaoUri - - the URI of an Individual which is an instance of an InteractionObject (or subclass thereof)
AcuityException
public InteractionContent getInteractionObjectContent(com.hp.hpl.jena.ontology.Individual iaO)
throws AcuityException
iaO - - an Individual which is an instance of an InteractionObject (or subclass thereof)
AcuityExceptionpublic void clearInteractionContentCache()
public java.util.List cachedRowSetToPossibleAnswerList(sun.jdbc.rowset.CachedRowSet crs)
throws java.sql.SQLException,
AcuityException
crs - - the CachedRowSet
java.sql.SQLException
AcuityExceptionpublic java.lang.String smartStringToURI(java.lang.String ro)
public java.lang.Object advanceProcessToNextStep(com.hp.hpl.jena.ontology.Individual ap,
com.hp.hpl.jena.ontology.Individual as)
throws AcuityException
ap - - the process to advanceas - - the current active step
AcuityException
public java.util.List getEffects(com.hp.hpl.jena.ontology.Individual iao)
throws AcuityException
iao - - the Individual that has the effects, e.g., an InteractionObject
AcuityException
public static java.lang.Object combineData(java.lang.Object existingData,
java.lang.Object newData)
public com.hp.hpl.jena.ontology.Individual addCompositeParameter(java.lang.String pOURI,
java.lang.String paramName,
java.util.Map values)
throws AcuityException
pOURI - - the Individual of type PresentationObject or Parameter to which the composite Parameter is to be addedparamName - - the name of the Parameter Property connecting the new composite Parameter to the pOvalues - - a Hashtable of key (Parameter Property) value (Integer, Boolean, etc. or Hashtable for sub-composite Parameter) pairs
AcuityException
public com.hp.hpl.jena.ontology.Individual addCompositeParameter(com.hp.hpl.jena.ontology.Individual pO,
java.lang.String paramName,
java.util.Map values)
throws AcuityException
pO - - the Individual of type PresentationObject or Parameter to which the composite Parameter is to be addedparamName - - the name of the Parameter Property connecting the new composite Parameter to the pOvalues - - a Hashtable of key (Parameter Property) value (Integer, Boolean, etc. or Hashtable for sub-composite Parameter) pairs
AcuityException
public java.lang.String canReplacePOWithClone(com.hp.hpl.jena.ontology.Individual inst)
throws AcuityException
inst - - the Individual PO
AcuityException
protected com.hp.hpl.jena.ontology.Individual replaceSubjectWithClone(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj,
com.hp.hpl.jena.rdf.model.RDFNode newObj)
throws AcuityException
AcuityException
public java.lang.Object[] getContextualInfoAbout(java.lang.String aboutURI)
throws AcuityException
aboutURI - - the Resource for which information is requested
AcuityException
public java.util.List getContainersOfWithinContainer(com.hp.hpl.jena.ontology.Individual container,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.Individual contained)
throws AcuityException
container - p - contained -
AcuityException
public boolean isSameInteractionContent(InteractionContent ic1,
InteractionContent ic2)
throws AcuityException
ic1 - - first InteractionContentic2 - - second InteractionContent
AcuityException
public boolean isSameInteractionContent(MissingProperty ic1,
InteractionContent ic2)
throws AcuityException
ic1 - - first InteractionContentic2 - - second InteractionContent
AcuityException
public boolean isContentOfInteractionObject(java.lang.String ioUri,
MissingProperty mp)
throws AcuityException
ioUri - - the URI of the InteractionObjectmp - - the instance of the Java InteractionContent class for comparison
AcuityException
public java.lang.Object replaceAnchorTerm(java.lang.String term)
throws AcuityException
AcuityException
protected java.lang.String getAnchorReplacementAsString(java.lang.String term,
boolean localNameOnly)
throws AcuityException
AcuityException
protected java.lang.Object getAnchorReplacement(java.lang.String term,
boolean localNameOnly)
throws AcuityException
AcuityException
public java.lang.String getScriptFailureReturnValue(com.hp.hpl.jena.ontology.Individual script)
throws AcuityException
AcuityExceptionpublic com.hp.hpl.jena.ontology.Individual getCurrentPresentationObject()
protected java.lang.String getReplacementStringFromIndividual(java.lang.String term,
com.hp.hpl.jena.ontology.Individual inst,
boolean localNameOnly)
throws AcuityException
AcuityException
protected java.lang.String getReplacementStringFromProperty(java.lang.String term,
com.hp.hpl.jena.rdf.model.Property p,
boolean localNameOnly)
throws AcuityException
AcuityExceptionpublic static java.lang.String stripURINamespace(java.lang.String uri)
uri - - the URI to strip
public java.lang.String replaceAllAnchors(java.lang.String stmt)
throws AcuityException
AcuityException
public java.lang.Object replaceAllAnchors(java.lang.String stmt,
boolean multipleValuesAllowed)
throws AcuityException
stmt - - the statement in which anchor expansion is to occurmultipleValuesAllowed - - if true allow multiple values of anchors else collapse to a single value
AcuityException
public static java.lang.String replaceAll(java.lang.String s1,
java.lang.String s2,
java.lang.String r)
s1 - s2 - r -
public static com.hp.hpl.jena.ontology.OntClass getAllValuesFromRestrictionClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
cls - - the OntClass for which the restriction is requestedprop - - the OntProperty being restricted
public com.hp.hpl.jena.rdf.model.RDFNode[] getHasValueRestrictions(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
inst - - the OntClass for which the restrictions are desiredprop - - the OntProperty restricted
public static com.hp.hpl.jena.rdf.model.RDFNode[] getHasValueRestrictions(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
cls - - the OntClass for which the restrictions are desiredprop - - the OntProperty restricted
public static java.util.List getHasValueRestrictions(com.hp.hpl.jena.ontology.OntClass cls)
cls - - the OntClass for which the HasValueRestrictions are desired
public static java.util.List getSomeValuesFromRestrictions(com.hp.hpl.jena.ontology.OntClass cls)
cls - - the OntClass for which the SomeValuesFromRestrictions are desired
public static java.util.List getClassNecessaryConditionsOnProperties(com.hp.hpl.jena.ontology.OntClass cls)
cls - - the OntClass for which the SomeValuesFromRestrictions are desired
public static java.util.List getClassNecessaryConditionsOnProperty(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
cls - - the OntClass for which the Property Restrictions are desiredp - - the Property restricted
AcuityException
public static com.hp.hpl.jena.rdf.model.Resource[] getSomeValuesFromRestrictions(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
cls - - the OntClass for which the restrictions are desiredprop - - the OntProperty restricted
public java.util.List getActionableRestrictionsOfIndividual(com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty prop)
prop - - the OntProperty restricted
public java.util.List getActionableRestrictionsOfClass(com.hp.hpl.jena.ontology.OntClass subjClass,
com.hp.hpl.jena.ontology.OntProperty prop)
public static int getLeastCardinalityRestriction(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty pred)
cls - - the Classpred - - the Property
public static com.hp.hpl.jena.ontology.OntClass[] getOntPropertyRangeRestrictions(com.hp.hpl.jena.ontology.OntProperty p)
p - - the OntProperty for which the range is desired
public static int cardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop,
boolean bDirectOnly)
cls - - the OntClass for which the restriction is requestedprop - - the OntProperty being restricted
public static int cardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
public static int cardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
public static int minCardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
cls - - the OntClass for which the restriction is requestedprop - - the OntProperty being restricted
public static int maxCardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.OntProperty prop)
cls - - the OntClass for which the restriction is requestedprop - - the OntProperty being restricted
public static int maxCardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty prop)
public java.util.List getMissingProperties(java.lang.String instURI,
boolean bRemember,
boolean bDirectOnly)
throws AcuityException
instURI - - the name (URI) of the Individual for which missing Properties are desiredbRemember - - if true remember anything created while precessing else don'tbDirectOnly - - if true only look at directly associated things
AcuityException - -
public java.util.List getAllValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
throws AcuityException
rest -
AcuityException
public java.util.List convertUnionToList(com.hp.hpl.jena.ontology.OntClass unionClass)
throws AcuityException
AcuityException
public java.util.List getSomeValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
throws AcuityException
rest -
AcuityException
public boolean confirmStatementWithObjectClass(com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred,
com.hp.hpl.jena.rdf.model.Resource rngClass)
throws AcuityException
subj - - the subject Individualpred - - the predicate OntPropertyrngClass - - the specified range Class
AcuityException
public com.hp.hpl.jena.ontology.Individual createTimeNamedIndividual(com.hp.hpl.jena.ontology.OntClass cls,
boolean bRemember)
throws AcuityException
cls - - the OntClass of the new IndividualbRemember - - true if the new Individual should be persisted beyond this session
AcuityException
public java.lang.Object processUpdaterScript(java.lang.String scriptUri,
java.util.Map nameValuePairs,
boolean bRemember)
throws AcuityException
scriptUri - - the URI of the script IndividualnameValuePairs - - a set of named value pairs which will be passed to a Java method and used as local anchors script executionbRemember - - true if assertions in the ontology are to be stored persistently else false
AcuityException
public java.lang.Object processScript(java.lang.String scriptUri,
boolean bRemember)
throws AcuityException
scriptUri - - the URI of the script IndividualbRemember - - true if assertions in the ontology are to be stored persistently else false
AcuityException
public java.lang.Object processOnDemandAction(java.lang.String actionURI,
java.lang.Object[] arguments)
throws AcuityException
actionURI - - the URI of the APVF_ONDEMANDACTION to be executedarguments - - any additional arguments (besides this AcuityController instance) to be passed to the Java static method
AcuityException
public java.lang.Object processAction(com.hp.hpl.jena.ontology.Individual action,
java.lang.Object[] args)
throws AcuityException
action - - the Individual identifying the Java action to processargs - - additional arguments to be passed to the Java action method
AcuityException
public java.util.List[] getAllDefaultsOfInstanceWithSameContext(java.lang.String defaultsNamespace,
com.hp.hpl.jena.ontology.OntClass cls,
com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.Individual ctxSubj,
com.hp.hpl.jena.ontology.OntProperty ctxPred,
boolean bDirectOnly)
throws AcuityException
cls - inst - ctxSubj - ctxPred -
AcuityExceptionpublic java.util.Iterator listPropertiesWithClassInDomain(com.hp.hpl.jena.ontology.OntClass cls)
cls -
public java.lang.Object processInteractionAnswer(java.lang.String interactionObjectURI,
java.lang.String answerURI,
boolean bRemember)
throws AcuityException
interactionObjectURI - - the URI of the InteractionObject instance containing the questionanswerURI - - the answer proffered; either a Resource to serve as object of a new statement or an APVF_ONDEMANDACTION to be executedbRemember - - true if the new Statement is to be remembered else false
AcuityException
public InteractionContent findInteractionContentOfIaO(java.lang.String interactionObjectURI)
throws AcuityException
interactionObjectURI - - the URI of the Individual representing the InteractionObject
AcuityException
public java.lang.Object processInteractionAnswer(InteractionContent iaoContent,
java.lang.String answerURI,
boolean bRemember)
throws AcuityException
iaoContent - - the InteractionContent instance containing the questionanswerURI - - the answer proffered; either a Resource to serve as object of a new statement or an APVF_ONDEMANDACTION to be executedbRemember - - true if the new Statement is to be remembered else false
AcuityException
public java.lang.Object processInteractionAnswer(InteractionContent iaoContent,
org.apache.struts.upload.FormFile answer,
boolean bRemember)
throws AcuityException
iaoContent - the iao contentbRemember - the b rememberanswer - the FormFile answer
AcuityException - the acuity exception
public java.lang.Object clearPropertyValue(com.hp.hpl.jena.ontology.Individual script,
com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred)
throws AcuityException
script - - the script doing the clearing (if any -- specifies error handling)subj - - the subject of the tripple(s) to be clearedpred - - the predicate of the tripples(s) to be cleared
AcuityException - - if the property can't be removed without violating restrictions
public java.lang.Object processEffectsStmts(java.util.List effectStmts,
boolean bRemember)
throws AcuityException,
java.util.NoSuchElementException
effectStmts - - the List of Script statementsbRemember - - if true make any ontology changes persist beyond this session
AcuityException
java.util.NoSuchElementException
public java.lang.Object processScript(com.hp.hpl.jena.ontology.Individual scr,
boolean bRemember)
throws AcuityException,
java.util.NoSuchElementException
scr - - the Individual of type Script to be processedbRemember - - if true remember any Statements or Resources inserted into the ontology else don't remember them beyond this session
AcuityException
java.util.NoSuchElementExceptionpublic java.lang.Object setGroupInputValues(java.lang.Object _groupInputValues)
_groupInputValues -
public InteractionObject findInteractionObjectOfMissingProperty(MissingProperty mp)
mp - - the MissingProperty associated with the InteractionObject
public InteractionObject findInteractionObjectOfMissingProperty(InteractionContent ic)
throws AcuityException
ic - - the MissingProperty associated with the InteractionObject
AcuityExceptionpublic InteractionObject findInteractionObjectOfMissingProperty(java.lang.String iaoUri)
iaoUri - - the URI of the InteractionObject representing the MissingProperty
public InteractionObject findInteractionObjectOfMissingProperty(com.hp.hpl.jena.ontology.Individual iaO)
public void cleanFunctionalPropertyOldValue(com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty predicate)
public void investigateOntClass(com.hp.hpl.jena.ontology.OntClass c,
InteractionContent mpi)
c - - a particular OntClass to be investigatedmpi - - a InteractionContent instance to which data may be addedpublic com.hp.hpl.jena.ontology.OntClass getOntClass(java.lang.String clsURI)
clsURI - - the name (URI) of the OntClass to be found
public com.hp.hpl.jena.ontology.OntClass getOntClassMustExist(java.lang.String clsURI)
throws AcuityException
clsURI - - the URI of the OntClass to be found
AcuityException - - if an OntClass with the URI isn't found in the modelpublic com.hp.hpl.jena.ontology.OntProperty getOntProperty(java.lang.String propURI)
propURI - - the name (URI) of the OntProperty to be found
public com.hp.hpl.jena.ontology.OntProperty getOntPropertyMustExist(java.lang.String propURI)
throws AcuityException
propURI - - the name (URI) of the OntProperty to be found
AcuityExceptionpublic com.hp.hpl.jena.rdf.model.Resource getResource(java.lang.String resourceURI)
resourceURI - - the name (URI) of the Resource to be found
public com.hp.hpl.jena.ontology.Individual getIndividual(java.lang.String instanceURI)
instanceURI - - the Individual localName or URI
public java.lang.String getResourceComment(java.lang.String resourceURI)
resourceURI - - the localname or URI of the Resource
public java.lang.String getResourceLabel(java.lang.String resourceURI)
throws AcuityException
resourceURI - - the localname or URI of the Resource
AcuityExceptionpublic java.lang.String getIndividualLabel(java.lang.String answerURI)
answerURI - - the URI of the Individual whose label is desired
AcuityException
public java.lang.String getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res)
throws AcuityException
res - - the Resource
AcuityException
public java.lang.String getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res,
boolean bReplaceAnchors)
throws AcuityException
res - - the ResourcebReplaceAnchors - - true if anchors are to be replaced, false if not (e.g., when getting the class label to assign to a new instance--don't want to replace anchors at that time)
AcuityException
public java.lang.String getIndividualClassLabel(java.lang.String instanceURI)
throws AcuityException
instanceURI - - the URI of the Individual whose class label is desired
AcuityException
public java.lang.String getIndividualClassLabel(com.hp.hpl.jena.ontology.Individual inst)
throws AcuityException
inst - - the Individual whose class label is desired
AcuityException
public boolean setResourceLabel(java.lang.String resourceURI,
java.lang.String label)
resourceURI - - the localname or URI of the Resourcelabel - - the value to be assigned as the label (old label, if any, will be replaced)
public void setResourceLabel(com.hp.hpl.jena.rdf.model.Resource resource,
java.lang.String label)
resource - - the Resourcelabel - - the label to be assigned (old label, if any, will be replaced)public void setTraceLevel(int traceLevel)
traceLevel - -
the amount of log4j output to be generated; see
AcuityConstants for possible valuespublic org.apache.log4j.Level getTraceLevel()
public boolean isTraceOn()
public org.apache.log4j.Logger getLogger()
public com.hp.hpl.jena.rdf.model.Statement setUser(java.lang.String userID,
boolean bOkToCreate)
throws AcuityException
userID - - the new user identitybOkToCreate - - true if it is ok to create a new user if one matching this identity is not found
AcuityExceptionpublic com.hp.hpl.jena.ontology.Individual getUser()
public com.hp.hpl.jena.ontology.Individual getFrame()
throws AcuityException
AcuityException
public com.hp.hpl.jena.ontology.Individual getFocusVantageOfFrame(com.hp.hpl.jena.ontology.Individual frame)
throws AcuityException
frame - - the current Frame instance
AcuityException
public java.util.List getVantagesOfFrame(com.hp.hpl.jena.ontology.Individual frame)
throws AcuityException
frame - - the current Frame instance
AcuityException
public java.util.List getVantagesOfFrame(java.lang.String frameURI)
throws AcuityException
AcuityException
public java.util.List getInformationObjectsOfVantage(com.hp.hpl.jena.ontology.Individual vantage)
throws AcuityException
vantage - - the Vantage instance for which the POs are desired
AcuityException
public java.util.List getPresentationObjectContents(com.hp.hpl.jena.ontology.Individual pO)
throws AcuityException
pO - - the PresentationObject instance for which the contained POs are desired
AcuityException
public java.util.List getPresentationObjectContents_Old(com.hp.hpl.jena.ontology.Individual pO)
throws AcuityException
pO - - the PresentationObject instance for which the contained POs are desired
AcuityException
public java.util.List graphQueryWithTransitiveSupport(java.lang.String startNodeUri,
java.util.List orderedPredicateUris)
throws AcuityException
startNodeUri - - URI of starting node or an operatororderedPredicateUris - - List of URIs of predicates to follow, in order
AcuityException
public com.hp.hpl.jena.rdf.model.Statement tell(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
s - - the Resource which is the subject of the new Statementp - - the Property which is the predicate of the new Statemento - - the RDFNode which is the object of the new Statement
public com.hp.hpl.jena.rdf.model.Statement tell(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o,
boolean bRememberStmt)
s - - the Resource which is the subject of the new Statementp - - the Property which is the predicate of the new Statemento - - the RDFNode which is the object of the new StatementbRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
public com.hp.hpl.jena.rdf.model.Statement tell(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName)
throws AcuityException
propName - - the name (URI) of the Resource which is the subject of the new StatementsubjName - - the name (URI) of the Property which is the predicate of the new StatementobjName - - the Name (URI) of the Resource which is the object of the new Statement
AcuityException - -
public com.hp.hpl.jena.rdf.model.Statement tell(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName,
boolean bRememberStmt)
throws AcuityException
propName - - the name (URI) of the Resource which is the subject of the new StatementsubjName - - the name (URI) of the Property which is the predicate of the new StatementobjName - - the Name (URI) of the RDFNode which is the object of the new StatementbRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
AcuityException - -
public com.hp.hpl.jena.rdf.model.Statement update(java.lang.String sUri,
java.lang.String pUri,
java.lang.String oldObjUri,
java.lang.String newObjUri,
boolean bRemember)
throws AcuityException
sUri - - the URI of the subject of the Statement to be updatedpUri - - the URI of the predicate of the Statement to be updatedoldObjUri - - the URI of the object of the existing Statement to be updated (or null if any Statement is ok)newObjUri - - the URI of the new object for the updated StatementbRemember - - if true remember the new Statement persistently else don't
AcuityException
public com.hp.hpl.jena.rdf.model.Statement update(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode oldObject,
com.hp.hpl.jena.rdf.model.RDFNode newObject,
boolean bRemember)
throws AcuityException
s - - the subject of the Statement to be updatedp - - the predicate of the Statement to be updatedoldObject - - the old object of the Statement to be updated (or null if any Statement is ok)newObject - - the new object for the updated StatementbRemember - - if true remember the new Statement persistently else don't
AcuityException
public java.lang.String getDatatypePropertyType(java.lang.String pUri)
throws AcuityException
pUri - - the URI of the Property for which type is desired
AcuityException
public java.lang.String getDatatypePropertyType(com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
p - - the Property for which type is desired
AcuityException
public void setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
int iVal)
s - - the Individual having the property valuep - - the DatatypePropertyiVal - - the int value to be given as the property value
public void setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
float fVal)
s - - the Individual having the property valuep - - the DatatypePropertyfVal - - the float value to be given as the property value
public void setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
boolean bVal)
s - - the Individual having the property valuep - - the DatatypePropertybVal - - the boolean value to be given as the property value
public void setDatatypePropertyValue(com.hp.hpl.jena.ontology.Individual s,
com.hp.hpl.jena.ontology.OntProperty p,
java.lang.String sVal)
s - - the Individual having the property valuep - - the DatatypePropertysVal - - the String value to be given as the property value
public com.hp.hpl.jena.rdf.model.Statement addStatement(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
s - - the Resource which is the subject of the new Statementp - - the Property which is the predicate of the new Statemento - - the RDFNode which is the object of the new Statement
public com.hp.hpl.jena.rdf.model.Statement addStatement(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o,
boolean bRememberStmt)
s - - the Resource which is the subject of the new Statementp - - the Property which is the predicate of the new Statemento - - the RDFNode which is the object of the new StatementbRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
public com.hp.hpl.jena.rdf.model.Statement addStatement(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName)
throws AcuityException
propName - - the name (URI) of the Resource which is the subject of the new StatementsubjName - - the name (URI) of the Property which is the predicate of the new StatementobjName - - the Name (URI) of the Resource which is the object of the new Statement
AcuityException - -
public com.hp.hpl.jena.rdf.model.Statement addStatement(java.lang.String subjName,
java.lang.String propName,
java.lang.String objName,
boolean bRememberStmt)
throws AcuityException
propName - - the name (URI) of the Resource which is the subject of the new StatementsubjName - - the name (URI) of the Property which is the predicate of the new StatementobjName - - the Name (URI) of the RDFNode which is the object of the new StatementbRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
AcuityException - -public boolean isUnreifiedInstanceOfClass(java.lang.String subjName)
subjName - - the candidate URI
public boolean isInferenceModelValid()
throws AcuityException
AcuityExceptionpublic java.lang.String checkModelLanguage()
public java.lang.String checkModelLanguage(boolean bIgnoreRDFLists)
bIgnoreRDFLists - - if true ignore "Full" properties of RDFList in report
public boolean confirm(java.lang.Object subject,
java.lang.Object predicate,
java.lang.Object object)
throws AcuityException
subject - - the subject of the Statement to be confirmed, either a Resource or a Resource name (URI) as a Stringpredicate - - the predicate of the Statement to be confirmed, either as a Property or a Property name (URI) as a Stringobject - - the object of the Statement to be confirmed, either as an Resource or a Resource name (URI) as a String or an Object which can be the object of a Datatype Property
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
java.lang.String instName)
throws AcuityException
className - - the name (URI) of the Class of the new IndividualinstName - - the name (URI) of the new Individual
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String className,
java.lang.String instName)
throws AcuityException
className - - the name (URI) of the Class of the new IndividualinstName - - the name (URI) of the new Individual
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
java.lang.String instName,
boolean bRememberInstance)
throws AcuityException
className - - the name (URI) of the Class of the new IndividualinstName - - the name (URI) of the new IndividualbRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operation
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String className,
java.lang.String instName,
boolean bRememberInstance)
throws AcuityException
className - - the name (URI) of the Class of the new IndividualinstName - - the name (URI) of the new IndividualbRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operation
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
throws AcuityException
className - - the name (URI) of the Class of the new IndividualinstName - - the name (URI) of the new IndividualbRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operationcomment - - a comment to add to the new Individual
AcuityException - -
public com.hp.hpl.jena.ontology.Individual createIndividualWithoutActionsOrDefaults(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
throws AcuityException
cls - - the class of the new IndividualinstName - - the name of the new IndividualbRememberInstance - - true if this Individual is to be persisted (remembered) beyond the current session (if save occurs)comment - - the annotation rdfs:comment to be assigned
AcuityException
public com.hp.hpl.jena.ontology.Individual createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance)
throws AcuityException
cls - - the Class of the new IndividualinstName - - the name of the new Individual or null for a system-generated namebRememberInstance - - true if this new Individual is to be persisted beyond this session
AcuityException
public com.hp.hpl.jena.ontology.Individual createIndividualInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance)
throws AcuityException
cls - - the Class of the new IndividualinstName - - the name of the new Individual or null for a system-generated namebRememberInstance - - true if this new Individual is to be persisted beyond this session
AcuityException
public com.hp.hpl.jena.ontology.Individual createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment)
throws AcuityException
cls - - the Class of the new IndividualinstName - - the name of the new Individual or null for a system-generated namebRememberInstance - - true if this new Individual is to be persisted beyond this sessioncomment - - the comment to be given to the new Individual
AcuityException
public com.hp.hpl.jena.ontology.Individual createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
java.lang.String instName,
boolean bRememberInstance,
java.lang.String comment,
com.hp.hpl.jena.ontology.Individual subj,
com.hp.hpl.jena.ontology.OntProperty pred)
throws AcuityException
instName - comment - subj - pred -
AcuityExceptionpublic com.hp.hpl.jena.rdf.model.Property createProperty(java.lang.String propURI)
propURI - - the name (URI) of the new Property
AcuityException - -public com.hp.hpl.jena.rdf.model.Resource createResource(java.lang.String resourceURI)
resourceURI - - the name (URI) of the new Resource
AcuityException - -public void displayClassHierarchy(java.io.PrintStream out)
out - - the PrintStream to which the display is to be sent, e.g., System.out
public void displayClassHierarchy(java.io.PrintStream out,
boolean bShowIndividuals)
out - - the PrintStream to which the display is to be sent, e.g., System.outbShowIndividuals - - if true show the Individuals belonging to each Class in the hierarchypublic long getModelSize()
public void displayDeductions()
public void listClasses(java.io.PrintStream out)
throws AcuityException
out - - PrintStream to which output should be sent; if null will be sent to log4j logger
AcuityException - -
public void listClasses()
throws AcuityException
AcuityException - -public java.lang.String getNsPrefixURI(java.lang.String prefix)
prefix - -
the prefix for the name space, e.g., "owl" is normally used as
a prefix representing http://www.w3.org/2002/07/owl
public java.lang.String getResourceNsUriPrefix(com.hp.hpl.jena.rdf.model.Resource n)
n - - the Resource
public java.lang.String getResourceURI(java.lang.String localName)
throws AcuityException
AcuityException - -
public void listIndividuals()
throws AcuityException
AcuityException - -
public void listIndividuals(java.io.PrintStream out)
throws AcuityException
out - - PrintStream to which output should be sent; if null will be sent to log4j logger
AcuityException - -
public java.lang.String mkURI(java.lang.String ns,
java.lang.String localName)
localName - - the name of a Resource in the given namespacens - - the namespace
public static java.lang.String mkLegalLocalName(java.lang.String originalName)
originalName - - the possibly illegal URI localName
public void setResourceFilter(boolean bIncludeAnon,
boolean bAllowDuplicates,
java.util.List nsURIFilter)
bIncludeAnon - - if and only if true include anonymous Resources in resultsbAllowDuplicates - - if and only if true include duplicates in resultsnsURIFilter - - a List of namespaces which should be excluded from resultspublic boolean setResourceIncludeAnonFilter(boolean bIncludeAnon)
bIncludeAnon - - if and only if true include anonymous Resources in results
public boolean setResourceAllowDuplicatesFilter(boolean bAllowDuplicates)
bAllowDuplicates - - if and only if true include duplicates in results
public java.util.List setResourceNSURIFilter(java.util.List nsURIFilter)
nsURIFilter - - a List of namespaces which should be excluded from results
public boolean getResourceIncludeAnonFilter()
public boolean getResourceAllowDuplicateFilter()
public java.util.List getResourceNSURIFilter()
public java.util.List[] sparqlQuery(java.lang.String queryStr)
throws AcuityException
queryStr - - the SPARQL query string
AcuityException
public java.lang.Object xrdqlQuery(java.lang.String queryStr)
throws AcuityException
queryStr - - the query string
AcuityException
public java.lang.String preprocessQueryString(java.lang.String queryStr)
throws AcuityException
queryStr -
AcuityException
public java.lang.Object preprocessQueryStringWithMultiValuedAnchors(java.lang.String queryStr)
throws AcuityException
AcuityExceptionpublic java.lang.String replacePrefixesInAngleBracketedURIs(java.lang.String qstr)
public java.lang.String save()
throws AcuityException
AcuityException - -
public com.hp.hpl.jena.rdf.model.Resource getDatatypePropertyDefaultType(com.hp.hpl.jena.rdf.model.RDFNode curParamValue)
throws AcuityException
curParamValue -
AcuityException
public com.hp.hpl.jena.rdf.model.Model selectorQuery(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
s - - the Resource which is the subject of all matching Statements (can be null to include all subjects)p - - the Property which is the predicate of all matching Statements (can be null to include all predicates)o - - the RDFNode which is the object of all matching Statements (can be null to include all objects)
public java.lang.String getIndividualLocalName(java.lang.String instURI)
instURI - - the URI of the Individual for which the local name is desired
AcuityException
public java.lang.String getIndividualLocalName(com.hp.hpl.jena.ontology.Individual inst)
throws AcuityException
inst - - the Individual for which an original or local name is desired
AcuityException
public java.lang.String getReplacementStringFromResource(com.hp.hpl.jena.rdf.model.Resource r,
boolean bUseLocalName)
r - - the Resource
protected com.hp.hpl.jena.rdf.model.ModelMaker getMaker()
throws AcuityException
AcuityException - -
protected com.hp.hpl.jena.rdf.model.ModelMaker getMaker(java.lang.String dbURI,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String dbType,
java.lang.String dbDriverClassName)
dbURI - -
the URI of the database connection, e.g., "jdbc:mysql://research.ge.com/MyProto.owl";dbUser - -
the database user id for this connectiondbPassword - -
the password for database access for this userdbType - -
the type of database, e.g., "MySQL"dbDriverClassName - -
the Java class name for the Driver used to connect to the database, e.g., "com.mysql.jdbc.Driver"
protected boolean checkInstanceForLegacyDataContent(java.util.ArrayList individuals,
com.hp.hpl.jena.ontology.Individual inst)
throws AcuityException
individuals - - the List to which any instances found in a legacy relational database are to be addedinst - - the Individual to be checked
AcuityException - -protected java.lang.String checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m)
m - - Jena OntModel for which the language is to be checked
protected java.lang.String checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m,
boolean ignoreRDFLists)
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable - -public void close()
protected java.util.ArrayList loadIndividualsFromDB(java.util.ArrayList individuals,
com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.rdf.model.RDFNode dbDesc)
throws AcuityException
individuals - - the List to which any discovered instances are to be addeddbDesc - - the DBInstancesDescriptor identifying the remote legacy database content which are instances
AcuityException - -
public int getCachedRowSetColumnNumber(java.sql.ResultSetMetaData rsmd,
java.lang.String colName)
throws java.sql.SQLException
colName - rsmd -
java.sql.SQLException
public int[] getCachedRowSetColumnNumbers(java.sql.ResultSetMetaData rsmd,
java.lang.String[] colName)
throws java.sql.SQLException,
AcuityException
colName - rsmd -
java.sql.SQLException
AcuityException
public java.util.Hashtable getInstancesOfClassWithProperties(java.lang.String className,
java.lang.String[] props,
boolean bIncludeAnon)
throws AcuityException
className - - the name (URI) of the Class constraining the resultsprops - - an array of the names (URIs) of the Properties constraining the resultsbIncludeAnon - - if true anonymous Resources will be included in the results, otherwise not
AcuityException - -
public com.hp.hpl.jena.rdf.model.StmtIterator ask(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
sName - - the name (URI) of the subject of the question or null if the subject is unspecifiedpName - - the name (URI) of the predicate of the question or null if the predicate is unspecifiedoName - - the String identifying the object of the question or null if the object is unspecified
public com.hp.hpl.jena.rdf.model.StmtIterator ask(com.hp.hpl.jena.rdf.model.Resource s,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
throws AcuityException
s - - the Resource which is the subject of the question or null if the subject is unspecifiedp - - the Property which is the predicate of the question or null if the predicate is unspecifiedo - - the RDFNode which is the object of the question or null if the object is unspecified
AcuityException
public java.util.List askFiltered(java.lang.String sName,
java.lang.String pName,
java.lang.String oName)
sName - - the name (URI) of the subject of the question or null if the subject is unspecifiedpName - - the name (URI) of the predicate of the question or null if the predicate is unspecifiedoName - - the String identifying the object of the question or null if the object is unspecified
public java.util.List getMatchingStatementObjects(com.hp.hpl.jena.ontology.Individual inst,
com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
inst - - the subject of interestp - - the predicate of interest
AcuityExceptionpublic com.hp.hpl.jena.ontology.OntModel getTheModel()
public com.hp.hpl.jena.rdf.model.Model getBaseModel()
public void closeConnection(java.sql.Connection conn,
java.lang.String[] connInfo)
conn - - the remoate database Connection to be closedconnInfo - - the String array of information used to open the Connection, the second element of which is the db connection string
public java.sql.Connection establishConnection(java.lang.String[] connInfo)
throws java.sql.SQLException
connInfo - - a String array of 4 elements containing the information necessary to establish a connection; 1) the db driver string, 2) the db connection string, 3) the db login user id, and 4) the db login password
java.sql.SQLException - -
public java.lang.String getDatatypePropertyLexicalForm(com.hp.hpl.jena.rdf.model.RDFNode node,
java.lang.String propName)
throws AcuityException
AcuityException
protected com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyLiteral(com.hp.hpl.jena.rdf.model.RDFNode node,
java.lang.String propName)
throws AcuityException
AcuityExceptionpublic com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueAsLiteral(java.lang.Object value)
value - - the Object to convert to a Literal, e.g., Boolean, Integer, etc.
public java.lang.String localName(java.lang.String name)
name - - the name to check for URI format
public void printActiveModel()
public void printActiveModel(java.lang.String fn)
fn - - the filename to which the model should be printedpublic boolean testSuperPropertyBug()
public boolean updatePresentationParameterMap(PresentationParameterMap ppm,
java.lang.String propLocalName,
java.lang.Object newVal)
throws AcuityException
ppm - - the map to be updatedpropLocalName - - the local name of the property which is the key in the mapnewVal - - the new value for the parameter
AcuityException
public boolean updatePresentationParameterMap(PresentationParameterMap ppm,
java.lang.String propLocalName,
com.hp.hpl.jena.rdf.model.RDFNode oldVal,
java.lang.Object newVal)
throws AcuityException
ppm - - the map to be updatedpropLocalName - - the local name of the property which is the key in the mapoldVal - - the old value for the parameter (only needed if non-functional property with multiple values)newVal - - the new value for the parameter
AcuityExceptionpublic void setParametersModifiedSinceSave(boolean bFlag)
public boolean getParametersModifiedSinceSave()
public java.lang.String canClone(PresentationParameterMap ppm,
java.lang.String propLocalName,
com.hp.hpl.jena.rdf.model.RDFNode oldObj)
throws AcuityException
ppm - - the PresentationParameterMap containing (and for) the subjectpropLocalName - - the localname of the Property that is the key to the value in the mapoldObj - - the RDFNode representing the previous value in the map
AcuityExceptionpublic boolean isResourceInInstanceNamespace(com.hp.hpl.jena.rdf.model.Resource r)
r - - the Resource
public boolean isResourceInNamespace(com.hp.hpl.jena.rdf.model.Resource r,
java.lang.String namespace)
r - - the Resourcenamespace - - the Namespace
public com.hp.hpl.jena.rdf.model.Property getSeeAlsoProperty()
public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueAsLiteral(java.lang.Object newVal,
java.lang.String xsdType)
throws java.lang.NumberFormatException,
AcuityException
newVal - xsdType -
java.lang.NumberFormatException
AcuityException
public com.hp.hpl.jena.rdf.model.StmtIterator getMatchingParameters(PresentationParameterMap ppm,
java.lang.String propLocalName)
ppm - - the PresentationParameterMap to be searchedpropLocalName - - the local name of the Property to be used as key in search
public java.lang.Object processMultipleInteractionAnswers(InteractionContent iaoContent,
java.lang.String[] answerURIs,
boolean bRemember)
throws AcuityException
iaoContent - - the InteractionContent instance containing the questionanswerURIs - - the array of answers proffered; each answer should be a URI for an answerbRemember - - true if the new Statement is to be remembered else false
AcuityException
public java.lang.Object processGroupedInput(com.hp.hpl.jena.ontology.Individual groupInst,
java.lang.Object data)
throws AcuityException
groupInst - - the Individual which is grouping container, an InputFormObject or a DatastoreUpdateSetdata - - the name-value pairs or List of name-value pairs to be processed
AcuityException
java.util.NoSuchElementException
public java.lang.Object processGroupedInput(java.lang.String groupURI,
java.util.Map nameValuePairs)
throws AcuityException
groupURI - - the URI of the Individual which is grouping container, an InputFormObject or a DatastoreUpdateSetnameValuePairs - - the name-value pairs to be processed
AcuityException
java.util.NoSuchElementExceptionpublic com.hp.hpl.jena.ontology.OntClass createClass(java.lang.String clsURI)
clsURI - - the URI of the class to be created (if it doesn't already exist)
public com.hp.hpl.jena.ontology.OntClass createClassInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String clsName)
throws AcuityException
AcuityException
public com.hp.hpl.jena.ontology.AllValuesFromRestriction createAllValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
s - - the class to which the restriction is being addedp - - the property which is being restrictedv - - the class which is the value of the restriction
public com.hp.hpl.jena.ontology.AllValuesFromRestriction createAllValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
throws AcuityException
s - - the class to which the restriction is being addedp - - the property which is being restrictedv - - the class which is the value of the restriction
AcuityException
public boolean removeAllValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
s - - the class from which the restriction is to be removedp - - the property restrictedv - - the value to which the property is restricted
public com.hp.hpl.jena.ontology.SomeValuesFromRestriction createSomeValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
s - - the class to which the restriction is being addedp - - the property which is being restrictedv - - the class which is the value of the restriction
public com.hp.hpl.jena.ontology.SomeValuesFromRestriction createSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass subj,
com.hp.hpl.jena.ontology.OntProperty pred,
com.hp.hpl.jena.ontology.OntClass valuesFromClass)
throws AcuityException
AcuityException
public boolean removeSomeValuesFromRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass v)
s - - the class from which the restriction is to be removedp - - the property restrictedv - - the value to which the property is restricted
public boolean removeHasValueRestrctionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldVal)
m - s - p - oldVal -
public boolean isHasValueRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode val)
m - s - p - val -
public boolean removeSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass oldVal,
boolean removeAutoInstantiated)
throws AcuityException
m - s - p - oldVal -
AcuityException
public boolean isSomeValuesFromRestrictionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.ontology.OntClass val)
m - s - p - val -
public com.hp.hpl.jena.ontology.HasValueRestriction createHasValueRestrction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
s - - the class to which the restriction is being addedp - - the property which is being restrictedv - - the RDFNode which is the value of the restriction
public com.hp.hpl.jena.ontology.HasValueRestriction createHasValueRestrctionInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
throws AcuityException
s - - the class to which the restriction is being addedp - - the property which is being restrictedv - - the RDFNode which is the value of the restriction
AcuityException
public com.hp.hpl.jena.ontology.CardinalityRestriction createCardinalityRestrictionInSubmodel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
throws AcuityException
AcuityException
public void addDefaultInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
throws AcuityException
AcuityException
public boolean removeHasValueRestriction(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode v)
s - - the class from which the restriction is to be removedp - - the property restrictedv - - the value to which the property is restricted
public void createDefaultValueOnClass(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
throws AcuityException
s - - the class to be given the default valuedv - - the instance of DefaultValue to be used
AcuityException
public boolean removeDefaultValueFromClass(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
throws AcuityException
s - - the class from which the default value is to be removeddv - - the instance of DefaultValue to be removed
AcuityException
public boolean isDefaultValueInModel(com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
s - dv -
public boolean isDefaultValueInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntClass s,
com.hp.hpl.jena.ontology.Individual dv)
public com.hp.hpl.jena.rdf.model.RDFList createRDFList(com.hp.hpl.jena.rdf.model.RDFNode[] members)
members - - an RDFNode array containing the members of the RDFList in correct order
public com.hp.hpl.jena.ontology.OntProperty createOntProperty(java.lang.String ontPropUri)
ontPropUri - - the URI of the new OntProperty
public com.hp.hpl.jena.ontology.DatatypeProperty createDatatypeProperty(java.lang.String ontPropUri)
ontPropUri - - the URI of the new DatatypeProperty
public com.hp.hpl.jena.ontology.DatatypeProperty createDatatypePropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String ontPropName)
public com.hp.hpl.jena.ontology.ObjectProperty createObjectProperty(java.lang.String ontPropUri)
ontPropUri - - the URI of the new ObjectProperty
public com.hp.hpl.jena.ontology.ObjectProperty createObjectPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String ontPropName)
public boolean isLabelEditable(com.hp.hpl.jena.ontology.OntProperty p)
p - - the given OntProperty
public boolean isLabelEditable(java.lang.String poUri)
poUri - - the URI of the given PresentationObject
public com.hp.hpl.jena.ontology.Individual getFirstStepOfSubProcess(com.hp.hpl.jena.ontology.Individual process)
throws AcuityException
process - - the DiscreteProcess
AcuityException
public void formatDataTableList(java.io.PrintStream out,
java.lang.Object result,
java.lang.String descriptor)
out - - the PrintStream to which formated output should goresult - - the data table to be formateddescriptor - - a header (description) for the data tablepublic com.hp.hpl.jena.ontology.OntModelSpec getOntModelSpec()
public java.lang.String getOntPolicyFileURI()
public com.hp.hpl.jena.ontology.OntModel changeModels(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String abNS,
java.lang.String pfUri)
throws AcuityException
m -
AcuityException
public com.hp.hpl.jena.ontology.OntProperty createObjectPropertyWithDomainAndRange(java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
throws AcuityException
propName - - the name of the new ObjectPropertypropLabel - - the rdf:Label of the new ObjectPropertypropComment - - the rdf:Comment of the new ObjectPropertydomainList - - a List of OntClasses to be added as the domain of ObjectPropertyrangeList - - a List of OntClasses to be added as the range of the ObjectProperty
AcuityException
public com.hp.hpl.jena.ontology.OntProperty createObjectPropertyWithDomainAndRangeInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
throws AcuityException
propName - - the name of the new ObjectPropertypropLabel - - the rdf:Label of the new ObjectPropertypropComment - - the rdf:Comment of the new ObjectPropertydomainList - - a List of OntClasses to be added as the domain of ObjectPropertyrangeList - - a List of OntClasses to be added as the range of the ObjectProperty
AcuityException
public com.hp.hpl.jena.ontology.OntProperty createDatatypePropertyWithDomainAndRangeInSubModel(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String nameSpace,
java.lang.String propName,
java.lang.String propLabel,
java.lang.String propComment,
java.util.ArrayList domainList,
java.lang.String range)
throws AcuityException
propName - - the name of the new DatatypePropertypropLabel - - the rdf:Label of the new DatatypePropertypropComment - - the rdf:Comment of the new DatatypePropertydomainList - - a List of OntClasses to be added as the domain of DatatypePropertyrange - - the identifier of the range of the DatatypeProperty, e.g., "xsd:string"
AcuityException
public void addDomainAndRangeToObjectProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
throws AcuityException
p - - the property to which to adddomainList - - a List of OntClasses to add to the property's domainrangeList - - a List of OntClasses to add to the property's range
AcuityException
public void addDomainAndRangeToObjectPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.util.ArrayList rangeList)
throws AcuityException
p - - the property to which to adddomainList - - a List of OntClasses to add to the property's domainrangeList - - a List of OntClasses to add to the property's range
AcuityException
public void addDomainAndRangeToDatatypeProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.lang.String rangeURI)
throws AcuityException
p - - the property to which to adddomainList - - a List of OntClasses to add to the property's domainrangeURI - - the range for the DatatypeProperty
AcuityException
public void addDomainAndRangeToDatatypePropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList,
java.lang.String rangeURI)
throws AcuityException
p - - the property to which to adddomainList - - a List of OntClasses to add to the property's domainrangeURI - - the range for the DatatypeProperty
AcuityException
public void addDomainToProperty(com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList)
throws AcuityException
p - - the OntProperty to which to add the domain OntClassesdomainList - - the List of domain OntClasses to add
AcuityException
public void addDomainToPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.ontology.OntProperty p,
java.util.ArrayList domainList)
throws AcuityException
p - - the OntProperty to which to add the domain OntClassesdomainList - - the List of domain OntClasses to add
AcuityExceptionpublic static java.lang.String quoteStringLiteral(java.lang.String s)
s -
public boolean isPropertyAutoInstantiate(com.hp.hpl.jena.ontology.OntProperty p)
throws AcuityException
p -
AcuityExceptionpublic boolean isPropertyAutoInstantiateJustInTime(com.hp.hpl.jena.ontology.OntProperty p)
public java.lang.Object thisInstanceURI()
public void setTrackAutoInstantiationRestrictions(boolean trackAutoInstantiationRestrictions)
trackAutoInstantiationRestrictions - The trackAutoInstantiationRestrictions to set.public boolean trackAutoInstantiationRestrictions()
public void initializeHelpLinks()
public java.util.List getHelpLinks(java.lang.String selectedHelpURI)
selectedHelpURI -
public java.lang.Object formatDependencyValues(java.lang.Object values)
throws AcuityException
AcuityExceptionpublic com.hp.hpl.jena.ontology.OntProperty getCreationDateTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||