Static Public Member Functions | Static Public Attributes | Static Private Member Functions
org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil Class Reference

List of all members.

Static Public Member Functions

static ArrayList< String > addUniqueInstances (ArrayList< String > original, Iterator< Individual > newList)
static boolean computeOnSpatialRelation ()
static float getFloatOfStatement (Statement stm)
static ArrayList< String > getFurnituresLinkedToObject (String objectClassName)
static int getIntOfStatement (Statement stm)
static GetObjectsOnMap.Response getObjectsOnMap (String map, boolean ifGeometryInfo)
static GetObjectsOnMap.Response getObjectsOnMapOfType (String objectTypeURI, boolean ifGeometryInfo)
static Pose getPoseOfObject (String objectURI)
static String getStringOfStatement (Statement stm)
static ArrayList< Individual > getWorkspaceByName (String objectClassName, String objectNameSpace, String globalNameSpace)
static ArrayList< String > getWorkspaceNamesOfObject (String objectClassName)
static ArrayList< String > getWorkspaceNamesOfObject (String objectClassName, String objectNameSpace, String globalNameSpace)
static ArrayList< Individual > getWorkspaceOfObject (String objectClassName, String objectNameSpace, String globalNameSpace, OntologyDB onto)
static GetWorkspaceOnMap.Response getWorkspaceOnMap (String map, boolean ifGeometryInfo)
static Pose2D parsePose2D (String targetContent)
static void removeAllSubPropertiesOf (String subjectURI, String propertyURI)
static ArrayList< String > tempGetFurnituresLinkedToObject (String objectClassName)
static void testRemoveProperty ()
static boolean testUpdateObjectProperty (String proNSURI, String objectNSURI, String objectName) throws NonExistenceEntryException
static boolean updateDimensionOfObject (float l, float w, float h, String propertyNSURI, String objectNSURI, String objectName) throws NonExistenceEntryException
static boolean updateHHIdOfObject (int id, String propertyNSURI, String objectNSURI, String objectName) throws NonExistenceEntryException
static boolean updatePoseOfObject (Pose pos, String propertyNSURI, String objectURI) throws NonExistenceEntryException
static boolean updatePoseOfObject (Pose pos, String propertyNSURI, String objectNSURI, String objectName) throws NonExistenceEntryException

Static Public Attributes

static String GlobalNameSpace = ""
static String Language = "en"
static String MapName = ""
static String ObjectNameSpace = ""
static String RobotName = "cob3-3"

Static Private Member Functions

static ArrayList< String > getSRSObjectCategory (String classURI)
static HashSet< String > getSuperAndSubClassesOf (String classURI, String rootClassURI, boolean includeSelf)
static String objectCategory (Individual ind, boolean asJson)
static boolean updateOnSpatialRelation (Individual obj1, Individual obj2)

Detailed Description

This class is used for more application specific ontology queries. OntologyDB is more generic, and only provides basic functions and reusable functions.

Definition at line 111 of file OntoQueryUtil.java.


Member Function Documentation

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.addUniqueInstances ( ArrayList< String >  original,
Iterator< Individual >  newList 
) [inline, static]

Definition at line 218 of file OntoQueryUtil.java.

Definition at line 550 of file OntoQueryUtil.java.

static float org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getFloatOfStatement ( Statement  stm) [inline, static]

Definition at line 996 of file OntoQueryUtil.java.

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getFurnituresLinkedToObject ( String  objectClassName) [inline, static]

Definition at line 297 of file OntoQueryUtil.java.

static int org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getIntOfStatement ( Statement  stm) [inline, static]

Definition at line 1008 of file OntoQueryUtil.java.

static GetObjectsOnMap.Response org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getObjectsOnMap ( String  map,
boolean  ifGeometryInfo 
) [inline, static]

Definition at line 900 of file OntoQueryUtil.java.

static GetObjectsOnMap.Response org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getObjectsOnMapOfType ( String  objectTypeURI,
boolean  ifGeometryInfo 
) [inline, static]

Definition at line 777 of file OntoQueryUtil.java.

static Pose org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getPoseOfObject ( String  objectURI) [inline, static]

Definition at line 176 of file OntoQueryUtil.java.

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getSRSObjectCategory ( String  classURI) [inline, static, private]

Definition at line 275 of file OntoQueryUtil.java.

static String org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getStringOfStatement ( Statement  stm) [inline, static]

Definition at line 1020 of file OntoQueryUtil.java.

static HashSet<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getSuperAndSubClassesOf ( String  classURI,
String  rootClassURI,
boolean  includeSelf 
) [inline, static, private]

Definition at line 254 of file OntoQueryUtil.java.

static ArrayList<Individual> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getWorkspaceByName ( String  objectClassName,
String  objectNameSpace,
String  globalNameSpace 
) [inline, static]

Definition at line 419 of file OntoQueryUtil.java.

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getWorkspaceNamesOfObject ( String  objectClassName) [inline, static]

Definition at line 123 of file OntoQueryUtil.java.

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getWorkspaceNamesOfObject ( String  objectClassName,
String  objectNameSpace,
String  globalNameSpace 
) [inline, static]

e.g. get workspace of milk box

Definition at line 130 of file OntoQueryUtil.java.

static ArrayList<Individual> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getWorkspaceOfObject ( String  objectClassName,
String  objectNameSpace,
String  globalNameSpace,
OntologyDB  onto 
) [inline, static]

Definition at line 113 of file OntoQueryUtil.java.

static GetWorkspaceOnMap.Response org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.getWorkspaceOnMap ( String  map,
boolean  ifGeometryInfo 
) [inline, static]

Definition at line 624 of file OntoQueryUtil.java.

static String org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.objectCategory ( Individual  ind,
boolean  asJson 
) [inline, static, private]

Definition at line 752 of file OntoQueryUtil.java.

static Pose2D org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.parsePose2D ( String  targetContent) [inline, static]

Definition at line 333 of file OntoQueryUtil.java.

static void org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.removeAllSubPropertiesOf ( String  subjectURI,
String  propertyURI 
) [inline, static]

Definition at line 918 of file OntoQueryUtil.java.

static ArrayList<String> org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.tempGetFurnituresLinkedToObject ( String  objectClassName) [inline, static]

Definition at line 230 of file OntoQueryUtil.java.

Definition at line 939 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.testUpdateObjectProperty ( String  proNSURI,
String  objectNSURI,
String  objectName 
) throws NonExistenceEntryException [inline, static]

Definition at line 432 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.updateDimensionOfObject ( float  l,
float  w,
float  h,
String  propertyNSURI,
String  objectNSURI,
String  objectName 
) throws NonExistenceEntryException [inline, static]

Definition at line 506 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.updateHHIdOfObject ( int  id,
String  propertyNSURI,
String  objectNSURI,
String  objectName 
) throws NonExistenceEntryException [inline, static]

Definition at line 534 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.updateOnSpatialRelation ( Individual  obj1,
Individual  obj2 
) [inline, static, private]

Definition at line 602 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.updatePoseOfObject ( Pose  pos,
String  propertyNSURI,
String  objectURI 
) throws NonExistenceEntryException [inline, static]

Definition at line 457 of file OntoQueryUtil.java.

static boolean org.srs.srs_knowledge.knowledge_engine.OntoQueryUtil.updatePoseOfObject ( Pose  pos,
String  propertyNSURI,
String  objectNSURI,
String  objectName 
) throws NonExistenceEntryException [inline, static]

Definition at line 502 of file OntoQueryUtil.java.


Member Data Documentation

Definition at line 1033 of file OntoQueryUtil.java.

Definition at line 1036 of file OntoQueryUtil.java.

Definition at line 1034 of file OntoQueryUtil.java.

Definition at line 1032 of file OntoQueryUtil.java.

Definition at line 1035 of file OntoQueryUtil.java.


The documentation for this class was generated from the following file:


srs_knowledge
Author(s): Ze Ji
autogenerated on Mon Oct 6 2014 08:27:33