com.ge.grc.acuity
Class AcuityController

java.lang.Object
  extended bycom.ge.grc.acuity.AcuityController

public class AcuityController
extends java.lang.Object

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.

Version:
$Revision: 1.35 $ Last modified on $Date: 2007/05/19 13:45:33 $
Author:
crapo

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 , , triple with , , in the ontology.
 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 , , triple with , , in the ontology.
 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 getPresentationObjectContents
 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

XSD_DATE_TIME

public static final java.lang.String XSD_DATE_TIME
See Also:
Constant Field Values

XSD_STRING

public static final java.lang.String XSD_STRING
See Also:
Constant Field Values

XSD_FLOAT

public static final java.lang.String XSD_FLOAT
See Also:
Constant Field Values

XSD_BOOLEAN

public static final java.lang.String XSD_BOOLEAN
See Also:
Constant Field Values

XSD_INT

public static final java.lang.String XSD_INT
See Also:
Constant Field Values

XSD_DOUBLE

public static final java.lang.String XSD_DOUBLE
See Also:
Constant Field Values

applicationSettingsProperties

public static final java.lang.String applicationSettingsProperties
See Also:
Constant Field Values

MULTIPLE_SELECTIONS_ANSWER_RDFNODES

public static final java.lang.String MULTIPLE_SELECTIONS_ANSWER_RDFNODES
See Also:
Constant Field Values

MULTIPLE_SELECTIONS_ANSWER_URIS

public static final java.lang.String MULTIPLE_SELECTIONS_ANSWER_URIS
See Also:
Constant Field Values

APVF_ACUITYMOSTFREQUENTDEFAULT

public static final java.lang.String APVF_ACUITYMOSTFREQUENTDEFAULT
See Also:
Constant Field Values

APVF_ACUITYAVERAGEDEFAULT

public static final java.lang.String APVF_ACUITYAVERAGEDEFAULT
See Also:
Constant Field Values

APVF_BLUEVAL

public static final java.lang.String APVF_BLUEVAL
See Also:
Constant Field Values

APVF_GREENVAL

public static final java.lang.String APVF_GREENVAL
See Also:
Constant Field Values

APVF_REDVAL

public static final java.lang.String APVF_REDVAL
See Also:
Constant Field Values

APVF_COLOR

public static final java.lang.String APVF_COLOR
See Also:
Constant Field Values

APVF_DATASERIES

public static final java.lang.String APVF_DATASERIES
See Also:
Constant Field Values

ORIGINAL_DATAROW_INDEX

public static final java.lang.String ORIGINAL_DATAROW_INDEX
See Also:
Constant Field Values

DATAMODIFIED_MAPKEY

public static final java.lang.String DATAMODIFIED_MAPKEY
See Also:
Constant Field Values

DATAMODIFIED_NOCHANGE

public static final java.lang.String DATAMODIFIED_NOCHANGE
See Also:
Constant Field Values

DATAMODIFIED_MODIFIED

public static final java.lang.String DATAMODIFIED_MODIFIED
See Also:
Constant Field Values

DATAMODIFIED_INSERT

public static final java.lang.String DATAMODIFIED_INSERT
See Also:
Constant Field Values

APVF_ACTIONONPERSISTENTOBJECT

public static final java.lang.String APVF_ACTIONONPERSISTENTOBJECT
See Also:
Constant Field Values

APVF_ACUITYCONTROLLERACTION

public static final java.lang.String APVF_ACUITYCONTROLLERACTION
See Also:
Constant Field Values

APVF_ADDCURRENTVALUETOLIST

public static final java.lang.String APVF_ADDCURRENTVALUETOLIST
See Also:
Constant Field Values

APVF_ALWAYSREFRESHCONTENT

public static final java.lang.String APVF_ALWAYSREFRESHCONTENT
See Also:
Constant Field Values

APVF_APPLIESTOPROPERTY

public static final java.lang.String APVF_APPLIESTOPROPERTY
See Also:
Constant Field Values

APVF_BOOLEANDEFAULT

public static final java.lang.String APVF_BOOLEANDEFAULT
See Also:
Constant Field Values

APVF_BOOLEANVALUEOBJECT

public static final java.lang.String APVF_BOOLEANVALUEOBJECT
See Also:
Constant Field Values

APVF_BUILTINANCHOR

public static final java.lang.String APVF_BUILTINANCHOR
See Also:
Constant Field Values

APVF_COLUMNIDENTIFIER

public static final java.lang.String APVF_COLUMNIDENTIFIER
See Also:
Constant Field Values

APVF_COLUMNORDERDATASERIESMAP

public static final java.lang.String APVF_COLUMNORDERDATASERIESMAP
See Also:
Constant Field Values

APVF_COMPOSITEPARAMETERDEFAULT

public static final java.lang.String APVF_COMPOSITEPARAMETERDEFAULT
See Also:
Constant Field Values

APVF_CONTAINSPRESENTATIONOBJECT

public static final java.lang.String APVF_CONTAINSPRESENTATIONOBJECT
See Also:
Constant Field Values

APVF_CONTEXTPREDICATE

public static final java.lang.String APVF_CONTEXTPREDICATE
See Also:
Constant Field Values

APVF_CONTEXTSUBJECTCLASS

public static final java.lang.String APVF_CONTEXTSUBJECTCLASS
See Also:
Constant Field Values

APVF_CREATEDTOMEETRESTRICTION

public static final java.lang.String APVF_CREATEDTOMEETRESTRICTION
See Also:
Constant Field Values

APVF_ACUITYCONTROLLER

public static final java.lang.String APVF_ACUITYCONTROLLER
See Also:
Constant Field Values

APVF_CONTENTDEPENDSON

public static final java.lang.String APVF_CONTENTDEPENDSON
See Also:
Constant Field Values

APVF_COPYVALUEONROWDUPLICATION

public static final java.lang.String APVF_COPYVALUEONROWDUPLICATION
See Also:
Constant Field Values

APVF_CREATEDBY

public static final java.lang.String APVF_CREATEDBY
See Also:
Constant Field Values

APVF_CREATIONDATETIME

public static final java.lang.String APVF_CREATIONDATETIME
See Also:
Constant Field Values

APVF_DATASETDEFINEDBY

public static final java.lang.String APVF_DATASETDEFINEDBY
See Also:
Constant Field Values

APVF_DATATABLECOLUMNINFO

public static final java.lang.String APVF_DATATABLECOLUMNINFO
See Also:
Constant Field Values

APVF_DATATABLEMAP

public static final java.lang.String APVF_DATATABLEMAP
See Also:
Constant Field Values

APVF_DATETIMEVALUEOBJECT

public static final java.lang.String APVF_DATETIMEVALUEOBJECT
See Also:
Constant Field Values

APVF_DBCLASSFIELD

public static final java.lang.String APVF_DBCLASSFIELD
See Also:
Constant Field Values

APVF_DBCLASSID

public static final java.lang.String APVF_DBCLASSID
See Also:
Constant Field Values

APVF_DBCONNECTIONSTRING

public static final java.lang.String APVF_DBCONNECTIONSTRING
See Also:
Constant Field Values

APVF_DBDRIVERSTRING

public static final java.lang.String APVF_DBDRIVERSTRING
See Also:
Constant Field Values

APVF_DBINSTANCEFIELD

public static final java.lang.String APVF_DBINSTANCEFIELD
See Also:
Constant Field Values

APVF_DBINSTANCELABELFIELD

public static final java.lang.String APVF_DBINSTANCELABELFIELD
See Also:
Constant Field Values

APVF_DEFAULTOUTPUTINDEX

public static final java.lang.String APVF_DEFAULTOUTPUTINDEX
See Also:
Constant Field Values

APVF_DEFAULTROWSETFIELDIDENTIFIER

public static final java.lang.String APVF_DEFAULTROWSETFIELDIDENTIFIER
See Also:
Constant Field Values

APVF_DBLOGINSTRING

public static final java.lang.String APVF_DBLOGINSTRING
See Also:
Constant Field Values

APVF_DBOBJFIELDNAME

public static final java.lang.String APVF_DBOBJFIELDNAME
See Also:
Constant Field Values

APVF_DBPASSWORDSTRING

public static final java.lang.String APVF_DBPASSWORDSTRING
See Also:
Constant Field Values

APVF_DBPREDURI

public static final java.lang.String APVF_DBPREDURI
See Also:
Constant Field Values

APVF_DBSQLSTRING

public static final java.lang.String APVF_DBSQLSTRING
See Also:
Constant Field Values

APVF_DBSUBJFIELDNAME

public static final java.lang.String APVF_DBSUBJFIELDNAME
See Also:
Constant Field Values

APVF_DBTABLE

public static final java.lang.String APVF_DBTABLE
See Also:
Constant Field Values

APVF_DEFAULTVALUE

public static final java.lang.String APVF_DEFAULTVALUE
See Also:
Constant Field Values

APVF_DISCRETEPROCESS

public static final java.lang.String APVF_DISCRETEPROCESS
See Also:
Constant Field Values

APVF_DISPLAYOBJECT

public static final java.lang.String APVF_DISPLAYOBJECT
See Also:
Constant Field Values

APVF_DISPLAYORDER

public static final java.lang.String APVF_DISPLAYORDER
See Also:
Constant Field Values

APVF_DOCUMENTOBJECT

public static final java.lang.String APVF_DOCUMENTOBJECT
See Also:
Constant Field Values

APVF_ENCODES

public static final java.lang.String APVF_ENCODES
See Also:
Constant Field Values

APVF_EVENT

public static final java.lang.String APVF_EVENT
See Also:
Constant Field Values

APVF_FRAME

public static final java.lang.String APVF_FRAME
See Also:
Constant Field Values

APVF_EVENTEXPRESSION

public static final java.lang.String APVF_EVENTEXPRESSION
See Also:
Constant Field Values

APVF_FLOATDEFAULT

public static final java.lang.String APVF_FLOATDEFAULT
See Also:
Constant Field Values

APVF_FLOATVALUEOBJECT

public static final java.lang.String APVF_FLOATVALUEOBJECT
See Also:
Constant Field Values

APVF_GRAPHOBJECT

public static final java.lang.String APVF_GRAPHOBJECT
See Also:
Constant Field Values

APVF_HASACTIVEPROCESS

public static final java.lang.String APVF_HASACTIVEPROCESS
See Also:
Constant Field Values

APVF_HASACTIVESTEP

public static final java.lang.String APVF_HASACTIVESTEP
See Also:
Constant Field Values

APVF_HASARGUMENTS

public static final java.lang.String APVF_HASARGUMENTS
See Also:
Constant Field Values

APVF_HASBOOLEANDEFAULT

public static final java.lang.String APVF_HASBOOLEANDEFAULT
See Also:
Constant Field Values

APVF_HASBOOLEANVALUE

public static final java.lang.String APVF_HASBOOLEANVALUE
See Also:
Constant Field Values

APVF_HASCLIENTSIDEEFFECT

public static final java.lang.String APVF_HASCLIENTSIDEEFFECT
See Also:
Constant Field Values

APVF_HASCOLOR

public static final java.lang.String APVF_HASCOLOR
See Also:
Constant Field Values

APVF_HASCOLUMN

public static final java.lang.String APVF_HASCOLUMN
See Also:
Constant Field Values

APVF_HASCOLUMNSMANAGER

public static final java.lang.String APVF_HASCOLUMNSMANAGER
See Also:
Constant Field Values

APVF_HASCONTENTUPDATER

public static final java.lang.String APVF_HASCONTENTUPDATER
See Also:
Constant Field Values

APVF_HASDATETIMEVALUE

public static final java.lang.String APVF_HASDATETIMEVALUE
See Also:
Constant Field Values

APVF_HASDBCONNECTION

public static final java.lang.String APVF_HASDBCONNECTION
See Also:
Constant Field Values

APVF_HASDBINSTANCESDESCRIPTOR

public static final java.lang.String APVF_HASDBINSTANCESDESCRIPTOR
See Also:
Constant Field Values

APVF_HASDBSTATEMENTSDESCRIPTOR

public static final java.lang.String APVF_HASDBSTATEMENTSDESCRIPTOR
See Also:
Constant Field Values

APVF_HASEFFECT

public static final java.lang.String APVF_HASEFFECT
See Also:
Constant Field Values

APVF_HASFIRSTSTEP

public static final java.lang.String APVF_HASFIRSTSTEP
See Also:
Constant Field Values

APVF_HASFLOATDEFAULT

public static final java.lang.String APVF_HASFLOATDEFAULT
See Also:
Constant Field Values

APVF_HASFLOATVALUE

public static final java.lang.String APVF_HASFLOATVALUE
See Also:
Constant Field Values

APVF_HASFOCUSVANTAGE

public static final java.lang.String APVF_HASFOCUSVANTAGE
See Also:
Constant Field Values

APVF_HASFRAME

public static final java.lang.String APVF_HASFRAME
See Also:
Constant Field Values

APVF_HASIMPLEMENTATIONCLASS

public static final java.lang.String APVF_HASIMPLEMENTATIONCLASS
See Also:
Constant Field Values

APVF_HASIMPLEMENTATIONMETHOD

public static final java.lang.String APVF_HASIMPLEMENTATIONMETHOD
See Also:
Constant Field Values

APVF_HASIMPLEMENTATIONPACKAGE

public static final java.lang.String APVF_HASIMPLEMENTATIONPACKAGE
See Also:
Constant Field Values

APVF_HASINTDEFAULT

public static final java.lang.String APVF_HASINTDEFAULT
See Also:
Constant Field Values

APVF_HASINTEGERVALUE

public static final java.lang.String APVF_HASINTEGERVALUE
See Also:
Constant Field Values

APVF_HASINTERACTIONOBJECT

public static final java.lang.String APVF_HASINTERACTIONOBJECT
See Also:
Constant Field Values

APVF_HASHELPKEYWORD

public static final java.lang.String APVF_HASHELPKEYWORD
See Also:
Constant Field Values

APVF_HASMAPPINGFUNCTION

public static final java.lang.String APVF_HASMAPPINGFUNCTION
See Also:
Constant Field Values

AULO_HASMEMBER

public static final java.lang.String AULO_HASMEMBER
See Also:
Constant Field Values

APVF_HASNEXTSTEP

public static final java.lang.String APVF_HASNEXTSTEP
See Also:
Constant Field Values

APVF_HASOBJECTDEFAULT

public static final java.lang.String APVF_HASOBJECTDEFAULT
See Also:
Constant Field Values

APVF_HASOBJECTOFCLASSDEFAULTS

public static final java.lang.String APVF_HASOBJECTOFCLASSDEFAULTS
See Also:
Constant Field Values

APVF_HASONTQUERYANALYZER

public static final java.lang.String APVF_HASONTQUERYANALYZER
See Also:
Constant Field Values

APVF_HASORPHAN

public static final java.lang.String APVF_HASORPHAN
See Also:
Constant Field Values

APVF_HASPOSSIBLEANSWERGENERATOR

public static final java.lang.String APVF_HASPOSSIBLEANSWERGENERATOR
See Also:
Constant Field Values

APVF_HASPOSITION

public static final java.lang.String APVF_HASPOSITION
See Also:
Constant Field Values

APVF_HASPRESENTATIONNATURE

public static final java.lang.String APVF_HASPRESENTATIONNATURE
See Also:
Constant Field Values

APVF_HASPRESENTATIONPARAMETERBOOLEAN

public static final java.lang.String APVF_HASPRESENTATIONPARAMETERBOOLEAN
See Also:
Constant Field Values

APVF_HASPRESENTATIONPARAMETERFLOAT

public static final java.lang.String APVF_HASPRESENTATIONPARAMETERFLOAT
See Also:
Constant Field Values

APVF_HASPRESENTATIONPARAMETERINTEGER

public static final java.lang.String APVF_HASPRESENTATIONPARAMETERINTEGER
See Also:
Constant Field Values

APVF_HASPRESENTATIONPARAMETEROBJECT

public static final java.lang.String APVF_HASPRESENTATIONPARAMETEROBJECT
See Also:
Constant Field Values

APVF_HASPRESENTATIONPARAMETERSTRING

public static final java.lang.String APVF_HASPRESENTATIONPARAMETERSTRING
See Also:
Constant Field Values

APVF_HASPROCESSOR

public static final java.lang.String APVF_HASPROCESSOR
See Also:
Constant Field Values

APVF_HASRENDERER

public static final java.lang.String APVF_HASRENDERER
See Also:
Constant Field Values

APVF_HASROWSETMAXROWS

public static final java.lang.String APVF_HASROWSETMAXROWS
See Also:
Constant Field Values

APVF_HASSHAREDPARAMETER

public static final java.lang.String APVF_HASSHAREDPARAMETER
See Also:
Constant Field Values

APVF_HASSHAREDPARAMETERNAME

public static final java.lang.String APVF_HASSHAREDPARAMETERNAME
See Also:
Constant Field Values

APVF_HASSTRINGDEFAULT

public static final java.lang.String APVF_HASSTRINGDEFAULT
See Also:
Constant Field Values

APVF_HASSTATEMENT

public static final java.lang.String APVF_HASSTATEMENT
See Also:
Constant Field Values

APVF_HASSTRINGVALUE

public static final java.lang.String APVF_HASSTRINGVALUE
See Also:
Constant Field Values

APVF_HASURL

public static final java.lang.String APVF_HASURL
See Also:
Constant Field Values

APVF_HASUSER

public static final java.lang.String APVF_HASUSER
See Also:
Constant Field Values

APVF_HASVALUE

public static final java.lang.String APVF_HASVALUE
See Also:
Constant Field Values

APVF_HASVALUELIST

public static final java.lang.String APVF_HASVALUELIST
See Also:
Constant Field Values

APVF_HASVANTAGE

public static final java.lang.String APVF_HASVANTAGE
See Also:
Constant Field Values

APVF_HASXRDQLSTATEMENT

public static final java.lang.String APVF_HASXRDQLSTATEMENT
See Also:
Constant Field Values

APVF_HIDDENOBJECT

public static final java.lang.String APVF_HIDDENOBJECT
See Also:
Constant Field Values

APVF_INCLUDEACUITYCONTROLLERASARGUMENT

public static final java.lang.String APVF_INCLUDEACUITYCONTROLLERASARGUMENT
See Also:
Constant Field Values

APVF_INSTANCECREATIONACTION

public static final java.lang.String APVF_INSTANCECREATIONACTION
See Also:
Constant Field Values

APVF_INTEGERDEFAULT

public static final java.lang.String APVF_INTEGERDEFAULT
See Also:
Constant Field Values

APVF_INTEGERVALUEOBJECT

public static final java.lang.String APVF_INTEGERVALUEOBJECT
See Also:
Constant Field Values

APVF_INTERACTIONOBJECT

public static final java.lang.String APVF_INTERACTIONOBJECT
See Also:
Constant Field Values

APVF_ISCLONEOF

public static final java.lang.String APVF_ISCLONEOF
See Also:
Constant Field Values

APVF_ISDERIVEDFROM

public static final java.lang.String APVF_ISDERIVEDFROM
See Also:
Constant Field Values

APVF_ISDISPLAYED

public static final java.lang.String APVF_ISDISPLAYED
See Also:
Constant Field Values

APVF_ISEDITABLE

public static final java.lang.String APVF_ISEDITABLE
See Also:
Constant Field Values

APVF_ISENABLED

public static final java.lang.String APVF_ISENABLED
See Also:
Constant Field Values

APVF_ISREFINEDBY

public static final java.lang.String APVF_ISREFINEDBY
See Also:
Constant Field Values

APVF_ISTRANSFORMEDBY

public static final java.lang.String APVF_ISTRANSFORMEDBY
See Also:
Constant Field Values

APVF_MAPPEDDATATABLE

public static final java.lang.String APVF_MAPPEDDATATABLE
See Also:
Constant Field Values

APVF_MINIMUMSAMPLESIZE

public static final java.lang.String APVF_MINIMUMSAMPLESIZE
See Also:
Constant Field Values

APVF_NEWOBJECTCLASS

public static final java.lang.String APVF_NEWOBJECTCLASS
See Also:
Constant Field Values

APVF_NONCOMPOSITEPARAMETEROBJECTVALUES

public static final java.lang.String APVF_NONCOMPOSITEPARAMETEROBJECTVALUES
See Also:
Constant Field Values

APVF_OBJECTDEFAULT

public static final java.lang.String APVF_OBJECTDEFAULT
See Also:
Constant Field Values

APVF_OBJECTOFCLASSDEFAULT

public static final java.lang.String APVF_OBJECTOFCLASSDEFAULT
See Also:
Constant Field Values

APVF_ORIGINALNAME

public static final java.lang.String APVF_ORIGINALNAME
See Also:
Constant Field Values

APVF_OUTPUTIDENTIFIER

public static final java.lang.String APVF_OUTPUTIDENTIFIER
See Also:
Constant Field Values

APVF_PERSISTENTJAVAOBJECT

public static final java.lang.String APVF_PERSISTENTJAVAOBJECT
See Also:
Constant Field Values

APVF_POSITION

public static final java.lang.String APVF_POSITION
See Also:
Constant Field Values

APVF_PRESENTATIONOBJECT

public static final java.lang.String APVF_PRESENTATIONOBJECT
See Also:
Constant Field Values

APVF_PROCESSASSINGLEEVENT

public static final java.lang.String APVF_PROCESSASSINGLEEVENT
See Also:
Constant Field Values

APVF_PROCESSUNMODIFIEDDATA

public static final java.lang.String APVF_PROCESSUNMODIFIEDDATA
See Also:
Constant Field Values

APVF_PROCESSWITHOLDVALUES

public static final java.lang.String APVF_PROCESSWITHOLDVALUES
See Also:
Constant Field Values

APVF_PROMPT

public static final java.lang.String APVF_PROMPT
See Also:
Constant Field Values

APVF_RDQLQUERYSTRING

public static final java.lang.String APVF_RDQLQUERYSTRING
See Also:
Constant Field Values

APVF_REFINEDWDIO

public static final java.lang.String APVF_REFINEDWDIO
See Also:
Constant Field Values

APVF_RENDERLAST

public static final java.lang.String APVF_RENDERLAST
See Also:
Constant Field Values

APVF_RETURNONFAILURE

public static final java.lang.String APVF_RETURNONFAILURE
See Also:
Constant Field Values

APVF_ROWIDENTIFIER

public static final java.lang.String APVF_ROWIDENTIFIER
See Also:
Constant Field Values

APVF_ROWORDERDATASERIESMAP

public static final java.lang.String APVF_ROWORDERDATASERIESMAP
See Also:
Constant Field Values

APVF_ROWSETCOLUMN

public static final java.lang.String APVF_ROWSETCOLUMN
See Also:
Constant Field Values

APVF_ROWSETINDEXEDSELECTOR

public static final java.lang.String APVF_ROWSETINDEXEDSELECTOR
See Also:
Constant Field Values

APVF_ROWSPANGROUPINGROWSETCOLUMN

public static final java.lang.String APVF_ROWSPANGROUPINGROWSETCOLUMN
See Also:
Constant Field Values

APVF_SAMEVALUEASPROPERTY

public static final java.lang.String APVF_SAMEVALUEASPROPERTY
See Also:
Constant Field Values

APVF_SCRIPTURI

public static final java.lang.String APVF_SCRIPTURI
See Also:
Constant Field Values

APVF_SELECTIONLISTPRESENTATION

public static final java.lang.String APVF_SELECTIONLISTPRESENTATION
See Also:
Constant Field Values

APVF_SERIESDELIMITERCOLUMN

public static final java.lang.String APVF_SERIESDELIMITERCOLUMN
See Also:
Constant Field Values

APVF_SERVERSIDESCRIPT

public static final java.lang.String APVF_SERVERSIDESCRIPT
See Also:
Constant Field Values

APVF_SHAREDCOMPOSITEPARAMETERSET

public static final java.lang.String APVF_SHAREDCOMPOSITEPARAMETERSET
See Also:
Constant Field Values

APVF_SIMPLEDATATABLE

public static final java.lang.String APVF_SIMPLEDATATABLE
See Also:
Constant Field Values

APVF_SIMPLEVALUEOBJECT

public static final java.lang.String APVF_SIMPLEVALUEOBJECT
See Also:
Constant Field Values

APVF_SINGLEVALUE

public static final java.lang.String APVF_SINGLEVALUE
See Also:
Constant Field Values

APVF_SORTPRIORITY

public static final java.lang.String APVF_SORTPRIORITY
See Also:
Constant Field Values

APVF_SPANROWONSEQUENTIALDUPLICATEVALUES

public static final java.lang.String APVF_SPANROWONSEQUENTIALDUPLICATEVALUES
See Also:
Constant Field Values

APVF_SQLSTATEMENT

public static final java.lang.String APVF_SQLSTATEMENT
See Also:
Constant Field Values

APVF_STOREDPROCEDURE

public static final java.lang.String APVF_STOREDPROCEDURE
See Also:
Constant Field Values

APVF_STOREDPROCEDURESIGNATURE

public static final java.lang.String APVF_STOREDPROCEDURESIGNATURE
See Also:
Constant Field Values

APVF_STOREDPROCEDUREOUTPUTSELECTOR

public static final java.lang.String APVF_STOREDPROCEDUREOUTPUTSELECTOR
See Also:
Constant Field Values

APVF_STRINGDEFAULT

public static final java.lang.String APVF_STRINGDEFAULT
See Also:
Constant Field Values

APVF_STRINGVALUEOBJECT

public static final java.lang.String APVF_STRINGVALUEOBJECT
See Also:
Constant Field Values

APVF_TABLECELLINTERACTIONOPTIONS

public static final java.lang.String APVF_TABLECELLINTERACTIONOPTIONS
See Also:
Constant Field Values

APVF_THRESHOLDFREQUENCY

public static final java.lang.String APVF_THRESHOLDFREQUENCY
See Also:
Constant Field Values

APVF_TITLE

public static final java.lang.String APVF_TITLE
See Also:
Constant Field Values

APVF_TOOLTIP

public static final java.lang.String APVF_TOOLTIP
See Also:
Constant Field Values

APVF_TRIGGEREVENT

public static final java.lang.String APVF_TRIGGEREVENT
See Also:
Constant Field Values

APVF_USERPREFERENCE

public static final java.lang.String APVF_USERPREFERENCE
See Also:
Constant Field Values

APVF_USESPERSISTENTJAVAOBJECT

public static final java.lang.String APVF_USESPERSISTENTJAVAOBJECT
See Also:
Constant Field Values

APVF_USESPRESENTATIONOBJECT

public static final java.lang.String APVF_USESPRESENTATIONOBJECT
See Also:
Constant Field Values

APVF_VALIDATECONTENT

public static final java.lang.String APVF_VALIDATECONTENT
See Also:
Constant Field Values

APVF_VALIDATECONTENT_LOCALNAME

public static final java.lang.String APVF_VALIDATECONTENT_LOCALNAME
See Also:
Constant Field Values

APVF_VALUECALCULATEDBY

public static final java.lang.String APVF_VALUECALCULATEDBY
See Also:
Constant Field Values

APVF_VALUELIST

public static final java.lang.String APVF_VALUELIST
See Also:
Constant Field Values

APVF_VALUENAME

public static final java.lang.String APVF_VALUENAME
See Also:
Constant Field Values

APVF_VANTAGE

public static final java.lang.String APVF_VANTAGE
See Also:
Constant Field Values

APVF_XMAXCOLUMN

public static final java.lang.String APVF_XMAXCOLUMN
See Also:
Constant Field Values

APVF_XMINCOLUMN

public static final java.lang.String APVF_XMINCOLUMN
See Also:
Constant Field Values

APVF_YMAXCOLUMN

public static final java.lang.String APVF_YMAXCOLUMN
See Also:
Constant Field Values

APVF_YMINCOLUMN

public static final java.lang.String APVF_YMINCOLUMN
See Also:
Constant Field Values

APVF_XRDQLSTATEMENT

public static final java.lang.String APVF_XRDQLSTATEMENT
See Also:
Constant Field Values

AULO_PERSON

public static final java.lang.String AULO_PERSON
See Also:
Constant Field Values

RDF_TYPE

public static final java.lang.String RDF_TYPE
See Also:
Constant Field Values

RDFS_LABEL

public static final java.lang.String RDFS_LABEL
See Also:
Constant Field Values

RDFS_SUBCLASSOF

public static final java.lang.String RDFS_SUBCLASSOF
See Also:
Constant Field Values

RDFS_SUBPROPERTYOF

public static final java.lang.String RDFS_SUBPROPERTYOF
See Also:
Constant Field Values

OWL_OBJECTPROPERTY

public static final java.lang.String OWL_OBJECTPROPERTY
See Also:
Constant Field Values

OWL_DATATYPEPROPERTY

public static final java.lang.String OWL_DATATYPEPROPERTY
See Also:
Constant Field Values

APVF_NS

public static final java.lang.String APVF_NS
See Also:
Constant Field Values

APVF_HASASKUSERRDQLVALUEFILTER

public static final java.lang.String APVF_HASASKUSERRDQLVALUEFILTER
See Also:
Constant Field Values

APVF_INCLUDEASMISSINGPROPERTYOPTION

public static final java.lang.String APVF_INCLUDEASMISSINGPROPERTYOPTION
See Also:
Constant Field Values

APVF_AUTOINSTANTIATEPROPERTIES

public static final java.lang.String APVF_AUTOINSTANTIATEPROPERTIES
See Also:
Constant Field Values

APVF_ASKUSERPROPERTIES

public static final java.lang.String APVF_ASKUSERPROPERTIES
See Also:
Constant Field Values

APVF_ASKUSERBOOLEAN

public static final java.lang.String APVF_ASKUSERBOOLEAN
See Also:
Constant Field Values

APVF_ASKUSERDATETIME

public static final java.lang.String APVF_ASKUSERDATETIME
See Also:
Constant Field Values

APVF_ASKUSERFLOAT

public static final java.lang.String APVF_ASKUSERFLOAT
See Also:
Constant Field Values

APVF_ASKUSERINT

public static final java.lang.String APVF_ASKUSERINT
See Also:
Constant Field Values

APVF_ASKUSERSTRING

public static final java.lang.String APVF_ASKUSERSTRING
See Also:
Constant Field Values

APVF_ASKUSERPROPERTIESINCLUDECREATENEW

public static final java.lang.String APVF_ASKUSERPROPERTIESINCLUDECREATENEW
See Also:
Constant Field Values

APVF_HASACTION

public static final java.lang.String APVF_HASACTION
See Also:
Constant Field Values

APVF_HASONDEMANDACTION

public static final java.lang.String APVF_HASONDEMANDACTION
See Also:
Constant Field Values

APVF_HASMISSINGOBJECTPROPERTYACTION

public static final java.lang.String APVF_HASMISSINGOBJECTPROPERTYACTION
See Also:
Constant Field Values

APVF_HASINSTANCECREATIONACTION

public static final java.lang.String APVF_HASINSTANCECREATIONACTION
See Also:
Constant Field Values

APVF_ONDEMANDACTION

public static final java.lang.String APVF_ONDEMANDACTION
See Also:
Constant Field Values

APVF_CREATEINDIVIDUALOFRANGECLASS

public static final java.lang.String APVF_CREATEINDIVIDUALOFRANGECLASS
See Also:
Constant Field Values

XMLSCHEMA_DATETIME

public static final java.lang.String XMLSCHEMA_DATETIME
See Also:
Constant Field Values

XMLSCHEMA_INT

public static final java.lang.String XMLSCHEMA_INT
See Also:
Constant Field Values

XMLSCHEMA_FLOAT

public static final java.lang.String XMLSCHEMA_FLOAT
See Also:
Constant Field Values

XMLSCHEMA_STRING

public static final java.lang.String XMLSCHEMA_STRING
See Also:
Constant Field Values

XMLSCHEMA_BOOLEAN

public static final java.lang.String XMLSCHEMA_BOOLEAN
See Also:
Constant Field Values

appliesToProperty

public com.hp.hpl.jena.ontology.OntProperty appliesToProperty

rdfType

public com.hp.hpl.jena.rdf.model.Property rdfType

hasVantageProperty

public com.hp.hpl.jena.ontology.OntProperty hasVantageProperty

contPresObjProperty

public com.hp.hpl.jena.ontology.OntProperty contPresObjProperty

usesPresObjProperty

public com.hp.hpl.jena.ontology.OntProperty usesPresObjProperty

hasActProcProperty

public com.hp.hpl.jena.ontology.OntProperty hasActProcProperty

hasActStepProperty

public com.hp.hpl.jena.ontology.OntProperty hasActStepProperty

hasFirstStepProperty

public com.hp.hpl.jena.ontology.OntProperty hasFirstStepProperty

hasNextStepProperty

public com.hp.hpl.jena.ontology.OntProperty hasNextStepProperty

DEP_BUILTIN_ANCHOR

public static final int DEP_BUILTIN_ANCHOR
See Also:
Constant Field Values

DEP_XRDQL_QUERY

public static final int DEP_XRDQL_QUERY
See Also:
Constant Field Values

DEP_SPARQL_QUERY

public static final int DEP_SPARQL_QUERY
See Also:
Constant Field Values

DEP_GROUPINPUT_VALUE

public static final int DEP_GROUPINPUT_VALUE
See Also:
Constant Field Values

DEP_USER_ANSWER

public static final int DEP_USER_ANSWER
See Also:
Constant Field Values
Constructor Detail

AcuityController

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
Main constructor for the non-database ontology AcuityController.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
localInstanceFileStore - - 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 aBox
oms - - the OntModelSpec to use, which identifies the reasoner
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

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
Main constructor for the non-database ontology AcuityController.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
localInstanceFileStore - - 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 aBox
oms - - the OntModelSpec to use, which identifies the reasoner
userid - - the userid to use for this user for 1) user in the ontology, and 2) URL authentication
passwd - - the password to use for URL authentication
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String localInstanceFileStore,
                        java.lang.String instanceInitializationURI,
                        int traceLevel)
                 throws AcuityException
A constructor for the non-database ontology AcuityController which provides the default Reasoner choice: OWL_MEM_TRANS_INF, a transitive inferencer.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
localInstanceFileStore - - 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
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

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
A constructor for the non-database ontology AcuityController which provides the default Reasoner choice: OWL_MEM_TRANS_INF, a transitive inferencer.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
localInstanceFileStore - - 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
userid - - the userid to use for this user for 1) user in the ontology, and 2) URL authentication
passwd - - the password to use for URL authentication
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String instanceInitializationURI,
                        com.hp.hpl.jena.ontology.OntModelSpec oms,
                        int traceLevel)
                 throws AcuityException
A constructor for the non-database ontology AcuityController to be used when no local instance data is to be stored.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology
oms - - the OntModelSpec to use, which identifies the reasoner
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

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
A constructor for the non-database ontology AcuityController to be used when no local instance data is to be stored.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology
oms - - the OntModelSpec to use, which identifies the reasoner
userid - - the userid to use for this user for 1) user in the ontology, and 2) URL authentication
passwd - - the password to use for URL authentication
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String instanceInitializationURI)
                 throws AcuityException
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String instanceInitializationURI,
                        java.lang.String userid,
                        java.lang.String passwd)
                 throws AcuityException
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology
userid - - the userid to use for this user for 1) user in the ontology, and 2) URL authentication
passwd - - the password to use for URL authentication

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String instanceInitializationURI,
                        int traceLevel)
                 throws AcuityException
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

public AcuityController(java.lang.String _ontPolicyFileURI,
                        java.lang.String instanceInitializationURI,
                        java.lang.String userid,
                        java.lang.String passwd,
                        int traceLevel)
                 throws AcuityException
A constructor for the non-database ontology AcuityController which provides the default transitive reasoner and has no local instance data store.

Parameters:
_ontPolicyFileURI - - the URI of an ontology policy file, which tells the loader where to find OWL files and what prefixes are associated with them
instanceInitializationURI - - the URI from which to initialize the instance ontology
userid - - the userid to use for this user for 1) user in the ontology, and 2) URL authentication
passwd - - the password to use for URL authentication
traceLevel - - the level of debug output; values found in AcuityConstants

AcuityController

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
Main constructor for the AcuityController class. All other constructors call this constructor with appropriate default arguments. However, reasoner specification is not part of this constructor but is done after construction is completed.

Parameters:
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 connection
dbPassword - - the password for database access for this user
dbType - - the type of database, e.g., "MySQL"
dbDriverClassName - - the Java class name for the Driver used to connect to the database
traceLevel - - the amount of log4j output to be generated; see AcuityConstants for possible values
Throws:
AcuityException
Method Detail

changeModels

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
Call this method to change the active Jena Ontology model used by the controller.

Parameters:
_ontPolicyFileURI - - the new policy file
localInstanceFileStore - - the new file for instance data
instanceInitializationURI - - the new instance data namespace initialization file
oms - - the new OntModelSpec (determines the reasoner used by Jena)
userid - - the user identification
passwd - - the password
traceLevel - - the log4j trace level
Returns:
- the model now used by the controller
Throws:
AcuityException

assignControllerModel

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
Call to assign the controller model, either during initialization (from constructor) or on change.

Parameters:
_ontPolicyFileURI -
localInstanceFileStore -
instanceInitializationURI -
oms -
userid -
passwd -
traceLevel -
Throws:
AcuityException

getTimeBasedName

public java.lang.String getTimeBasedName(java.lang.String nameBase)
Call this method to get a name generated from the input nameBase and the current time.

Parameters:
nameBase - - the base name to use, e.g., Frame
Returns:
- the generated name

getLastTimeBasedNameComment

public java.lang.String getLastTimeBasedNameComment()
Call this method to retrieve the comment generated by the last call to getTimeBasedName

Returns:
- the last comment

convertModelToDatabaseModel

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)
Method to convert a file-based ontology model to a database-based model.

Parameters:
dbURI - - the URI of the database connection, e.g., "jdbc:mysql://research.ge.com/MyProto.owl";
dbUser - - the database user id for this connection
dbPassword - - the password for database access for this user
dbType - - the type of database, e.g., "MySQL"
dbDriverClassName - - the Java class name for the Driver used to connect to the database
tBoxPublicURI - - the URI of the tBox
aBoxPublicURI - - the URI of the aBox
Returns:
- true if the conversion succeeded else false

getAcuityControllerInstance

public com.hp.hpl.jena.ontology.Individual getAcuityControllerInstance()
Method which returns the Jena Individual in the ontology which is this controller. If the loaded ontology does not define the owl:Class AcuityController, mySelf will be null.

Returns:
Returns the mySelf instance of a Jena Individual.

getPropertyValuesOfInstance

public java.lang.String[] getPropertyValuesOfInstance(java.lang.String instName,
                                                      java.lang.String prop)
                                               throws AcuityException
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. Note that if the Individual is not actually in the ontology but in a legacy DB, this method will not work. In that case use getPropertyValuesOfInstanceOfClass which takes the owl:Class name and finds the pseudo-instance providing the DBDescriptor information to retrieve the desired instances/properties from the DB.

Parameters:
instName - - Name (URI) of the Individual which is the subject of the desired Statements
prop - - Name (URI) of the Property which is the subject of the desired Statements.
Returns:
- A String array of the values (objects) of matching statements.
Throws:
AcuityException - -

getPropertyValuesOfInstanceOfClass

public java.lang.String[] getPropertyValuesOfInstanceOfClass(java.lang.String className,
                                                             java.lang.String instName,
                                                             java.lang.String prop)
                                                      throws AcuityException
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. Note that if the Individual is actually in the ontology, this method behaves exactly like getPropertyValuesOfInstance but for instance data in legacy DBs the owl:Class name is required to find the pseudo-instance providing the DBDescriptor information to retrieve the desired instances/properties from the DB.

Parameters:
className - - Name of the owl:Class for which
instName - - Name (URI) of the Individual which is the subject of the desired Statements
prop - - Name (URI) of the Property which is the subject of the desired Statements.
Returns:
- A String array of the values (objects) of matching statements.
Throws:
AcuityException - -

resourceArrayToCSV

public static java.lang.String resourceArrayToCSV(java.lang.Object[] oArray)

listRDFTypes

public 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. Only named (not anonymous, e.g., not restrictions) classes will be returned.

Parameters:
inst - - the Individual
bDirect - - true for Individuals direct classes only, false for all classes and superclasses.
Returns:
- an Iterator for the Classes of which this Individual is an instance

listRDFTypes

public 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.

Parameters:
inst - - the Individual
bDirect - - true for Individuals direct classes only, false for all classes and superclasses.
bIncludeAnon - - if true include unnamed superclasses, i.e., restrictions
Returns:
- an Iterator for the Classes of which this Individual is an instance

getDatatypePropertyValuesRealOrImplied

public java.util.Map getDatatypePropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual instance)
                                                     throws AcuityException
Call this method to get a Map of all the DatatypeProperties of an Individual. The keys of the Map will be the local names of the properties. The entries in the Map will be an Object (e.g., Integer) for single-valued properties, a List of Objects for multi-valued properties.

Parameters:
instance - - the Individual for which the data is requested
Returns:
- the Map
Throws:
AcuityException

literalToObject

public java.lang.Object literalToObject(com.hp.hpl.jena.rdf.model.Literal value)
                                 throws AcuityException
Call this method to convert a typed Literal to an appropriate Object

Parameters:
value - - the input typed Literal
Returns:
- an Object with the appropriate value, e.g., an Integer
Throws:
AcuityException

getDatatypePropertyValueRealOrImplied

public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueRealOrImplied(com.hp.hpl.jena.ontology.Individual instance,
                                                                               java.lang.String propURI)
                                                                        throws AcuityException
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.

Parameters:
instance - - the Individual for which a real or implied property value is requested
propURI - - the URI of the DatatypeProperty desired
Returns:
- the value of the property
Throws:
AcuityException

getDatatypePropertyValueRealOrImplied

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
Parameters:
instance -
p -
Returns:
Throws:
AcuityException

getDatatypePropertyValueRealOrImpliedWithoutAnchorExpansion

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
Parameters:
instance -
p -
Returns:
Throws:
AcuityException

getPropertyValuesRealOrImplied

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
Call this method to find the values of a given property for a given subject, assigned or implied by restriction

Parameters:
instance - - the subject Individual
p - - the Property for which values are requested
Returns:
- an RDFNode array of values
Throws:
AcuityException

getObjectPropertyValuesRealOrImplied

public java.util.List getObjectPropertyValuesRealOrImplied(com.hp.hpl.jena.ontology.Individual subject,
                                                           com.hp.hpl.jena.ontology.OntProperty pred)
                                                    throws AcuityException
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. For just-in-time properties, this may cause some Individuals to be created.

Parameters:
subject - - the Individual that is the subject of the statements with the desired objects
pred - - the OntProperty that is the predicate of the statements with the desired objects
Returns:
- a List of Individuals that are objects of the given subject and predicate
Throws:
AcuityException

getIndividualsCreatedToMeetRestriction

public java.util.List getIndividualsCreatedToMeetRestriction(com.hp.hpl.jena.ontology.Restriction rest)
                                                      throws AcuityException
Throws:
AcuityException

checkLiteralForAnchors

public com.hp.hpl.jena.rdf.model.Literal checkLiteralForAnchors(com.hp.hpl.jena.rdf.model.Literal l)
                                                         throws AcuityException
Returns:
Throws:
AcuityException

literalToInt

public int literalToInt(com.hp.hpl.jena.rdf.model.Literal l,
                        int defVal)
                 throws AcuityException
Call this method to convert a Literal (of type xsd:int) to an int value.

Parameters:
l - - the Literal (must be of type xsd:int)
defVal - - the default value to be used if l is null
Returns:
- the int value of l else the default value if l is null
Throws:
AcuityException

literalToboolean

public boolean literalToboolean(com.hp.hpl.jena.rdf.model.Literal l,
                                boolean defVal)
                         throws AcuityException
Call this method to convert a Literal (of type xsd:boolean) to a boolean value.

Parameters:
l - - the Literal (must be of type xsd:boolean)
defVal - - the default value to be used if l is null
Returns:
- the boolean value of l else the default value if l is null
Throws:
AcuityException

literalToDouble

public double literalToDouble(com.hp.hpl.jena.rdf.model.Literal l,
                              double defVal)
                       throws AcuityException
Call this method to convert a Literal (of type xsd:double) to a double value.

Parameters:
l - - the Literal (must be of type xsd:double)
defVal - - the default value to be used if l is null
Returns:
- the boolean value of l else the default value if l is null
Throws:
AcuityException

literalToFloat

public float literalToFloat(com.hp.hpl.jena.rdf.model.Literal l,
                            float defVal)
                     throws AcuityException
Call this method to convert a Literal (of type xsd:float) to a float value.

Parameters:
l - - the Literal (must be of type xsd:float)
defVal - - the default value to be used if l is null
Returns:
- the boolean value of l else the default value if l is null
Throws:
AcuityException

literalToDate

public java.util.Date literalToDate(com.hp.hpl.jena.rdf.model.Literal l,
                                    java.util.Date defVal)
                             throws AcuityException
Throws:
AcuityException

literalToString

public java.lang.String literalToString(com.hp.hpl.jena.rdf.model.Literal l,
                                        java.lang.String defVal)
                                 throws AcuityException
Call this method to convert a Literal (of type xsd:string) to a string value.

Parameters:
l - - the Literal (must be of type xsd:string)
defVal - - the default value to be used if l is null
Returns:
- the boolean value of l else the default value if l is null
Throws:
AcuityException

cacheExternalData

public void cacheExternalData(com.hp.hpl.jena.rdf.model.RDFNode ds,
                              java.lang.String query,
                              java.lang.Object data)

getCachedExternalData

public 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.

Parameters:
key -
Returns:

startExternalDataCaching

public boolean startExternalDataCaching()
Call this method to start caching of external data, e.g., results of SQL queries.

Returns:
- true if cache is empty (caching has been previously ended) else false

endExternalDataCaching

public boolean endExternalDataCaching()
Call this method to end caching of external data, e.g., results of SQL queries.

Returns:
- true if data has been cached else false

getIndividualClassMemberships

public 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.

Parameters:
inst - - the Individual for which Class memberships are desired
Returns:
- a List of elements, of type OntClass if conversion is possible, which are the owl:Classes to which the Individual belongs

getIndividualClassMemberships

public 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.

Parameters:
instURI - - the name (URI) of the Individual for which Class memberships are desired
Returns:
- a List of elements, of type OntClass if the conversion is possible, which are the owl:Classes to which the Individual belongs

isIndividualInstanceOfOntClass

public boolean isIndividualInstanceOfOntClass(java.lang.String individualName,
                                              java.lang.String className,
                                              boolean bDirectOnly)
                                       throws AcuityException
Call this method to determine if a given Individual is of a given type (Class).

Parameters:
individualName - - the localname or URI of the Individual
className - - the localname or URI of the Class for which membership is desired
bDirectOnly - - pass true if only direct Class membership is to be checked; otherwise superclass hierarchy will be used
Returns:
- true if the Individual is a member of the Class else false
Throws:
AcuityException

isIndividualInstanceOfOntClass

public 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.

Parameters:
inst - - the Individual
cls - - the OntClass
bDirectOnly - - if true only look for direct Class membership; if false look at superclasses
Returns:
- true if the Individual is found to be an instance of the Class else false

getSetMembership

public java.util.List getSetMembership(java.lang.String setUri)
                                throws AcuityException
Call this method to get the URI's of the members of a given set.

Parameters:
setUri - - the URI of the set in question
Returns:
- a List of the URI's of all of the members of the set or null if the set is empty
Throws:
AcuityException

getSetMembership

public java.util.List getSetMembership(com.hp.hpl.jena.ontology.Individual set)
                                throws AcuityException
Call this method to get the URI's of the members of a given set.

Parameters:
set - - the Individual that is the set in question
Returns:
- a List of the URI's of all of the members of the set or null if the set is empty
Throws:
AcuityException

getSetMemberships

public java.util.List getSetMemberships(java.lang.String memberUri)
                                 throws AcuityException
Call this method to get the URI's of the Sets to which the given Individual belong

Parameters:
memberUri - - the URI of the Individual for whom set memberships is desired
Returns:
- a List of the URI's of all of the Sets to which the given Individual belong or null if there are none
Throws:
AcuityException

getSetMemberships

public java.util.List getSetMemberships(com.hp.hpl.jena.ontology.Individual member)
                                 throws AcuityException
Call this method to get the URI's of the Sets to which the given Individual belong

Parameters:
member - - the Individual that is the Set for whom set memberships is desired
Returns:
- a List of the URI's of all of the Sets to which the given Individual belong or null if there are none
Throws:
AcuityException

getSharedParameterSetMemberships

public java.util.List getSharedParameterSetMemberships(java.lang.String memberUri,
                                                       java.lang.String sharedPropertyName)
                                                throws AcuityException
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.

Parameters:
memberUri - - the URI of the Individual set member
sharedPropertyName - - the name of the Property which is shared
Returns:
- a List of matching URIs
Throws:
AcuityException

createSharedCompositeParameterSet

public com.hp.hpl.jena.ontology.Individual createSharedCompositeParameterSet(java.lang.String setLocalName,
                                                                             java.lang.String sharedParameterPropertyName,
                                                                             java.util.List members)
                                                                      throws AcuityException
Call this method to create a new SharedCompositeParameterSet--a Set whose members share a common Parameter.

Parameters:
setLocalName - - the local name of the new SharedCompositeParameterSet instance or null for a system-generated name
sharedParameterPropertyName - - the name of the Property connecting to the Paramter to be shared
members - - a List of Individuals which have Parameter with name sharedParameterName which are to become a set
Returns:
- the Individual that is the new SharedCompositeParameterSet
Throws:
AcuityException

addSharedCompositeParameterSetMember

public boolean addSharedCompositeParameterSetMember(java.lang.String setUri,
                                                    java.lang.String memberUri)
                                             throws AcuityException
Call this method to add another member to a SharedCompositeParameterSet.

Parameters:
setUri - - the SharedCompositeParameterSet instance URI
memberUri - - the new member instance URI
Returns:
- true if successful else false
Throws:
AcuityException

addSharedCompositeParameterSetMember

public boolean addSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
                                                    com.hp.hpl.jena.ontology.Individual newMember)
                                             throws AcuityException
Call this method to add another member to a SharedCompositeParameterSet.

Parameters:
set - - the SharedCompositeParameterSet instance
newMember - - the new member instance
Returns:
- true if successful else false
Throws:
AcuityException

removeSharedCompositeParameterSetMember

public void removeSharedCompositeParameterSetMember(java.lang.String setUri,
                                                    java.lang.String removalMemberUri)
                                             throws AcuityException
Call this method to remove a specified member from a SharedCompositeParameterSet. The former member will be given its own independent clones of shared Parameters which are in the instance namespace. Note that subParameters in the instance namespace will also be cloned.

Parameters:
setUri - - the URI of the SharedCompositeParameterSet instance
removalMemberUri - - the URI of the member to be removed
Throws:
AcuityException

removeSharedCompositeParameterSetMember

public void removeSharedCompositeParameterSetMember(com.hp.hpl.jena.ontology.Individual set,
                                                    com.hp.hpl.jena.ontology.Individual removalMember)
                                             throws AcuityException
Call this method to remove a specified member from a SharedCompositeParameterSet. The former member will be given its own independent clones of shared Parameters which are in the instance namespace. Note that subParameters in the instance namespace will also be cloned.

Parameters:
set - - the SharedCompositeParameterSet instance
removalMember - - the member to be removed
Throws:
AcuityException

cloneObjectOfTriple

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
Call this method to clone the object of the specified subject and predicate, replacing the , , triple with , , in the ontology. The properties of the clone are considered one by one to see if they should be cloned as well (have objects which are in the instance data namespace). Thus the cloning is done recursively in such a way that the highest-level clone does not have any sub-ObjectProperty values which are Individuals in the instance data namespace, thus ensuring complete independence of the clone and the original object. Note: if the predicate is a FunctionalProperty, the old statement will be removed. Note: sub-ObjectProperty values which are not in the instance data namespace will be cloned if an attempt is made to modify them at a future time and so the clone and old object may share these property values.

Parameters:
subjectURI - - the URI of the subject
predicateURI - - the URI of the predicate
objectToCloneURI - - the URI of the object to clone
Returns:
returns the new Statement , ,
Throws:
AcuityException
java.util.NoSuchElementException

cloneObjectOfTriple

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
Call this method to clone the object of the specified subject and predicate, replacing the , , triple with , , in the ontology. The properties of the clone are considered one by one to see if they should be cloned as well (have objects which are in the instance data namespace). Thus the cloning is done recursively in such a way that the highest-level clone does not have any sub-ObjectProperty values which are Individuals in the instance data namespace, thus ensuring complete independence of the clone and the original object. Note: if the predicate is a FunctionalProperty, the old statement will be removed. Note: sub-ObjectProperty values which are not in the instance data namespace will be cloned if an attempt is made to modify them at a future time and so the clone and old object may share these property values.

Parameters:
subject -
predicate -
objectToClone -
Returns:
returns the new Statement , ,
Throws:
AcuityException
java.util.NoSuchElementException

cloneIndividual

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
Call this method to clone the specified individual, using the provided information.

Parameters:
objToClone - - the Individual to be cloned
comment - - the comment to be given to the clone
bAddUniqueLabel - - true if rdf:label is to be unique in the clone
Returns:
- the new Individual
Throws:
AcuityException
java.util.NoSuchElementException

canRemoveObjectPropertyStatement

public boolean canRemoveObjectPropertyStatement(java.lang.String subjectURI,
                                                java.lang.String predicateURI,
                                                java.lang.String objectURI)
                                         throws AcuityException
/** Call this method to see if the Statement identified by the arguments (triple) can be removed without violating cardinality and SomeValuesFrom restrictions.

Parameters:
subjectURI - - URI of subject
predicateURI - - URI of predicate
objectURI - - URI of object
Returns:
- true if it can be removed else false
Throws:
AcuityException

canRemoveStatement

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
Call this method to see if the Statement identified by the arguments (triple) can be removed without violating cardinality and SomeValuesFrom restrictions.

Parameters:
subject - - the subject
predicate - - the predicate
object - - the object
Returns:
- true if the statement can be removed without violationg restrictions else false
Throws:
AcuityException

removeObjectPropertyStatement

public int removeObjectPropertyStatement(java.lang.String subjectURI,
                                         java.lang.String predicateURI,
                                         java.lang.String objectURI)
                                  throws AcuityException
Call this method to remove all Statements matching the arguments from the ontology model. If the subject and or object are null, all Statements matching will be removed.

Parameters:
subjectURI - - the URI of the subject
predicateURI - - the URI of the predicate
objectURI - - the URI of the Individual which is the object
Returns:
- the number of Statements removed
Throws:
AcuityException

removeObjectPropertyStatement

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
Call this method to remove all Statements matching the arguments from the ontology model. If the subject and or object are null, all Statements matching will be removed.

Parameters:
subject - - the Usubject
predicate - - the predicate
object - - the Individual which is the object
Returns:
- the number of Statements removed
Throws:
AcuityException

replaceStatement

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)
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. If there is more that one statement in the model with the given subject and predicate, an arbitrary statement will be removed and a new statement added. This is intended for functional properties.

Parameters:
subject - -
predicate -
newObject -
Returns:
- the new Statement

dissolveSharedCompositeParameterSet

public void dissolveSharedCompositeParameterSet(java.lang.String setUri)
                                         throws AcuityException
Call this method to dissolve a SharedCompositeParameterSet, giving to each member its own independent clones of shared Parameters that are in the instance namespace. Note that subParameters in the instance namespace will also be cloned.

Parameters:
setUri - - the URI of the Individual which is the SharedCompositeParameterSet
Throws:
AcuityException

dissolveSharedCompositeParameterSet

public void dissolveSharedCompositeParameterSet(com.hp.hpl.jena.ontology.Individual set)
                                         throws AcuityException
Call this method to dissolve a SharedCompositeParameterSet, giving to each member its own independent clones of shared Parameters that are in the instance namespace. Note that subParameters in the instance namespace will also be cloned.

Parameters:
set - - the Individual which is the SharedCompositeParameterSet
Throws:
AcuityException

getSuperClasses

public java.util.List getSuperClasses(com.hp.hpl.jena.rdf.model.Resource r)
                               throws AcuityException
Call this method to get a List of all of the super classes of the specified Resource.

Parameters:
r - - the Resource for which super classes are desired
Returns:
- a List of the super classes
Throws:
AcuityException

getSubOntModelContainingResource

public com.hp.hpl.jena.ontology.OntModel getSubOntModelContainingResource(com.hp.hpl.jena.rdf.model.Resource r)

getSuperClasses

protected java.util.List getSuperClasses(java.util.List superClsList,
                                         com.hp.hpl.jena.rdf.model.Resource r)
                                  throws AcuityException
Recursive method do do work of getting super classes.

Parameters:
superClsList -
r -
Returns:
Throws:
AcuityException

isOntPropertySubPropertyOfOntProperty

public boolean isOntPropertySubPropertyOfOntProperty(java.lang.String propName,
                                                     java.lang.String superPropName,
                                                     boolean bDirectOnly)
                                              throws AcuityException
Call this method to determine if a given OntProperty is an rdfs:subPropertyOf another OntProperty.

Parameters:
propName - - the localname or URI of the OntProperty
superPropName - - the localname or URI of the superProperty to check
bDirectOnly - - pass true if only direct membership is to be checked; otherwise the superProperty hierarchy will be used
Returns:
- true if the OntProperty is an rdfs:subPropertyOf the superProperty else false
Throws:
AcuityException

getInstanceDataNamespace

public java.lang.String getInstanceDataNamespace()
Method to obtain the namespace of the instance data (aBox)

Returns:
- The aBox namespace

mkInstanceDataURI

public 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.

Parameters:
localName - - the local name fragment to be used
Returns:
- the complete URI

getInstancesOfClass

public java.util.ArrayList getInstancesOfClass(java.lang.String className)
                                        throws AcuityException
Method to obtain a List of all of the Individuals which are instances of the specified class.

Parameters:
className - - The name (URI) of the Class for which instances are desired
Returns:
- a List of the Individuals which are of the specified type (Class)
Throws:
AcuityException - -

getInstancesOfClass

public java.util.ArrayList getInstancesOfClass(java.lang.String className,
                                               boolean bIncludeAnon)
                                        throws AcuityException
Method to obtain a List of all of the Individuals which are instances of the specified class.

Parameters:
className - - The name (URI) of the Class for which instances are desired
bIncludeAnon - - if true include anonymous Individuals, otherwise do not
Returns:
- a List of the Individuals which are of the specified type (Class)
Throws:
AcuityException - -

isSameResource

public 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)

Parameters:
res1 - - Resource one
res2URI - - Resource two's URI
Returns:
- true if the same [URI] else false

isSameResource

public 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)

Parameters:
res1 - - Resource one
res2 - - Resource two

uriAnalyzer

public 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.

Parameters:
resourceName - - name of the Resource
Returns:
- the modified Resource name if one is found else the input name

getInstancesOfClass

public java.util.ArrayList getInstancesOfClass(com.hp.hpl.jena.ontology.OntClass cls,
                                               boolean bIncludeAnon)
                                        throws AcuityException
Method to obtain a List of all of the Individuals which are instances of the specified class.

Parameters:
cls - - The Jena OntClass for which instances are desired
bIncludeAnon - - if true include anonymous Individuals, otherwise do not
Returns:
- a List of the Individuals which are of the specified type (Class)
Throws:
AcuityException - -

getMatchingStatements

public 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.

Parameters:
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)
Returns:
- an Iterator which will return all matching Statements

getMatchingStatements

public 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.

Parameters:
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)
Returns:
- an Iterator which will return all matching Statements

getValueOfDatatypeProperty

public com.hp.hpl.jena.rdf.model.Literal getValueOfDatatypeProperty(java.lang.String subjURI,
                                                                    java.lang.String predURI)
                                                             throws AcuityException
Call this method to get a Literal for a Datatype Property on a given subject. The Literal has convenient methods to get the appropriate value as long, int, float, etc.

Parameters:
subjURI - - the URI of the Individual which is the subject of the sought-for Statement
predURI - - the URI of the DatatypeProperty which is the predicate of the sought-for Statement
Returns:
- the Literal which is the object of the sought-for Statement else null if none is found
Throws:
AcuityException - - if more than one Statement if found, an Exception is thrown

getValueOfDatatypeProperty

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
Call this method to get a Literal for a Datatype Property on a given subject. The Literal has convenient methods to get the appropriate value as long, int, float, etc.

Parameters:
s - - the subject of the inquiry
p - - the Property of the inquiry
Returns:
- the Literal which is the object of the sought-for Statement else null if none is found
Throws:
java.util.NoSuchElementException
AcuityException

getObjectsOfObjectProperty

public com.hp.hpl.jena.ontology.Individual[] getObjectsOfObjectProperty(java.lang.String subjURI,
                                                                        java.lang.String predURI)
                                                                 throws AcuityException
Call this method to get an array of Individuals which are the objects of the set of Statements matching the given subject and predicate.

Parameters:
subjURI - - the URI of the Individual which is the subject of the sought-for Statements
predURI - - the URI of the DatatypeProperty which is the predicate of the sought-for Statements
Returns:
- the Individuals (as an array) which are the objects of Statements matching the input arguments
Throws:
AcuityException - - currently no Exception conditions; some may be found

getMatchingStatements

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
Method to find Statements in the ontology which match the pattern described by the arguments.

Parameters:
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)
Returns:
- an Iterator which will return all matching Statements
Throws:
AcuityException

getMissingPropertiesOfAllInstances

public java.util.List getMissingPropertiesOfAllInstances(boolean bRemember,
                                                         boolean bDirectOnly)
                                                  throws AcuityException
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.

Returns:
- a List whose elements are instances of the Java class MissingProperty
Throws:
AcuityException

addPossibleAnswerURIs

public void addPossibleAnswerURIs(InteractionContent content)
                           throws AcuityException
Call this method to add the list of URIs of possible answers and actions to the input InteractionContent

Parameters:
content - - the descriptor of a missing Property for which possible answers is desired
Throws:
AcuityException

convertObjectToValueOrValuesList

public java.lang.Object convertObjectToValueOrValuesList(java.lang.Object dataObject)
Parameters:
dataObject -
Returns:

applyFilters

public java.lang.Object applyFilters(java.lang.Object data,
                                     java.util.List filters)
                              throws AcuityException
Throws:
AcuityException

getCachedRowSetColumnsFromFilter

public java.lang.String[] getCachedRowSetColumnsFromFilter(com.hp.hpl.jena.ontology.Individual f)
                                                    throws AcuityException
Parameters:
f -
Returns:
Throws:
AcuityException

generateListOfPossibleAnswers

public java.util.List generateListOfPossibleAnswers(com.hp.hpl.jena.rdf.model.Resource rangeClass)
                                             throws AcuityException
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.

Parameters:
rangeClass - - the OntClass for which possible answers is desired
Returns:
- a List containing the URIs of all possible Instances of the input OntClass or associated OnDemandActions
Throws:
AcuityException

addContentDependency

public void addContentDependency(int depType,
                                 java.lang.Object depX,
                                 java.lang.Object depY)
                          throws AcuityException
Call this method to add a dependency to the current dependency cache. See explanation in code.

Parameters:
depType - - the dependency type
depX - - the dependency independent parameter (key)
depY - - the dependency dependent parameter (value)
Throws:
AcuityException

suspendContentDependenciesCapture

public boolean suspendContentDependenciesCapture()

resumeContentDependenciesCapture

public boolean resumeContentDependenciesCapture()

capturingContentDependencies

public boolean capturingContentDependencies()

getPresentationObject

public PresentationObject getPresentationObject(java.lang.String poURI)
                                         throws AcuityException
Call this method to get the PresentationObject correponding to a particular URI.

Parameters:
poURI - - URI of the Individual corresponding to the PresentationObject
Returns:
- a Java PresentationObject
Throws:
AcuityException

getPresentationObject

public PresentationObject getPresentationObject(com.hp.hpl.jena.ontology.Individual poInst)
                                         throws AcuityException
Call this method to get the PresentationObject corresponding to a particular Individual of type PresentationObject.

Parameters:
poInst - - the Individual of type PresentationObject
Returns:
- the Java PresentationObject class instance
Throws:
AcuityException

getInteractionObject

public InteractionObject getInteractionObject(MissingProperty mp,
                                              boolean bRemember)
                                       throws AcuityException
Call this method when it is desired to present an askable InteractionObject instance as a user-input opportunity in the HMI.

Parameters:
mp - - the MissingProperty instance capturing the relevant information about what the user can input
bRemember - - if true remember in the instance namespace any new Individuals or Statements
Returns:
- An Individual which is the InteractionObject instance to be used
Throws:
AcuityException

setPresentationObjectValueName

public void setPresentationObjectValueName(PresentationObject pO,
                                           com.hp.hpl.jena.ontology.Individual poInst)
                                    throws AcuityException
Call this method to set the value name associated with a PresentationObject.

Parameters:
pO - - the PresentationObject (Java object) in which to set the value name
poInst - - the Individual of type PresentationObject (owl:class) with the value name
Throws:
AcuityException

getInteractionObject

public InteractionObject getInteractionObject(InteractionContent ic,
                                              boolean bRemember)
                                       throws AcuityException
Call this method when it is desired to present an askable InteractionObject instance as a user-input opportunity in the HMI.

Parameters:
ic - - the InteractionContent instance capturing the relevant information about what the user can input
bRemember - - if true remember in the instance namespace any new Individuals or Statements
Returns:
- An Individual which is the InteractionObject instance to be used
Throws:
AcuityException

refreshPresentationObjectParameters

public void refreshPresentationObjectParameters(PresentationObject pO)
                                         throws AcuityException
Call this method to refresh the PresentationParameterMap content of a PresentationObject.

Parameters:
pO - - the PresentationObject to refresh
Throws:
AcuityException

propertyIsParameterProperty

public boolean propertyIsParameterProperty(com.hp.hpl.jena.rdf.model.Property p)
                                    throws AcuityException
Call this method to determine if a Property is a PresentationParameter.

Parameters:
p - - the Property
Returns:
- true if a Parameter else false
Throws:
AcuityException

getPresentationParameterMap

public PresentationParameterMap getPresentationParameterMap(com.hp.hpl.jena.ontology.Individual pO,
                                                            com.hp.hpl.jena.ontology.OntClass poCls)
                                                     throws AcuityException
Throws:
AcuityException

populatePresentationParameterMap

protected PresentationParameterMap populatePresentationParameterMap(PresentationParameterMap result,
                                                                    com.hp.hpl.jena.ontology.Individual pO,
                                                                    com.hp.hpl.jena.ontology.OntClass poCls)
                                                             throws AcuityException
Throws:
AcuityException

isInteractionObjectEnabled

public java.lang.Boolean isInteractionObjectEnabled(java.lang.String iaoUri)
                                             throws AcuityException
Call this method to determine if an InteractionObject should be enabled in the client UI.

Parameters:
iaoUri - - the URI of the Individual InteractionObject
Returns:
- null if there is no isEnabled Property, Boolean false if the Property value is false, else Boolean true
Throws:
AcuityException

getInteractionObjectContent

public InteractionContent getInteractionObjectContent(java.lang.String iaoUri)
                                               throws AcuityException
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.

Parameters:
iaoUri - - the URI of an Individual which is an instance of an InteractionObject (or subclass thereof)
Returns:
- the InteractionContent instance populated with input information
Throws:
AcuityException

getInteractionObjectContent

public InteractionContent getInteractionObjectContent(com.hp.hpl.jena.ontology.Individual iaO)
                                               throws AcuityException
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.

Parameters:
iaO - - an Individual which is an instance of an InteractionObject (or subclass thereof)
Returns:
- the InteractionContent instance populated with input information
Throws:
AcuityException

clearInteractionContentCache

public void clearInteractionContentCache()
Call this method to clear all cached InteractionContent instances. This should be called, for example, when an editor application adds Restrictions to the model.


cachedRowSetToPossibleAnswerList

public java.util.List cachedRowSetToPossibleAnswerList(sun.jdbc.rowset.CachedRowSet crs)
                                                throws java.sql.SQLException,
                                                       AcuityException
Call this method to convert a CachedRowSet into a List of possible answer pairs for an apvf:SelectionListPresentation.

Parameters:
crs - - the CachedRowSet
Returns:
- the List of possible answers
Throws:
java.sql.SQLException
AcuityException

smartStringToURI

public java.lang.String smartStringToURI(java.lang.String ro)
Returns:

advanceProcessToNextStep

public java.lang.Object advanceProcessToNextStep(com.hp.hpl.jena.ontology.Individual ap,
                                                 com.hp.hpl.jena.ontology.Individual as)
                                          throws AcuityException
Call this method to advance the given Individual of type DiscreteProcess to the next step.

Parameters:
ap - - the process to advance
as - - the current active step
Throws:
AcuityException

getEffects

public java.util.List getEffects(com.hp.hpl.jena.ontology.Individual iao)
                          throws AcuityException
Call this method to get a List of the values of the hasEffect property on InteractionObject iao.

Parameters:
iao - - the Individual that has the effects, e.g., an InteractionObject
Returns:
- List of effects
Throws:
AcuityException

combineData

public static java.lang.Object combineData(java.lang.Object existingData,
                                           java.lang.Object newData)

addCompositeParameter

public com.hp.hpl.jena.ontology.Individual addCompositeParameter(java.lang.String pOURI,
                                                                 java.lang.String paramName,
                                                                 java.util.Map values)
                                                          throws AcuityException
Call this method to create a composite Parameter. Nested subParameters can be created to arbitrary depth.

Parameters:
pOURI - - the Individual of type PresentationObject or Parameter to which the composite Parameter is to be added
paramName - - the name of the Parameter Property connecting the new composite Parameter to the pO
values - - a Hashtable of key (Parameter Property) value (Integer, Boolean, etc. or Hashtable for sub-composite Parameter) pairs
Returns:
- the Individual which is the ontology representation of the new composite Parameter
Throws:
AcuityException

addCompositeParameter

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
Call this method to create a composite Parameter. Nested subParameters can be created to arbitrary depth.

Parameters:
pO - - the Individual of type PresentationObject or Parameter to which the composite Parameter is to be added
paramName - - the name of the Parameter Property connecting the new composite Parameter to the pO
values - - a Hashtable of key (Parameter Property) value (Integer, Boolean, etc. or Hashtable for sub-composite Parameter) pairs
Returns:
- the Individual which is the ontology representation of the new composite Parameter
Throws:
AcuityException

canReplacePOWithClone

public java.lang.String canReplacePOWithClone(com.hp.hpl.jena.ontology.Individual inst)
                                       throws AcuityException
Call this method to determine if the specified Individual of type PresentationObject can be replaced with a clone

Parameters:
inst - - the Individual PO
Returns:
- null if it can be replaced else a string explaining why not
Throws:
AcuityException

replaceSubjectWithClone

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
Throws:
AcuityException

getContextualInfoAbout

public java.lang.Object[] getContextualInfoAbout(java.lang.String aboutURI)
                                          throws AcuityException
Call this method to get contextual information about the specified Resource.

Parameters:
aboutURI - - the Resource for which information is requested
Returns:
- an Object array containing all rdfs:comments, rdfs:seeAlso for Individual, rdfs:seeAlso for class(es) of Individual
Throws:
AcuityException

getContainersOfWithinContainer

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
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."

Parameters:
container -
p -
contained -
Returns:
Throws:
AcuityException

isSameInteractionContent

public boolean isSameInteractionContent(InteractionContent ic1,
                                        InteractionContent ic2)
                                 throws AcuityException
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).

Parameters:
ic1 - - first InteractionContent
ic2 - - second InteractionContent
Returns:
- true if the same else false
Throws:
AcuityException

isSameInteractionContent

public boolean isSameInteractionContent(MissingProperty ic1,
                                        InteractionContent ic2)
                                 throws AcuityException
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).

Parameters:
ic1 - - first InteractionContent
ic2 - - second InteractionContent
Returns:
- true if the same else false
Throws:
AcuityException

isContentOfInteractionObject

public boolean isContentOfInteractionObject(java.lang.String ioUri,
                                            MissingProperty mp)
                                     throws AcuityException
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.

Parameters:
ioUri - - the URI of the InteractionObject
mp - - the instance of the Java InteractionContent class for comparison
Returns:
- true if they are the same else false
Throws:
AcuityException

replaceAnchorTerm

public java.lang.Object replaceAnchorTerm(java.lang.String term)
                                   throws AcuityException
Throws:
AcuityException

getAnchorReplacementAsString

protected java.lang.String getAnchorReplacementAsString(java.lang.String term,
                                                        boolean localNameOnly)
                                                 throws AcuityException
Throws:
AcuityException

getAnchorReplacement

protected java.lang.Object getAnchorReplacement(java.lang.String term,
                                                boolean localNameOnly)
                                         throws AcuityException
Throws:
AcuityException

getScriptFailureReturnValue

public java.lang.String getScriptFailureReturnValue(com.hp.hpl.jena.ontology.Individual script)
                                             throws AcuityException
Returns:
Throws:
AcuityException

getCurrentPresentationObject

public com.hp.hpl.jena.ontology.Individual getCurrentPresentationObject()
Call this method to get the Individual which is the current PresentationObject.

Returns:
- Individual which is the current PO

getReplacementStringFromIndividual

protected java.lang.String getReplacementStringFromIndividual(java.lang.String term,
                                                              com.hp.hpl.jena.ontology.Individual inst,
                                                              boolean localNameOnly)
                                                       throws AcuityException
Throws:
AcuityException

getReplacementStringFromProperty

protected java.lang.String getReplacementStringFromProperty(java.lang.String term,
                                                            com.hp.hpl.jena.rdf.model.Property p,
                                                            boolean localNameOnly)
                                                     throws AcuityException
Throws:
AcuityException

stripURINamespace

public static java.lang.String stripURINamespace(java.lang.String uri)
Call this method to get the localname of a URI (without the namespace prefix)

Parameters:
uri - - the URI to strip
Returns:
- the localname

replaceAllAnchors

public java.lang.String replaceAllAnchors(java.lang.String stmt)
                                   throws AcuityException
Throws:
AcuityException

replaceAllAnchors

public java.lang.Object replaceAllAnchors(java.lang.String stmt,
                                          boolean multipleValuesAllowed)
                                   throws AcuityException
Call this statement to process a String statement by replacing all anchors of the form '${...}' with the value returned. If multipleValuesAllowed is true, anchors can return multiple values which will result in a multiplicity of statements. The result will be a Map of statements with "=" as keys and the resulting statements as values. If multiple anchors return multiple values, the keys will be of the form "= AND =". If no anchor has more than one value, a String will be returned.

Parameters:
stmt - - the statement in which anchor expansion is to occur
multipleValuesAllowed - - if true allow multiple values of anchors else collapse to a single value
Returns:
- String or Map (see above)
Throws:
AcuityException

replaceAll

public 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.

Parameters:
s1 -
s2 -
r -
Returns:
- the String s with replacements

getAllValuesFromRestrictionClass

public 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.

Parameters:
cls - - the OntClass for which the restriction is requested
prop - - the OntProperty being restricted
Returns:
- the OntClass to which the property is restricted

getHasValueRestrictions

public 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.

Parameters:
inst - - the OntClass for which the restrictions are desired
prop - - the OntProperty restricted
Returns:
- an array of RDFNodes representing the values of the restrictions

getHasValueRestrictions

public 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.

Parameters:
cls - - the OntClass for which the restrictions are desired
prop - - the OntProperty restricted
Returns:
- an array of RDFNodes representing the values of the restrictions

getHasValueRestrictions

public 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.

Parameters:
cls - - the OntClass for which the HasValueRestrictions are desired
Returns:
- a List whose elements are HasValueRestriction instances

getSomeValuesFromRestrictions

public 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.

Parameters:
cls - - the OntClass for which the SomeValuesFromRestrictions are desired
Returns:
- a List whose elements are SomeValuesFromRestrictions instances

getClassNecessaryConditionsOnProperties

public 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.

Parameters:
cls - - the OntClass for which the SomeValuesFromRestrictions are desired
Returns:
- a List whose elements are SomeValuesFromRestrictions instances

getClassNecessaryConditionsOnProperty

public static java.util.List getClassNecessaryConditionsOnProperty(com.hp.hpl.jena.ontology.OntClass cls,
                                                                   com.hp.hpl.jena.ontology.OntProperty p)
                                                            throws AcuityException
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.

Parameters:
cls - - the OntClass for which the Property Restrictions are desired
p - - the Property restricted
Returns:
- a List whose elements are Property Restrictions instances
Throws:
AcuityException

getSomeValuesFromRestrictions

public 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.

Parameters:
cls - - the OntClass for which the restrictions are desired
prop - - the OntProperty restricted
Returns:
- an Array of Resources which represent the restrictions; they will be OntClasses or DataRanges

getActionableRestrictionsOfIndividual

public 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.

Parameters:
prop - - the OntProperty restricted
Returns:
- a List of Restrictions

getActionableRestrictionsOfClass

public java.util.List getActionableRestrictionsOfClass(com.hp.hpl.jena.ontology.OntClass subjClass,
                                                       com.hp.hpl.jena.ontology.OntProperty prop)

getLeastCardinalityRestriction

public 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.

Parameters:
cls - - the Class
pred - - the Property
Returns:
- return the least cardial or 0 if none are found

getOntPropertyRangeRestrictions

public 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.

Parameters:
p - - the OntProperty for which the range is desired
Returns:
- an array of OntClasses constituting the range

cardinalityRestrictionOfClass

public 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.

Parameters:
cls - - the OntClass for which the restriction is requested
prop - - the OntProperty being restricted
Returns:
- the cardinality or -1 if none is found

cardinalityRestrictionOfClass

public static int cardinalityRestrictionOfClass(com.hp.hpl.jena.ontology.OntClass cls,
                                                com.hp.hpl.jena.ontology.OntProperty prop)

cardinalityRestrictionOfIndividual

public static int cardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
                                                     com.hp.hpl.jena.ontology.OntProperty prop)

minCardinalityRestrictionOfClass

public 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.

Parameters:
cls - - the OntClass for which the restriction is requested
prop - - the OntProperty being restricted
Returns:
- the min cardinality or -1 if none is found

maxCardinalityRestrictionOfClass

public 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.

Parameters:
cls - - the OntClass for which the restriction is requested
prop - - the OntProperty being restricted
Returns:
- the max cardinality or -1 if none is found

maxCardinalityRestrictionOfIndividual

public static int maxCardinalityRestrictionOfIndividual(com.hp.hpl.jena.ontology.Individual inst,
                                                        com.hp.hpl.jena.ontology.OntProperty prop)

getMissingProperties

public java.util.List getMissingProperties(java.lang.String instURI,
                                           boolean bRemember,
                                           boolean bDirectOnly)
                                    throws AcuityException
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.

Parameters:
instURI - - the name (URI) of the Individual for which missing Properties are desired
bRemember - - if true remember anything created while precessing else don't
bDirectOnly - - if true only look at directly associated things
Returns:
A List with one element for each missing Property found. The elements of the List are instances of class MissingProperty.
Throws:
AcuityException - -

getAllValuesFromRangeClasses

public java.util.List getAllValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
                                            throws AcuityException
Call this method to get all of the OntClasses that are part of the range of an AllValuesFrom restriction. The List returned will contain only OntClass instances.

Parameters:
rest -
Returns:
Throws:
AcuityException

convertUnionToList

public java.util.List convertUnionToList(com.hp.hpl.jena.ontology.OntClass unionClass)
                                  throws AcuityException
Throws:
AcuityException

getSomeValuesFromRangeClasses

public java.util.List getSomeValuesFromRangeClasses(com.hp.hpl.jena.ontology.Restriction rest)
                                             throws AcuityException
Call this method to get all of the OntClasses that are part of the range of an AllValuesFrom restriction. The List returned will contain only OntClass instances.

Parameters:
rest -
Returns:
Throws:
AcuityException

confirmStatementWithObjectClass

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
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.

Parameters:
subj - - the subject Individual
pred - - the predicate OntProperty
rngClass - - the specified range Class
Returns:
- true if there is such a Statement else false
Throws:
AcuityException

createTimeNamedIndividual

public com.hp.hpl.jena.ontology.Individual createTimeNamedIndividual(com.hp.hpl.jena.ontology.OntClass cls,
                                                                     boolean bRemember)
                                                              throws AcuityException
Call this method to create a new Individual of the given Class with a name based on the Class and the current time.

Parameters:
cls - - the OntClass of the new Individual
bRemember - - true if the new Individual should be persisted beyond this session
Returns:
- the new Individual created
Throws:
AcuityException

processUpdaterScript

public java.lang.Object processUpdaterScript(java.lang.String scriptUri,
                                             java.util.Map nameValuePairs,
                                             boolean bRemember)
                                      throws AcuityException
Call this method to process an Individual ServerSideScript, associated with the current Frame, to update the Acuity Frame content.

Parameters:
scriptUri - - the URI of the script Individual
nameValuePairs - - a set of named value pairs which will be passed to a Java method and used as local anchors script execution
bRemember - - true if assertions in the ontology are to be stored persistently else false
Returns:
- whatever is returned, if anything, by the script
Throws:
AcuityException

processScript

public java.lang.Object processScript(java.lang.String scriptUri,
                                      boolean bRemember)
                               throws AcuityException
Call this method to process an individual script.

Parameters:
scriptUri - - the URI of the script Individual
bRemember - - true if assertions in the ontology are to be stored persistently else false
Returns:
- whatever is returned, if anything, by the script
Throws:
AcuityException

processOnDemandAction

public java.lang.Object processOnDemandAction(java.lang.String actionURI,
                                              java.lang.Object[] arguments)
                                       throws AcuityException
Call this method to execute an APVF_ONDEMANDACTION.

Parameters:
actionURI - - the URI of the APVF_ONDEMANDACTION to be executed
arguments - - any additional arguments (besides this AcuityController instance) to be passed to the Java static method
Returns:
- whatever the static method returns, as a single Object
Throws:
AcuityException

processAction

public java.lang.Object processAction(com.hp.hpl.jena.ontology.Individual action,
                                      java.lang.Object[] args)
                               throws AcuityException
Call this method to process an AcuityControllerAction (method on a specified Java class).

Parameters:
action - - the Individual identifying the Java action to process
args - - additional arguments to be passed to the Java action method
Returns:
- whatever the Java action returns
Throws:
AcuityException

getAllDefaultsOfInstanceWithSameContext

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
Parameters:
cls -
inst -
ctxSubj -
ctxPred -
Returns:
Throws:
AcuityException

listPropertiesWithClassInDomain

public 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.

Parameters:
cls -
Returns:
- an Iterator for the Properties with the Class in their domain

processInteractionAnswer

public java.lang.Object processInteractionAnswer(java.lang.String interactionObjectURI,
                                                 java.lang.String answerURI,
                                                 boolean bRemember)
                                          throws AcuityException
Call this method to answer a question posed by an InteractionObject.

Parameters:
interactionObjectURI - - the URI of the InteractionObject instance containing the question
answerURI - - the answer proffered; either a Resource to serve as object of a new statement or an APVF_ONDEMANDACTION to be executed
bRemember - - true if the new Statement is to be remembered else false
Returns:
- the newly created Statement else false
Throws:
AcuityException

findInteractionContentOfIaO

public InteractionContent findInteractionContentOfIaO(java.lang.String interactionObjectURI)
                                               throws AcuityException
Call this method to get the existing InteractionContent associated with a displayed InteractionObject. Note that the call to get the InteractionContent for the initial display of an InteractionObject is getInteractionObjectContent.

Parameters:
interactionObjectURI - - the URI of the Individual representing the InteractionObject
Returns:
- an InteractionContent structure with the existing "question" of the IaO
Throws:
AcuityException

processInteractionAnswer

public java.lang.Object processInteractionAnswer(InteractionContent iaoContent,
                                                 java.lang.String answerURI,
                                                 boolean bRemember)
                                          throws AcuityException
Call this method to answer a question contained by an InteractionContent.

Parameters:
iaoContent - - the InteractionContent instance containing the question
answerURI - - the answer proffered; either a Resource to serve as object of a new statement or an APVF_ONDEMANDACTION to be executed
bRemember - - true if the new Statement is to be remembered else false
Returns:
- the newly created Statement else false
Throws:
AcuityException

processInteractionAnswer

public java.lang.Object processInteractionAnswer(InteractionContent iaoContent,
                                                 org.apache.struts.upload.FormFile answer,
                                                 boolean bRemember)
                                          throws AcuityException
Process interaction answer when doing file upload.

Parameters:
iaoContent - the iao content
bRemember - the b remember
answer - the FormFile answer
Returns:
the object
Throws:
AcuityException - the acuity exception

clearPropertyValue

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
Call this method to clear a property value.

Parameters:
script - - the script doing the clearing (if any -- specifies error handling)
subj - - the subject of the tripple(s) to be cleared
pred - - the predicate of the tripples(s) to be cleared
Returns:
- True (Boolean) if successful else the value of the error return of the script (if any) else null if no values found
Throws:
AcuityException - - if the property can't be removed without violating restrictions

processEffectsStmts

public java.lang.Object processEffectsStmts(java.util.List effectStmts,
                                            boolean bRemember)
                                     throws AcuityException,
                                            java.util.NoSuchElementException
Call this method to process the Scripts associated with an Individual by the apvf:hasEffects Property

Parameters:
effectStmts - - the List of Script statements
bRemember - - if true make any ontology changes persist beyond this session
Returns:
- a List of results, e.g., new Statements
Throws:
AcuityException
java.util.NoSuchElementException

processScript

public java.lang.Object processScript(com.hp.hpl.jena.ontology.Individual scr,
                                      boolean bRemember)
                               throws AcuityException,
                                      java.util.NoSuchElementException
Call this method to process a Script.

Parameters:
scr - - the Individual of type Script to be processed
bRemember - - if true remember any Statements or Resources inserted into the ontology else don't remember them beyond this session
Returns:
- whatever is returned by the Script processed
Throws:
AcuityException
java.util.NoSuchElementException

setGroupInputValues

public 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. BE SURE to call this again to restore the old value returned by the first call when processing of YOUR script is complete

Parameters:
_groupInputValues -
Returns:
- the previous value of the cache

findInteractionObjectOfMissingProperty

public InteractionObject findInteractionObjectOfMissingProperty(MissingProperty mp)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty.

Parameters:
mp - - the MissingProperty associated with the InteractionObject
Returns:
- an InteractionObject structure

findInteractionObjectOfMissingProperty

public InteractionObject findInteractionObjectOfMissingProperty(InteractionContent ic)
                                                         throws AcuityException
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty.

Parameters:
ic - - the MissingProperty associated with the InteractionObject
Returns:
- an InteractionObject structure
Throws:
AcuityException

findInteractionObjectOfMissingProperty

public InteractionObject findInteractionObjectOfMissingProperty(java.lang.String iaoUri)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty.

Parameters:
iaoUri - - the URI of the InteractionObject representing the MissingProperty
Returns:
- an InteractionObject structure

findInteractionObjectOfMissingProperty

public InteractionObject findInteractionObjectOfMissingProperty(com.hp.hpl.jena.ontology.Individual iaO)
Call this method to get the existing [temporary] InteractionObject associated with a MissingProperty.

Returns:
- an InteractionObject structure

cleanFunctionalPropertyOldValue

public void cleanFunctionalPropertyOldValue(com.hp.hpl.jena.ontology.Individual subject,
                                            com.hp.hpl.jena.ontology.OntProperty predicate)

investigateOntClass

public 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. This should evolve further.

Parameters:
c - - a particular OntClass to be investigated
mpi - - a InteractionContent instance to which data may be added

getOntClass

public com.hp.hpl.jena.ontology.OntClass getOntClass(java.lang.String clsURI)
Call this method to find an OntClass in the model.

Parameters:
clsURI - - the name (URI) of the OntClass to be found
Returns:
- the OntClass or null if none is found

getOntClassMustExist

public com.hp.hpl.jena.ontology.OntClass getOntClassMustExist(java.lang.String clsURI)
                                                       throws AcuityException
Call this method to find an OntClass in the model when its existence is required.

Parameters:
clsURI - - the URI of the OntClass to be found
Returns:
- the OntClass found
Throws:
AcuityException - - if an OntClass with the URI isn't found in the model

getOntProperty

public com.hp.hpl.jena.ontology.OntProperty getOntProperty(java.lang.String propURI)
Method to find an OntProperty in the model.

Parameters:
propURI - - the name (URI) of the OntProperty to be found
Returns:
- the OntProperty or null if it is not found

getOntPropertyMustExist

public com.hp.hpl.jena.ontology.OntProperty getOntPropertyMustExist(java.lang.String propURI)
                                                             throws AcuityException
Call this method to find an OntProperty in the model when its existence is required.

Parameters:
propURI - - the name (URI) of the OntProperty to be found
Returns:
- the OntProperty or null if it is not found
Throws:
AcuityException

getResource

public com.hp.hpl.jena.rdf.model.Resource getResource(java.lang.String resourceURI)
Method to find a Resource in the model.

Parameters:
resourceURI - - the name (URI) of the Resource to be found
Returns:
- the Resource or null if it is not found

getIndividual

public 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.

Parameters:
instanceURI - - the Individual localName or URI
Returns:
- the corresponding Individual if it is found else null

getResourceComment

public java.lang.String getResourceComment(java.lang.String resourceURI)
Call this method to get the comment annotation property of a given Resource.

Parameters:
resourceURI - - the localname or URI of the Resource
Returns:
- the comment

getResourceLabel

public java.lang.String getResourceLabel(java.lang.String resourceURI)
                                  throws AcuityException
Call this method to get the label annotation property of a given Resource.

Parameters:
resourceURI - - the localname or URI of the Resource
Returns:
- the label
Throws:
AcuityException

getIndividualLabel

public java.lang.String getIndividualLabel(java.lang.String answerURI)
Call this method to find the rdfs:label of the Individual.

Parameters:
answerURI - - the URI of the Individual whose label is desired
Returns:
- the String which is the rdfs:label
Throws:
AcuityException

getResourceLabel

public java.lang.String getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res)
                                  throws AcuityException
Call this method to get the label annotation property of a given Resource.

Parameters:
res - - the Resource
Returns:
- the label
Throws:
AcuityException

getResourceLabel

public java.lang.String getResourceLabel(com.hp.hpl.jena.rdf.model.Resource res,
                                         boolean bReplaceAnchors)
                                  throws AcuityException
Call this method to get the label annotation property of a given Resource.

Parameters:
res - - the Resource
bReplaceAnchors - - 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)
Returns:
- the label
Throws:
AcuityException

getIndividualClassLabel

public java.lang.String getIndividualClassLabel(java.lang.String instanceURI)
                                         throws AcuityException
Call this method to find the rdfs:label of the Individual's Class (or a super class).

Parameters:
instanceURI - - the URI of the Individual whose class label is desired
Returns:
- the String which is the class or superclass rdfs:label
Throws:
AcuityException

getIndividualClassLabel

public java.lang.String getIndividualClassLabel(com.hp.hpl.jena.ontology.Individual inst)
                                         throws AcuityException
Call this method to find the rdfs:label of the Individual's Class (or a super class).

Parameters:
inst - - the Individual whose class label is desired
Returns:
- the String which is the class or superclass rdfs:label
Throws:
AcuityException

setResourceLabel

public boolean setResourceLabel(java.lang.String resourceURI,
                                java.lang.String label)
Call this method to set the label annotation property of a given Resource.

Parameters:
resourceURI - - the localname or URI of the Resource
label - - the value to be assigned as the label (old label, if any, will be replaced)
Returns:
- true if successful else false

setResourceLabel

public 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

Parameters:
resource - - the Resource
label - - the label to be assigned (old label, if any, will be replaced)

setTraceLevel

public void setTraceLevel(int traceLevel)
Method to set the level of debug output from the AcuityController and the underlying Jena library.

Parameters:
traceLevel - - the amount of log4j output to be generated; see AcuityConstants for possible values

getTraceLevel

public org.apache.log4j.Level getTraceLevel()
Call this method to obtain the current trace level of the controller.

Returns:
- Log4J tracelevel as int

isTraceOn

public boolean isTraceOn()
Call this method to find out if the controller has any level of tracing turned on.

Returns:

getLogger

public org.apache.log4j.Logger getLogger()
Call this method to get the controllers Log4J Logger

Returns:
- return Logger

setUser

public com.hp.hpl.jena.rdf.model.Statement setUser(java.lang.String userID,
                                                   boolean bOkToCreate)
                                            throws AcuityException
Call this method to set the user in this instance of AcuityController.

Parameters:
userID - - the new user identity
bOkToCreate - - true if it is ok to create a new user if one matching this identity is not found
Returns:
- the Statement created by fulfilling this request else null
Throws:
AcuityException

getUser

public com.hp.hpl.jena.ontology.Individual getUser()
Method to get the Individual representing this instance of an AcuityController

Returns:
the Individual

getFrame

public com.hp.hpl.jena.ontology.Individual getFrame()
                                             throws AcuityException
Call this method to get the Frame instance currently associated with this AcuityController instance.

Returns:
- the Frame instance else null if there is none
Throws:
AcuityException

getFocusVantageOfFrame

public com.hp.hpl.jena.ontology.Individual getFocusVantageOfFrame(com.hp.hpl.jena.ontology.Individual frame)
                                                           throws AcuityException
Call this method to get the Vantage instance which currently has the focus in the given Frame instance. Note that the method will try to set a focus Vantage if there isn't one by finding a Vantage which has InteractionObject(s) matching missing properties.

Parameters:
frame - - the current Frame instance
Returns:
- the focus Vantage instance else null if none
Throws:
AcuityException

getVantagesOfFrame

public java.util.List getVantagesOfFrame(com.hp.hpl.jena.ontology.Individual frame)
                                  throws AcuityException
Call this mehtod to get a list of all the Vantage instances associated with the given Frame instance.

Parameters:
frame - - the current Frame instance
Returns:
- a List of Vantage instances
Throws:
AcuityException

getVantagesOfFrame

public java.util.List getVantagesOfFrame(java.lang.String frameURI)
                                  throws AcuityException
Throws:
AcuityException

getInformationObjectsOfVantage

public java.util.List getInformationObjectsOfVantage(com.hp.hpl.jena.ontology.Individual vantage)
                                              throws AcuityException
Deprecated. replaced by call to getPresentationObjectContents

Call this method to get a List of the PresentationObject instances associated with the given Vantage instance.

Parameters:
vantage - - the Vantage instance for which the POs are desired
Returns:
- a List of PresentationObject instances
Throws:
AcuityException

getPresentationObjectContents

public java.util.List getPresentationObjectContents(com.hp.hpl.jena.ontology.Individual pO)
                                             throws AcuityException
Call this method to get a List of the PresentationObject instances contained by a given PresentationObject instance.

Parameters:
pO - - the PresentationObject instance for which the contained POs are desired
Returns:
- a List of PresentationObject instances (Individuals) contained
Throws:
AcuityException

getPresentationObjectContents_Old

public java.util.List getPresentationObjectContents_Old(com.hp.hpl.jena.ontology.Individual pO)
                                                 throws AcuityException
Call this method to get a List of the PresentationObject instances contained by a given PresentationObject instance.

Parameters:
pO - - the PresentationObject instance for which the contained POs are desired
Returns:
- a List of PresentationObject instances (Individuals) contained
Throws:
AcuityException

graphQueryWithTransitiveSupport

public java.util.List graphQueryWithTransitiveSupport(java.lang.String startNodeUri,
                                                      java.util.List orderedPredicateUris)
                                               throws AcuityException
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. Any predicates which are transitive will be recursed.

Parameters:
startNodeUri - - URI of starting node or an operator
orderedPredicateUris - - List of URIs of predicates to follow, in order
Returns:
- a list of Individuals or Literals which are reached by the specified paths
Throws:
AcuityException

tell

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)
Method to assert new information (a new Statement) in the ontology model. This method is equivalent to the addStatement method with the same set of arguments.

Parameters:
s - - the Resource which is the subject of the new Statement
p - - the Property which is the predicate of the new Statement
o - - the RDFNode which is the object of the new Statement
Returns:
- the new Statement added to the ontology model

tell

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)
Method to assert new information (a new Statement) in the ontology model. This method is equivalent to the addStatement method with the same set of arguments.

Parameters:
s - - the Resource which is the subject of the new Statement
p - - the Property which is the predicate of the new Statement
o - - the RDFNode which is the object of the new Statement
bRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
Returns:
- the new Statement added to the ontology model

tell

public com.hp.hpl.jena.rdf.model.Statement tell(java.lang.String subjName,
                                                java.lang.String propName,
                                                java.lang.String objName)
                                         throws AcuityException
Method to assert new information (a new Statement) in the ontology model.

Parameters:
propName - - the name (URI) of the Resource which is the subject of the new Statement
subjName - - the name (URI) of the Property which is the predicate of the new Statement
objName - - the Name (URI) of the Resource which is the object of the new Statement
Returns:
- the new Statement added to the ontology model
Throws:
AcuityException - -

tell

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
Method to assert new information (a new Statement) in the ontology model.

Parameters:
propName - - the name (URI) of the Resource which is the subject of the new Statement
subjName - - the name (URI) of the Property which is the predicate of the new Statement
objName - - the Name (URI) of the RDFNode which is the object of the new Statement
bRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
Returns:
- the new Statement added to the ontology model
Throws:
AcuityException - -

update

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
Call this method to replace an existing Statement or, if none which matches exists, create a new one. If any Statement matching subject and predicate is ok, oldObject can be null.

Parameters:
sUri - - the URI of the subject of the Statement to be updated
pUri - - the URI of the predicate of the Statement to be updated
oldObjUri - - 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 Statement
bRemember - - if true remember the new Statement persistently else don't
Returns:
- the new updated Statement
Throws:
AcuityException

update

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
Call this method to replace an existing Statement or, if none which matches exists, create a new one. If any Statement matching subject and predicate is ok, oldObject can be null.

Parameters:
s - - the subject of the Statement to be updated
p - - the predicate of the Statement to be updated
oldObject - - the old object of the Statement to be updated (or null if any Statement is ok)
newObject - - the new object for the updated Statement
bRemember - - if true remember the new Statement persistently else don't
Returns:
- the new updated Statement
Throws:
AcuityException

getDatatypePropertyType

public java.lang.String getDatatypePropertyType(java.lang.String pUri)
                                         throws AcuityException
Call this method to get the XMLSchema type of a DatatypeProperty.

Parameters:
pUri - - the URI of the Property for which type is desired
Throws:
AcuityException

getDatatypePropertyType

public java.lang.String getDatatypePropertyType(com.hp.hpl.jena.ontology.OntProperty p)
                                         throws AcuityException
Call this method to get the XMLSchema type of a DatatypeProperty.

Parameters:
p - - the Property for which type is desired
Returns:
- the localname of the XMLSchema type, e.g., "int"
Throws:
AcuityException

setDatatypePropertyValue

public 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

Parameters:
s - - the Individual having the property value
p - - the DatatypeProperty
iVal - - the int value to be given as the property value

setDatatypePropertyValue

public 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

Parameters:
s - - the Individual having the property value
p - - the DatatypeProperty
fVal - - the float value to be given as the property value

setDatatypePropertyValue

public 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

Parameters:
s - - the Individual having the property value
p - - the DatatypeProperty
bVal - - the boolean value to be given as the property value

setDatatypePropertyValue

public 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

Parameters:
s - - the Individual having the property value
p - - the DatatypeProperty
sVal - - the String value to be given as the property value

addStatement

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)
Method to assert new information (a new Statement) in the ontology model. This method is equivalent to the tell method with the same set of arguments.

Parameters:
s - - the Resource which is the subject of the new Statement
p - - the Property which is the predicate of the new Statement
o - - the RDFNode which is the object of the new Statement
Returns:
- the new Statement added to the ontology model

addStatement

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)
Method to assert new information (a new Statement) in the ontology model. This method is equivalent to the tell method with the same set of arguments.

Parameters:
s - - the Resource which is the subject of the new Statement
p - - the Property which is the predicate of the new Statement
o - - the RDFNode which is the object of the new Statement
bRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
Returns:
- the new Statement added to the ontology model

addStatement

public com.hp.hpl.jena.rdf.model.Statement addStatement(java.lang.String subjName,
                                                        java.lang.String propName,
                                                        java.lang.String objName)
                                                 throws AcuityException
Method to assert new information (a new Statement) in the ontology model.

Parameters:
propName - - the name (URI) of the Resource which is the subject of the new Statement
subjName - - the name (URI) of the Property which is the predicate of the new Statement
objName - - the Name (URI) of the Resource which is the object of the new Statement
Returns:
- the new Statement added to the ontology model
Throws:
AcuityException - -

addStatement

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
Method to assert new information (a new Statement) in the ontology model.

Parameters:
propName - - the name (URI) of the Resource which is the subject of the new Statement
subjName - - the name (URI) of the Property which is the predicate of the new Statement
objName - - the Name (URI) of the RDFNode which is the object of the new Statement
bRememberStmt - - if true the Statement should be written to the instance store (aBox) if a save is performed
Returns:
- the new Statement added to the ontology model
Throws:
AcuityException - -

isUnreifiedInstanceOfClass

public 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.

Parameters:
subjName - - the candidate URI
Returns:
- true if the candidate URI is the URI of a unreified Individual

isInferenceModelValid

public boolean isInferenceModelValid()
                              throws AcuityException
Method to check the inference model (InfModel) corresponding to the loaded ontology (tBox and aBox) for validity. The InfModel must already exist.

Returns:
- true if model is valid else false. If false, the validity report will be written to the log4j logger.
Throws:
AcuityException

checkModelLanguage

public java.lang.String checkModelLanguage()
Method to check and return the OWL language implied by the loaded ontology (model).

Returns:
- "Lite", "DL", or "Full"

checkModelLanguage

public java.lang.String checkModelLanguage(boolean bIgnoreRDFLists)
Method to check and return the OWL language implied by the loaded ontology (model).

Parameters:
bIgnoreRDFLists - - if true ignore "Full" properties of RDFList in report
Returns:
- "Lite", "DL", or "Full"

confirm

public boolean confirm(java.lang.Object subject,
                       java.lang.Object predicate,
                       java.lang.Object object)
                throws AcuityException
Method to confirm that a Statement (triple) is true.

Parameters:
subject - - the subject of the Statement to be confirmed, either a Resource or a Resource name (URI) as a String
predicate - - the predicate of the Statement to be confirmed, either as a Property or a Property name (URI) as a String
object - - 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
Returns:
- true if the statement is confirmed else false.
Throws:
AcuityException - -

createIndividual

public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
                                                            java.lang.String instName)
                                                     throws AcuityException
Method to create a new Individual in the ontology instances (aBox) of the given Class

Parameters:
className - - the name (URI) of the Class of the new Individual
instName - - the name (URI) of the new Individual
Returns:
- the new Individual
Throws:
AcuityException - -

createIndividualInSubModel

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
Method to create a new Individual in the ontology instances (aBox) of the given Class

Parameters:
className - - the name (URI) of the Class of the new Individual
instName - - the name (URI) of the new Individual
Returns:
- the new Individual
Throws:
AcuityException - -

createIndividual

public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
                                                            java.lang.String instName,
                                                            boolean bRememberInstance)
                                                     throws AcuityException
Method to create a new Individual in the ontology instances (aBox) of the given Class

Parameters:
className - - the name (URI) of the Class of the new Individual
instName - - the name (URI) of the new Individual
bRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operation
Returns:
- the new Individual
Throws:
AcuityException - -

createIndividualInSubModel

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
Method to create a new Individual in the ontology instances (aBox) of the given Class

Parameters:
className - - the name (URI) of the Class of the new Individual
instName - - the name (URI) of the new Individual
bRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operation
Returns:
- the new Individual
Throws:
AcuityException - -

createIndividual

public com.hp.hpl.jena.ontology.Individual createIndividual(java.lang.String className,
                                                            java.lang.String instName,
                                                            boolean bRememberInstance,
                                                            java.lang.String comment)
                                                     throws AcuityException
Method to create a new Individual in the ontology instances (aBox) of the given Class

Parameters:
className - - the name (URI) of the Class of the new Individual
instName - - the name (URI) of the new Individual
bRememberInstance - - if true the new Individual will be written to the instance (aBox) persistant store (if any) on a save operation
comment - - a comment to add to the new Individual
Returns:
- the new Individual
Throws:
AcuityException - -

createIndividualWithoutActionsOrDefaults

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
Call this method to create an Individual but without any consequent actions or setting of defaults.

Parameters:
cls - - the class of the new Individual
instName - - the name of the new Individual
bRememberInstance - - true if this Individual is to be persisted (remembered) beyond the current session (if save occurs)
comment - - the annotation rdfs:comment to be assigned
Returns:
- the Individual created
Throws:
AcuityException

createIndividual

public com.hp.hpl.jena.ontology.Individual createIndividual(com.hp.hpl.jena.ontology.OntClass cls,
                                                            java.lang.String instName,
                                                            boolean bRememberInstance)
                                                     throws AcuityException
Call this method to create a new Individual using the provided information.

Parameters:
cls - - the Class of the new Individual
instName - - the name of the new Individual or null for a system-generated name
bRememberInstance - - true if this new Individual is to be persisted beyond this session
Returns:
- the new Individual
Throws:
AcuityException

createIndividualInSubModel

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
Call this method to create a new Individual using the provided information.

Parameters:
cls - - the Class of the new Individual
instName - - the name of the new Individual or null for a system-generated name
bRememberInstance - - true if this new Individual is to be persisted beyond this session
Returns:
- the new Individual
Throws:
AcuityException

createIndividual

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
Call this method to create a new Individual using the provided information.

Parameters:
cls - - the Class of the new Individual
instName - - the name of the new Individual or null for a system-generated name
bRememberInstance - - true if this new Individual is to be persisted beyond this session
comment - - the comment to be given to the new Individual
Returns:
- the new Individual
Throws:
AcuityException

createIndividual

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
Parameters:
instName -
comment -
subj -
pred -
Returns:
Throws:
AcuityException

createProperty

public com.hp.hpl.jena.rdf.model.Property createProperty(java.lang.String propURI)
Method to create a new Property in the ontology

Parameters:
propURI - - the name (URI) of the new Property
Returns:
- the new Property
Throws:
AcuityException - -

createResource

public com.hp.hpl.jena.rdf.model.Resource createResource(java.lang.String resourceURI)
Method to create a new Resource in the ontology

Parameters:
resourceURI - - the name (URI) of the new Resource
Returns:
- the new Resource
Throws:
AcuityException - -

displayClassHierarchy

public void displayClassHierarchy(java.io.PrintStream out)
Method to display the Class hierarchy of the current ontology model.

Parameters:
out - - the PrintStream to which the display is to be sent, e.g., System.out

displayClassHierarchy

public void displayClassHierarchy(java.io.PrintStream out,
                                  boolean bShowIndividuals)
Method to display the Class hierarchy of the loaded ontology.

Parameters:
out - - the PrintStream to which the display is to be sent, e.g., System.out
bShowIndividuals - - if true show the Individuals belonging to each Class in the hierarchy

getModelSize

public long getModelSize()
Method to return the approximate number of nodes in the active model's graph.

Returns:
- the number of nodes in the model

displayDeductions

public void displayDeductions()
Call this method with traceLevel (to constructor) at least 1 (INFO) to display all deductions made from the base model.


listClasses

public void listClasses(java.io.PrintStream out)
                 throws AcuityException
Method to display all of the Classes in the loaded ontology.

Parameters:
out - - PrintStream to which output should be sent; if null will be sent to log4j logger
Throws:
AcuityException - -

listClasses

public void listClasses()
                 throws AcuityException
Method to display all of the Classes in the loaded ontology to System.out.

Throws:
AcuityException - -

getNsPrefixURI

public 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. If no matching name space is found null is returned.

Parameters:
prefix - - the prefix for the name space, e.g., "owl" is normally used as a prefix representing http://www.w3.org/2002/07/owl
Returns:
- the corresponding name space

getResourceNsUriPrefix

public 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.

Parameters:
n - - the Resource
Returns:
- the prefix of the name space of the Resource

getResourceURI

public java.lang.String getResourceURI(java.lang.String localName)
                                throws AcuityException
This method will return the URI of the first Resource in the (base) Model which has a matching local name. Note that it does not currently look for duplicate local names which would make the value to return ambiguous. Note: In is anticipated that reasoning will not add named Resources. Therefore, the search is made against the base Model, not the reasoned Model, as this significantly increases the speed of the method.

Returns:
- the URI of the first Resource found which matches the local name
Throws:
AcuityException - -

listIndividuals

public void listIndividuals()
                     throws AcuityException
Method to display all of the Individuals in the loaded ontology to System.out.

Throws:
AcuityException - -

listIndividuals

public void listIndividuals(java.io.PrintStream out)
                     throws AcuityException
Method to display all of the Individuals, along with their type (Class) in the loaded ontology.

Parameters:
out - - PrintStream to which output should be sent; if null will be sent to log4j logger
Throws:
AcuityException - -

mkURI

public 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.

Parameters:
localName - - the name of a Resource in the given namespace
ns - - the namespace
Returns:
- the URI (String) created from the inputs

mkLegalLocalName

public static java.lang.String mkLegalLocalName(java.lang.String originalName)
Call this method to return a legal URI localName based on the input name.

Parameters:
originalName - - the possibly illegal URI localName
Returns:
- the encoded name, which will be the same as the originalName if the original is legal

setResourceFilter

public void setResourceFilter(boolean bIncludeAnon,
                              boolean bAllowDuplicates,
                              java.util.List nsURIFilter)
Method to set aspects of the default Resource filter used when querying the model.

Parameters:
bIncludeAnon - - if and only if true include anonymous Resources in results
bAllowDuplicates - - if and only if true include duplicates in results
nsURIFilter - - a List of namespaces which should be excluded from results

setResourceIncludeAnonFilter

public boolean setResourceIncludeAnonFilter(boolean bIncludeAnon)
Method to set aspects of the default Resource filter used when querying the model.

Parameters:
bIncludeAnon - - if and only if true include anonymous Resources in results
Returns:
- the previous value of bIncludeAnon filter

setResourceAllowDuplicatesFilter

public boolean setResourceAllowDuplicatesFilter(boolean bAllowDuplicates)
Method to set aspects of the default Resource filter used when querying the model.

Parameters:
bAllowDuplicates - - if and only if true include duplicates in results
Returns:
- the previous value of bAllowDuplicates filter

setResourceNSURIFilter

public java.util.List setResourceNSURIFilter(java.util.List nsURIFilter)
Method to set aspects of the default Resource filter used when querying the model.

Parameters:
nsURIFilter - - a List of namespaces which should be excluded from results
Returns:
- the previous value of nsURIFilter filter

getResourceIncludeAnonFilter

public boolean getResourceIncludeAnonFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model.

Returns:
- the value of the bIncludeAnon filter

getResourceAllowDuplicateFilter

public boolean getResourceAllowDuplicateFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model.

Returns:
- the value of the bAllowDuplicates filter

getResourceNSURIFilter

public java.util.List getResourceNSURIFilter()
Method to return the value of a portion of the Resource filter used when answering queries to the model.

Returns:
- the value of the namespace filter

sparqlQuery

public java.util.List[] sparqlQuery(java.lang.String queryStr)
                             throws AcuityException
Call this method to process a SPARQL statement.

Parameters:
queryStr - - the SPARQL query string
Returns:
- the results as a List[2]
Throws:
AcuityException

xrdqlQuery

public java.lang.Object xrdqlQuery(java.lang.String queryStr)
                            throws AcuityException
Call this method to process an RDQL or XRDQL statement.

Parameters:
queryStr - - the query string
Returns:
- If the query is a SELECT or CREATE, the returned Object will be an array of Lists of results in standard ACUITy data table format: List[2] where 0th element is a List of variable names (data table column headers) 1st element is a List of Lists, one for row of data. Each row will contain the same number of elements as there are variables in the query and represent a set of variable values satisfying the query. (CREATE will only have one column, e.g., [{i},{{newIndividual}}]. If the query is an UPDATE or INSERT, the List elements will be the Statements added to the ontology. If the query is a DELETE, the List elements will be Strings of the form "Statement '...' removed."
Throws:
AcuityException

preprocessQueryString

public java.lang.String preprocessQueryString(java.lang.String queryStr)
                                       throws AcuityException
Call this method to replace anchors and expand uri's in a query string

Parameters:
queryStr -
Returns:
Throws:
AcuityException

preprocessQueryStringWithMultiValuedAnchors

public java.lang.Object preprocessQueryStringWithMultiValuedAnchors(java.lang.String queryStr)
                                                             throws AcuityException
Throws:
AcuityException

replacePrefixesInAngleBracketedURIs

public java.lang.String replacePrefixesInAngleBracketedURIs(java.lang.String qstr)
Returns:

save

public java.lang.String save()
                      throws AcuityException
Call this method to save the instance data (aBox) of the loaded ontology to persistent store. The method will only succeed if the aBox alternate URI is a file.

Throws:
AcuityException - -

getDatatypePropertyDefaultType

public com.hp.hpl.jena.rdf.model.Resource getDatatypePropertyDefaultType(com.hp.hpl.jena.rdf.model.RDFNode curParamValue)
                                                                  throws AcuityException
Parameters:
curParamValue -
Returns:
Throws:
AcuityException

selectorQuery

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)
Method to return a Jena Model containing those Statements which match the input subject, predicate, and object identifiers.

Parameters:
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)
Returns:
- the Jena Model selected by the inputs

getIndividualLocalName

public java.lang.String getIndividualLocalName(java.lang.String instURI)
Call this method to get the local name of an Individual

Parameters:
instURI - - the URI of the Individual for which the local name is desired
Returns:
- the localname or null if an Individual with that URI is not found
Throws:
AcuityException

getIndividualLocalName

public java.lang.String getIndividualLocalName(com.hp.hpl.jena.ontology.Individual inst)
                                        throws AcuityException
Call this method to get the original name (if any) or the local name of an Individual

Parameters:
inst - - the Individual for which an original or local name is desired
Returns:
- the localname of the individual
Throws:
AcuityException

getReplacementStringFromResource

public 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

Parameters:
r - - the Resource
Returns:
- the localname

getMaker

protected com.hp.hpl.jena.rdf.model.ModelMaker getMaker()
                                                 throws AcuityException
Method to return a ModelMaker from the ModelFactory.

Returns:
- a ModelMaker for use in creating Models
Throws:
AcuityException - -

getMaker

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.

Parameters:
dbURI - - the URI of the database connection, e.g., "jdbc:mysql://research.ge.com/MyProto.owl";
dbUser - - the database user id for this connection
dbPassword - - the password for database access for this user
dbType - - 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"
Returns:

checkInstanceForLegacyDataContent

protected boolean checkInstanceForLegacyDataContent(java.util.ArrayList individuals,
                                                    com.hp.hpl.jena.ontology.Individual inst)
                                             throws AcuityException
Method to check if a specified Individual is a pseudo-instance representing a set of instances in a legacy relational database.

Parameters:
individuals - - the List to which any instances found in a legacy relational database are to be added
inst - - the Individual to be checked
Returns:
- true if the Individual is found to be a pseudo-instance with actual instances in a legacy relational database else false
Throws:
AcuityException - -

checkLanguageOfModel

protected java.lang.String checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m)
Method to check the OWL language of the specified model.

Parameters:
m - - Jena OntModel for which the language is to be checked
Returns:
- "Lite", "DL", or "Full"

checkLanguageOfModel

protected java.lang.String checkLanguageOfModel(com.hp.hpl.jena.ontology.OntModel m,
                                                boolean ignoreRDFLists)

finalize

protected void finalize()
                 throws java.lang.Throwable
Method to cleanup when this instance of an AcuityController is garbage collected. Makes sure the Jena model is closed.

Throws:
java.lang.Throwable - -

close

public void close()
Call this method to clean up instance data which should not be saved.


loadIndividualsFromDB

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
Method to load the instance data described in the input RDFNode into the input List of instances.

Parameters:
individuals - - the List to which any discovered instances are to be added
dbDesc - - the DBInstancesDescriptor identifying the remote legacy database content which are instances
Returns:
- the augmented List of instances
Throws:
AcuityException - -

getCachedRowSetColumnNumber

public int getCachedRowSetColumnNumber(java.sql.ResultSetMetaData rsmd,
                                       java.lang.String colName)
                                throws java.sql.SQLException
Parameters:
colName -
rsmd -
Returns:
Throws:
java.sql.SQLException

getCachedRowSetColumnNumbers

public int[] getCachedRowSetColumnNumbers(java.sql.ResultSetMetaData rsmd,
                                          java.lang.String[] colName)
                                   throws java.sql.SQLException,
                                          AcuityException
Parameters:
colName -
rsmd -
Returns:
Throws:
java.sql.SQLException
AcuityException

getInstancesOfClassWithProperties

public java.util.Hashtable getInstancesOfClassWithProperties(java.lang.String className,
                                                             java.lang.String[] props,
                                                             boolean bIncludeAnon)
                                                      throws AcuityException
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.

Parameters:
className - - the name (URI) of the Class constraining the results
props - - an array of the names (URIs) of the Properties constraining the results
bIncludeAnon - - if true anonymous Resources will be included in the results, otherwise not
Returns:
- a Hashtable whose keys correspond to the instance names (URIs) and whose corresponding values are themselves Hashtables whose keys are the Propery names (URIs) and whose corresponding values are the objects of the Statements (instance, property, object).
Throws:
AcuityException - -

ask

public 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). This is equivalent to the method getMatchingStatements with the same argument signature.

Parameters:
sName - - the name (URI) of the subject of the question or null if the subject is unspecified
pName - - the name (URI) of the predicate of the question or null if the predicate is unspecified
oName - - the String identifying the object of the question or null if the object is unspecified
Returns:
- an Iterator over the set of Statements which match the inputs

ask

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
Method to ask a question specified by partial designation of a Statement (triple). This is equivalent to the method getMatchingStatements with the same argument signature.

Parameters:
s - - the Resource which is the subject of the question or null if the subject is unspecified
p - - the Property which is the predicate of the question or null if the predicate is unspecified
o - - the RDFNode which is the object of the question or null if the object is unspecified
Returns:
- an Iterator over the set of Statements which match the inputs
Throws:
AcuityException

askFiltered

public 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). The returned Statements will be filtered according to the values of the Resource filter. This is equivalent to the method getMatchingStatements with the same argument signature.

Parameters:
sName - - the name (URI) of the subject of the question or null if the subject is unspecified
pName - - the name (URI) of the predicate of the question or null if the predicate is unspecified
oName - - the String identifying the object of the question or null if the object is unspecified
Returns:
- an Iterator over the set of Statements which match the inputs

getMatchingStatementObjects

public java.util.List getMatchingStatementObjects(com.hp.hpl.jena.ontology.Individual inst,
                                                  com.hp.hpl.jena.ontology.OntProperty p)
                                           throws AcuityException
Method to get the Individuals or Literals matching a given subject and predicate.

Parameters:
inst - - the subject of interest
p - - the predicate of interest
Returns:
- a list of Individuals or Literals which are the objects of Statements with the given subject and predicate
Throws:
AcuityException

getTheModel

public com.hp.hpl.jena.ontology.OntModel getTheModel()
Method to get the Model being used by this instance of the AcuityController.

Returns:
- the reasonedModel if it exists else theModel (the base model, no inference entailments)

getBaseModel

public com.hp.hpl.jena.rdf.model.Model getBaseModel()
Call this method to get the base model (instance data model)

Returns:
- the base Model

closeConnection

public void closeConnection(java.sql.Connection conn,
                            java.lang.String[] connInfo)
Method to close a remote database connection.

Parameters:
conn - - the remoate database Connection to be closed
connInfo - - the String array of information used to open the Connection, the second element of which is the db connection string

establishConnection

public java.sql.Connection establishConnection(java.lang.String[] connInfo)
                                        throws java.sql.SQLException
Establish a connection to the database.

Parameters:
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
Returns:
- the new Connection
Throws:
java.sql.SQLException - -

getDatatypePropertyLexicalForm

public java.lang.String getDatatypePropertyLexicalForm(com.hp.hpl.jena.rdf.model.RDFNode node,
                                                       java.lang.String propName)
                                                throws AcuityException
Throws:
AcuityException

getDatatypePropertyLiteral

protected com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyLiteral(com.hp.hpl.jena.rdf.model.RDFNode node,
                                                                       java.lang.String propName)
                                                                throws AcuityException
Throws:
AcuityException

getDatatypePropertyValueAsLiteral

public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueAsLiteral(java.lang.Object value)
Call this method to return a Literal representing the value Object

Parameters:
value - - the Object to convert to a Literal, e.g., Boolean, Integer, etc.
Returns:
- a typed Literal equivalent to the input Object

localName

public 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.

Parameters:
name - - the name to check for URI format
Returns:
- the local name if in URI format else the input name

printActiveModel

public void printActiveModel()
Method to print the content of the active model to the log4j logger. The active model will be the reasoned model (with inferenced entailements) if reasoning has been enabled. Otherwise it will be the loaded ontology (tBox + aBox).


printActiveModel

public void printActiveModel(java.lang.String fn)
Method to print the content of the active model to the log4j logger. The active model will be the reasoned model (with inferenced entailements) if reasoning has been enabled. Otherwise it will be the loaded ontology (tBox + aBox).

Parameters:
fn - - the filename to which the model should be printed

testSuperPropertyBug

public boolean testSuperPropertyBug()

updatePresentationParameterMap

public boolean updatePresentationParameterMap(PresentationParameterMap ppm,
                                              java.lang.String propLocalName,
                                              java.lang.Object newVal)
                                       throws AcuityException
Call this method to update the PresentationParameterMap and the underlying ontology. Note: if the subject is not in the instance namespace, it will be cloned and the clone will be modified to reflect the new value. If the map is part of a parent map, that map will be updated to reflect the clone, and checked to see if it needs to be cloned, etc.

Parameters:
ppm - - the map to be updated
propLocalName - - the local name of the property which is the key in the map
newVal - - the new value for the parameter
Returns:
- true if successful else false
Throws:
AcuityException

updatePresentationParameterMap

public boolean updatePresentationParameterMap(PresentationParameterMap ppm,
                                              java.lang.String propLocalName,
                                              com.hp.hpl.jena.rdf.model.RDFNode oldVal,
                                              java.lang.Object newVal)
                                       throws AcuityException
Call this method to update the PresentationParameterMap and the underlying ontology. Note: if the subject is not in the instance namespace, it will be cloned and the clone will be modified to reflect the new value. If the map is part of a parent map, that map will be updated to reflect the clone, and checked to see if it needs to be cloned, etc.

Parameters:
ppm - - the map to be updated
propLocalName - - the local name of the property which is the key in the map
oldVal - - the old value for the parameter (only needed if non-functional property with multiple values)
newVal - - the new value for the parameter
Returns:
- true if successful else false
Throws:
AcuityException

setParametersModifiedSinceSave

public void setParametersModifiedSinceSave(boolean bFlag)

getParametersModifiedSinceSave

public boolean getParametersModifiedSinceSave()

canClone

public java.lang.String canClone(PresentationParameterMap ppm,
                                 java.lang.String propLocalName,
                                 com.hp.hpl.jena.rdf.model.RDFNode oldObj)
                          throws AcuityException
Call this method to see if a RDFNode (Individual or Literal) can be cloned.

Parameters:
ppm - - the PresentationParameterMap containing (and for) the subject
propLocalName - - the localname of the Property that is the key to the value in the map
oldObj - - the RDFNode representing the previous value in the map
Returns:
- null if can clone else a string explaining why not
Throws:
AcuityException

isResourceInInstanceNamespace

public 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.

Parameters:
r - - the Resource
Returns:
- true if found in instance data namespace else false

isResourceInNamespace

public 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.

Parameters:
r - - the Resource
namespace - - the Namespace
Returns:
- true if in Namespace else false

getSeeAlsoProperty

public com.hp.hpl.jena.rdf.model.Property getSeeAlsoProperty()

getDatatypePropertyValueAsLiteral

public com.hp.hpl.jena.rdf.model.Literal getDatatypePropertyValueAsLiteral(java.lang.Object newVal,
                                                                           java.lang.String xsdType)
                                                                    throws java.lang.NumberFormatException,
                                                                           AcuityException
Parameters:
newVal -
xsdType -
Returns:
Throws:
java.lang.NumberFormatException
AcuityException

getMatchingParameters

public 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. Note that the first match determines the results. If there are matches in separate sub maps, they will not be returned.

Parameters:
ppm - - the PresentationParameterMap to be searched
propLocalName - - the local name of the Property to be used as key in search
Returns:
- a StmtIterator for the matching Statements

processMultipleInteractionAnswers

public java.lang.Object processMultipleInteractionAnswers(InteractionContent iaoContent,
                                                          java.lang.String[] answerURIs,
                                                          boolean bRemember)
                                                   throws AcuityException
Call this method to answer a question with multiple answers (allowsMultipleSelection true).

Parameters:
iaoContent - - the InteractionContent instance containing the question
answerURIs - - the array of answers proffered; each answer should be a URI for an answer
bRemember - - true if the new Statement is to be remembered else false
Returns:
- an array of newly created Statements else null
Throws:
AcuityException

processGroupedInput

public java.lang.Object processGroupedInput(com.hp.hpl.jena.ontology.Individual groupInst,
                                            java.lang.Object data)
                                     throws AcuityException
Call this method to process a set of name-value pairs from a grouping of POs, at least some of which are InteractionObjects.

Parameters:
groupInst - - the Individual which is grouping container, an InputFormObject or a DatastoreUpdateSet
data - - the name-value pairs or List of name-value pairs to be processed
Returns:
- a List of Statements set during the processing
Throws:
AcuityException
java.util.NoSuchElementException

processGroupedInput

public java.lang.Object processGroupedInput(java.lang.String groupURI,
                                            java.util.Map nameValuePairs)
                                     throws AcuityException
Call this method to process a set of name-value pairs from a grouping of POs, at least some of which are InteractionObjects.

Parameters:
groupURI - - the URI of the Individual which is grouping container, an InputFormObject or a DatastoreUpdateSet
nameValuePairs - - the name-value pairs to be processed
Returns:
- a List of Statements set during the processing
Throws:
AcuityException
java.util.NoSuchElementException

createClass

public 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. Otherwise a new one will be created and returned.

Parameters:
clsURI - - the URI of the class to be created (if it doesn't already exist)
Returns:
- the OntClass with the given URI, either existing or newly created

createClassInSubModel

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
Throws:
AcuityException

createAllValuesFromRestriction

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)
Call this method to create a new SomeValuesFromRestriction in the model.

Parameters:
s - - the class to which the restriction is being added
p - - the property which is being restricted
v - - the class which is the value of the restriction
Returns:

createAllValuesFromRestrictionInSubModel

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
Call this method to create a new SomeValuesFromRestriction in the model.

Parameters:
s - - the class to which the restriction is being added
p - - the property which is being restricted
v - - the class which is the value of the restriction
Returns:
Throws:
AcuityException

removeAllValuesFromRestriction

public 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.

Parameters:
s - - the class from which the restriction is to be removed
p - - the property restricted
v - - the value to which the property is restricted
Returns:
- true if such a restriction is found and removed else false

createSomeValuesFromRestriction

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)
Call this method to create a new SomeValuesFromRestriction in the model.

Parameters:
s - - the class to which the restriction is being added
p - - the property which is being restricted
v - - the class which is the value of the restriction
Returns:

createSomeValuesFromRestrictionInSubModel

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
Throws:
AcuityException

removeSomeValuesFromRestriction

public 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.

Parameters:
s - - the class from which the restriction is to be removed
p - - the property restricted
v - - the value to which the property is restricted
Returns:
- true if such a restriction is found and removed else false

removeHasValueRestrctionInSubModel

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)
Call this method to remove a HasValueRestriction from a submodel.

Parameters:
m -
s -
p -
oldVal -
Returns:

isHasValueRestrictionInSubModel

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)
Call this method to see if the submodel contains the specified HasValueRestriction.

Parameters:
m -
s -
p -
val -
Returns:

removeSomeValuesFromRestrictionInSubModel

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
Call this method to remove a SomeValuesFromRestriction from a submodel.

Parameters:
m -
s -
p -
oldVal -
Returns:
Throws:
AcuityException

isSomeValuesFromRestrictionInSubModel

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)
Call this method to see if the specified SomeValuesFromRestriction exists in the submodel.

Parameters:
m -
s -
p -
val -
Returns:

createHasValueRestrction

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)
Call this method to create a new HasValueRestriction in the model.

Parameters:
s - - the class to which the restriction is being added
p - - the property which is being restricted
v - - the RDFNode which is the value of the restriction
Returns:

createHasValueRestrctionInSubModel

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
Call this method to create a new HasValueRestriction in the model.

Parameters:
s - - the class to which the restriction is being added
p - - the property which is being restricted
v - - the RDFNode which is the value of the restriction
Returns:
Throws:
AcuityException

createCardinalityRestrictionInSubmodel

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
Throws:
AcuityException

addDefaultInSubModel

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
Throws:
AcuityException

removeHasValueRestriction

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)
Call this method to remove a HasValueRestriction from the specified class.

Parameters:
s - - the class from which the restriction is to be removed
p - - the property restricted
v - - the value to which the property is restricted
Returns:
- true if such a restriction is found and removed else false

createDefaultValueOnClass

public void createDefaultValueOnClass(com.hp.hpl.jena.ontology.OntClass s,
                                      com.hp.hpl.jena.ontology.Individual dv)
                               throws AcuityException
Call this method to add a DefaultValue as a seeAlso annotation property of a class

Parameters:
s - - the class to be given the default value
dv - - the instance of DefaultValue to be used
Throws:
AcuityException

removeDefaultValueFromClass

public boolean removeDefaultValueFromClass(com.hp.hpl.jena.ontology.OntClass s,
                                           com.hp.hpl.jena.ontology.Individual dv)
                                    throws AcuityException
Call this method to remove a DefaultValue as a seeAlso annotation property of a class

Parameters:
s - - the class from which the default value is to be removed
dv - - the instance of DefaultValue to be removed
Throws:
AcuityException

isDefaultValueInModel

public 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.

Parameters:
s -
dv -
Returns:

isDefaultValueInSubModel

public boolean isDefaultValueInSubModel(com.hp.hpl.jena.ontology.OntModel m,
                                        com.hp.hpl.jena.ontology.OntClass s,
                                        com.hp.hpl.jena.ontology.Individual dv)

createRDFList

public 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

Parameters:
members - - an RDFNode array containing the members of the RDFList in correct order
Returns:
- the new RDFList

createOntProperty

public com.hp.hpl.jena.ontology.OntProperty createOntProperty(java.lang.String ontPropUri)
Call this method to create a new OntProperty in the model.

Parameters:
ontPropUri - - the URI of the new OntProperty
Returns:
- the new OntProperty

createDatatypeProperty

public com.hp.hpl.jena.ontology.DatatypeProperty createDatatypeProperty(java.lang.String ontPropUri)
Call this method to create a new DatatypeProperty in the model.

Parameters:
ontPropUri - - the URI of the new DatatypeProperty
Returns:
- the new DatatypeProperty

createDatatypePropertyInSubModel

public 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.

Returns:
- the new DatatypeProperty

createObjectProperty

public com.hp.hpl.jena.ontology.ObjectProperty createObjectProperty(java.lang.String ontPropUri)
Call this method to create a new ObjectProperty in the model.

Parameters:
ontPropUri - - the URI of the new ObjectProperty
Returns:
- the new ObjectProperty

createObjectPropertyInSubModel

public 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.

Returns:
- the new ObjectProperty

isLabelEditable

public boolean isLabelEditable(com.hp.hpl.jena.ontology.OntProperty p)
Call this method to determine if the Label of a given OntProperty is editable.

Parameters:
p - - the given OntProperty
Returns:
- true if the label is editable else false

isLabelEditable

public boolean isLabelEditable(java.lang.String poUri)
Call this method to determine if the Label of a given PresentationObject is editable.

Parameters:
poUri - - the URI of the given PresentationObject
Returns:
- true if the label is editable else false

getFirstStepOfSubProcess

public com.hp.hpl.jena.ontology.Individual getFirstStepOfSubProcess(com.hp.hpl.jena.ontology.Individual process)
                                                             throws AcuityException
Call this method to get the Individual that is the first stelp of a [sub] process.

Parameters:
process - - the DiscreteProcess
Returns:
- the next step or null if one is not found
Throws:
AcuityException

formatDataTableList

public 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]

Parameters:
out - - the PrintStream to which formated output should go
result - - the data table to be formated
descriptor - - a header (description) for the data table

getOntModelSpec

public com.hp.hpl.jena.ontology.OntModelSpec getOntModelSpec()
Call this method to find the current model's model spec (what reasoner is being used)

Returns:
Returns the ontModelSpec.

getOntPolicyFileURI

public java.lang.String getOntPolicyFileURI()
Call this method to find the current policy file being used.

Returns:
Returns the ontPolicyFileURI.

changeModels

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
Parameters:
m -
Returns:
Throws:
AcuityException

createObjectPropertyWithDomainAndRange

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
Call this method to create an ObjectProperty with the specified attributes.

Parameters:
propName - - the name of the new ObjectProperty
propLabel - - the rdf:Label of the new ObjectProperty
propComment - - the rdf:Comment of the new ObjectProperty
domainList - - a List of OntClasses to be added as the domain of ObjectProperty
rangeList - - a List of OntClasses to be added as the range of the ObjectProperty
Returns:
- the new ObjectProperty
Throws:
AcuityException

createObjectPropertyWithDomainAndRangeInSubModel

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
Call this method to create an ObjectProperty with the specified attributes.

Parameters:
propName - - the name of the new ObjectProperty
propLabel - - the rdf:Label of the new ObjectProperty
propComment - - the rdf:Comment of the new ObjectProperty
domainList - - a List of OntClasses to be added as the domain of ObjectProperty
rangeList - - a List of OntClasses to be added as the range of the ObjectProperty
Returns:
- the new ObjectProperty
Throws:
AcuityException

createDatatypePropertyWithDomainAndRangeInSubModel

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
Call this method to create an DatatypeProperty with the specified attributes.

Parameters:
propName - - the name of the new DatatypeProperty
propLabel - - the rdf:Label of the new DatatypeProperty
propComment - - the rdf:Comment of the new DatatypeProperty
domainList - - a List of OntClasses to be added as the domain of DatatypeProperty
range - - the identifier of the range of the DatatypeProperty, e.g., "xsd:string"
Returns:
- the new DatatypeProperty
Throws:
AcuityException

addDomainAndRangeToObjectProperty

public void addDomainAndRangeToObjectProperty(com.hp.hpl.jena.ontology.OntProperty p,
                                              java.util.ArrayList domainList,
                                              java.util.ArrayList rangeList)
                                       throws AcuityException
Call this method to add a Domain and a Range to a ObjectProperty.

Parameters:
p - - the property to which to add
domainList - - a List of OntClasses to add to the property's domain
rangeList - - a List of OntClasses to add to the property's range
Throws:
AcuityException

addDomainAndRangeToObjectPropertyInSubModel

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
Call this method to add a Domain and a Range to a ObjectProperty.

Parameters:
p - - the property to which to add
domainList - - a List of OntClasses to add to the property's domain
rangeList - - a List of OntClasses to add to the property's range
Throws:
AcuityException

addDomainAndRangeToDatatypeProperty

public void addDomainAndRangeToDatatypeProperty(com.hp.hpl.jena.ontology.OntProperty p,
                                                java.util.ArrayList domainList,
                                                java.lang.String rangeURI)
                                         throws AcuityException
Call this method to add a Domain and a Range to a DataTypeProperty.

Parameters:
p - - the property to which to add
domainList - - a List of OntClasses to add to the property's domain
rangeURI - - the range for the DatatypeProperty
Throws:
AcuityException

addDomainAndRangeToDatatypePropertyInSubModel

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
Call this method to add a Domain and a Range to a DataTypeProperty.

Parameters:
p - - the property to which to add
domainList - - a List of OntClasses to add to the property's domain
rangeURI - - the range for the DatatypeProperty
Throws:
AcuityException

addDomainToProperty

public void addDomainToProperty(com.hp.hpl.jena.ontology.OntProperty p,
                                java.util.ArrayList domainList)
                         throws AcuityException
Call this method to add a List of OntClasses to the domain of the given Property

Parameters:
p - - the OntProperty to which to add the domain OntClasses
domainList - - the List of domain OntClasses to add
Throws:
AcuityException

addDomainToPropertyInSubModel

public void addDomainToPropertyInSubModel(com.hp.hpl.jena.ontology.OntModel m,
                                          com.hp.hpl.jena.ontology.OntProperty p,
                                          java.util.ArrayList domainList)
                                   throws AcuityException
Call this method to add a List of OntClasses to the domain of the given Property

Parameters:
p - - the OntProperty to which to add the domain OntClasses
domainList - - the List of domain OntClasses to add
Throws:
AcuityException

quoteStringLiteral

public static java.lang.String quoteStringLiteral(java.lang.String s)
Call this method to return a quoted string for use in a query. For example, hello -> 'hello' the dog's -> "the dog's" "the dog's" -> '"the dog\'s"'

Parameters:
s -
Returns:

isPropertyAutoInstantiate

public boolean isPropertyAutoInstantiate(com.hp.hpl.jena.ontology.OntProperty p)
                                  throws AcuityException
Parameters:
p -
Returns:
Throws:
AcuityException

isPropertyAutoInstantiateJustInTime

public boolean isPropertyAutoInstantiateJustInTime(com.hp.hpl.jena.ontology.OntProperty p)

thisInstanceURI

public java.lang.Object thisInstanceURI()
Returns:

setTrackAutoInstantiationRestrictions

public void setTrackAutoInstantiationRestrictions(boolean trackAutoInstantiationRestrictions)
Parameters:
trackAutoInstantiationRestrictions - The trackAutoInstantiationRestrictions to set.

trackAutoInstantiationRestrictions

public boolean trackAutoInstantiationRestrictions()
Returns:
Returns the trackAutoInstantiationRestrictions.

initializeHelpLinks

public void initializeHelpLinks()

getHelpLinks

public java.util.List getHelpLinks(java.lang.String selectedHelpURI)
Parameters:
selectedHelpURI -
Returns:

formatDependencyValues

public java.lang.Object formatDependencyValues(java.lang.Object values)
                                        throws AcuityException
Throws:
AcuityException

getCreationDateTime

public com.hp.hpl.jena.ontology.OntProperty getCreationDateTime()
Returns:
the creationDateTime