kaos.core.csi.registration
Class PropertyUtil

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

public class PropertyUtil
extends java.lang.Object

Author:
lbunch Utility class for manipulating kaos.core.csi.Property objects

Constructor Summary
PropertyUtil()
           
 
Method Summary
static java.util.List<java.lang.String> getPropertiesAsOWL(java.lang.String entityGUID, java.util.List<Property> properties, OntologyService 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, OntologyService 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, OntologyService ontRepository)
          Create an OWL individual identified by the 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<java.lang.String> getPropertiesAsOWL(java.lang.String entityGUID,
                                                                  java.util.List<Property> properties,
                                                                  OntologyService ontRepository)
                                                           throws OntologyService.ReasoningException,
                                                                  QueryState.UnknownConceptException
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 containing the individual with the given id and properties
Throws:
QueryState.UnknownConceptException
OntologyService.ReasoningException

getPropertyAsOWL

public static java.lang.String getPropertyAsOWL(java.lang.String entityGUID,
                                                Property myProperty,
                                                OntologyService ontRepository)
                                         throws OntologyService.ReasoningException,
                                                QueryState.UnknownConceptException
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 containing the OWL definition of individual with the given id and property
Throws:
QueryState.UnknownConceptException
OntologyService.ReasoningException

getTripleAsOWL

public static java.lang.String getTripleAsOWL(java.lang.String entityGUID,
                                              java.lang.String myProperty,
                                              java.lang.String myValue,
                                              OntologyService ontRepository)
                                       throws OntologyService.ReasoningException,
                                              QueryState.UnknownConceptException
Create an OWL individual identified by the 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 containing the OWL definition of individual with the given id, property and its value
Throws:
QueryState.UnknownConceptException
OntologyService.ReasoningException


Copyright © 2006 IHMC All Rights Reserved.