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, kaos.ontology.repository.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, kaos.ontology.repository.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, kaos.ontology.repository.OntologyRepository 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,
                                                                  kaos.ontology.repository.OntologyRepository ontRepository)
                                                           throws kaos.ontology.repository.OntologyRepository.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 containing the individual with the given id and properties
Throws:
kaos.ontology.repository.OntologyRepository.ReasoningException

getPropertyAsOWL

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

getTripleAsOWL

public static java.lang.String getTripleAsOWL(java.lang.String entityGUID,
                                              java.lang.String myProperty,
                                              java.lang.String myValue,
                                              kaos.ontology.repository.OntologyRepository ontRepository)
                                       throws kaos.ontology.repository.OntologyRepository.ReasoningException
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:
kaos.ontology.repository.OntologyRepository.ReasoningException


Copyright © 2006 IHMC All Rights Reserved.