kaos.core.csi.registration
Class PropertyUtil
java.lang.Object
kaos.core.csi.registration.PropertyUtil
public class PropertyUtil
- extends java.lang.Object
Method Summary |
static java.util.List |
getPropertiesAsOWL(java.lang.String entityGUID,
java.util.List properties,
OntologyRepository ontRepository)
Create list of OWL individuals identified by entityGUID with the given property values assigned |
static java.lang.String |
getPropertyAsOWL(java.lang.String entityGUID,
Property myProperty,
OntologyRepository ontRepository)
Create an OWL individual identified by entityGUID with the given property values assigned |
static java.lang.String |
getTripleAsOWL(java.lang.String entityGUID,
java.lang.String myProperty,
java.lang.String myValue,
OntologyRepository ontRepository)
Create an OWL individual identified by teh given triple |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUtil
public PropertyUtil()
getPropertiesAsOWL
public static java.util.List getPropertiesAsOWL(java.lang.String entityGUID,
java.util.List properties,
OntologyRepository ontRepository)
throws ReasoningException
- Create list of OWL individuals identified by entityGUID with the given property values assigned
- Parameters:
entityGUID
- globally unique identifier String for an ontology individualproperties
- List of properties (name-value pairs)
- Returns:
- List of OWL strings containg the individual with the given id and properties
- Throws:
ReasoningException
getPropertyAsOWL
public static java.lang.String getPropertyAsOWL(java.lang.String entityGUID,
Property myProperty,
OntologyRepository ontRepository)
throws ReasoningException
- Create an OWL individual identified by entityGUID with the given property values assigned
- Parameters:
entityGUID
- globally unique identifier String for an ontology individualmyProperty
- Property (name-value pair)
- Returns:
- String containg the OWL definition of individual with the given id and property
- Throws:
ReasoningException
getTripleAsOWL
public static java.lang.String getTripleAsOWL(java.lang.String entityGUID,
java.lang.String myProperty,
java.lang.String myValue,
OntologyRepository ontRepository)
throws ReasoningException
- Create an OWL individual identified by teh given triple
- Parameters:
entityGUID
- globally unique identifier String for an ontology individualmyProperty
- property name as StringmyValue
- property value name as String
- Returns:
- String containg the OWL definition of individual with the given id, property and its value
- Throws:
ReasoningException