kaos.core.csi.registration
Class PropertyUtil

java.lang.Object
  extended by kaos.core.csi.registration.PropertyUtil

public class PropertyUtil
extends java.lang.Object


Constructor Summary
PropertyUtil()
           
 
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
 

Constructor Detail

PropertyUtil

public PropertyUtil()
Method Detail

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 individual
properties - 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 individual
myProperty - 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 individual
myProperty - property name as String
myValue - property value name as String
Returns:
String containg the OWL definition of individual with the given id, property and its value
Throws:
ReasoningException