kaos.core.csi
Interface OntPropertyDescription


public interface OntPropertyDescription

This interface containes methods allowing to create and investigate a description of an Ontology property. $Revision: 1.2 $


Method Summary
 void addValue(java.lang.String value)
          Set the value of this property.
 java.lang.String getName()
          Get the name of this property.
 java.lang.Object getValueDescForValue(java.lang.String value)
          Get the optional description of the given property value.
 java.util.Set getValues()
          Get the values of this property.
 void removeValue(java.lang.String value)
          Remove the property value.
 void removeValueDescForValue(java.lang.String value)
          Remove the optional description of the given property value.
 void setValueDescForValue(java.lang.String value, java.lang.Object desc)
          Set the optional description of the given property value.
 

Method Detail

addValue

void addValue(java.lang.String value)
Set the value of this property.

Parameters:
value - String containing the value of the property.

setValueDescForValue

void setValueDescForValue(java.lang.String value,
                          java.lang.Object desc)
Set the optional description of the given property value.

Parameters:
value - String containing the value of the property.
desc - Object containing the description of the value often it will be kaos.core.csi.OntInstanceDescription

getName

java.lang.String getName()
Get the name of this property.

Returns:
String containing the uri of the property.

getValues

java.util.Set getValues()
Get the values of this property.

Returns:
Set containing the value of the property.

getValueDescForValue

java.lang.Object getValueDescForValue(java.lang.String value)
Get the optional description of the given property value.

Parameters:
value - String containing the value of the property.
Returns:
Object containing the description of the value often it will be kaos.core.csi.OntInstanceDescription

removeValue

void removeValue(java.lang.String value)
Remove the property value.

Parameters:
value - String containing the value of the property.

removeValueDescForValue

void removeValueDescForValue(java.lang.String value)
Remove the optional description of the given property value.

Parameters:
value - String containing the value of the property.


Copyright © 2005 IHMC All Rights Reserved.