edu.lehigh.swat.hawk.core
Interface OntProperty

All Superinterfaces:
java.lang.Cloneable, OntObject
All Known Implementing Classes:
OntProperty, OntProperty

public interface OntProperty
extends OntObject

A general representation of the Properties. implementations depend on the storage models


Method Summary
 void addEquivalentProperty(ObjectId ec)
          Add a equivalent property.
 void addInverseOf(ObjectId p)
          Add a 'inverseOf' property
 void addSubProperty(ObjectId p)
          add a direct subProperty
 void addSuperProperty(ObjectId p)
          add a direct super Property
 void deleteEquivalentProperty(ObjectId r)
          Delete a equivalent property.
 void deleteInverseOf(ObjectId p)
          delete a 'inverseOf' property
 void deleteSubProperty(ObjectId p)
          delete a direct subProperty
 void deleteSuperProperty(ObjectId p)
          delete a direct super Property
 ObjectId[] getDirectSubProperties()
          get the direct subProperties
 ObjectId[] getDirectSuperProperties()
          get the direct super Properties
 ObjectId getDomain()
          get the domain
 ObjectId[] getEquivalentProperties()
          Get the equivalent properties.
 ObjectId[] getInverseOf()
          get the 'inverseOf' properties
 ObjectId getRange()
          get the range
 boolean isAnnotation()
          Tell this property is AnnotationProperty or not.
 java.lang.Boolean isDatatype()
          Tell this property is ObjectProperty or DatatypeProperty.
 boolean isDeprecated()
          Test if this property is deprecated.
 boolean isFunctional()
          Test if this property is functional.
 boolean isInverseFunctional()
          Test if this property is inverse functional.
 boolean isSymmetric()
          test if this property is symetric
 boolean isTransitive()
          test if this property is transitive
 void setAnnotation(boolean b)
          Set this property to be DatatypeProperty or not.
 void setDatatype(boolean b)
          Set this property to be DatatypeProperty or ObjectProperty.
 void setDeprecated(boolean dep)
          Set the property to be deprecated.
 void setDomain(ObjectId c)
          set the domain
 void setFunctional(boolean dep)
          Set the property to be functional.
 void setInverseFuncional(boolean dep)
          Set the property to be inverse functional.
 void setRange(ObjectId c)
          set the domain
 void setSymmetric(boolean b)
          set the property to be symetric or not
 void setTransitive(boolean b)
          set the property to be transitive or not
 
Methods inherited from interface edu.lehigh.swat.hawk.core.OntObject
addDescription, clone, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource
 

Method Detail

getDomain

ObjectId getDomain()
get the domain


setDomain

void setDomain(ObjectId c)
set the domain


getRange

ObjectId getRange()
get the range


setRange

void setRange(ObjectId c)
set the domain


isTransitive

boolean isTransitive()
test if this property is transitive


setTransitive

void setTransitive(boolean b)
set the property to be transitive or not


isSymmetric

boolean isSymmetric()
test if this property is symetric


setSymmetric

void setSymmetric(boolean b)
set the property to be symetric or not


addSubProperty

void addSubProperty(ObjectId p)
add a direct subProperty


getDirectSubProperties

ObjectId[] getDirectSubProperties()
get the direct subProperties


deleteSubProperty

void deleteSubProperty(ObjectId p)
delete a direct subProperty


addSuperProperty

void addSuperProperty(ObjectId p)
add a direct super Property


getDirectSuperProperties

ObjectId[] getDirectSuperProperties()
get the direct super Properties


deleteSuperProperty

void deleteSuperProperty(ObjectId p)
delete a direct super Property


isDeprecated

boolean isDeprecated()
Test if this property is deprecated.


setDeprecated

void setDeprecated(boolean dep)
Set the property to be deprecated.


isFunctional

boolean isFunctional()
Test if this property is functional.


setFunctional

void setFunctional(boolean dep)
Set the property to be functional.


isInverseFunctional

boolean isInverseFunctional()
Test if this property is inverse functional.


setInverseFuncional

void setInverseFuncional(boolean dep)
Set the property to be inverse functional.


addInverseOf

void addInverseOf(ObjectId p)
Add a 'inverseOf' property


deleteInverseOf

void deleteInverseOf(ObjectId p)
delete a 'inverseOf' property


getInverseOf

ObjectId[] getInverseOf()
get the 'inverseOf' properties


addEquivalentProperty

void addEquivalentProperty(ObjectId ec)
Add a equivalent property.


deleteEquivalentProperty

void deleteEquivalentProperty(ObjectId r)
Delete a equivalent property.


getEquivalentProperties

ObjectId[] getEquivalentProperties()
Get the equivalent properties.


isDatatype

java.lang.Boolean isDatatype()
Tell this property is ObjectProperty or DatatypeProperty. Null means unknown.


setDatatype

void setDatatype(boolean b)
Set this property to be DatatypeProperty or ObjectProperty.


isAnnotation

boolean isAnnotation()
Tell this property is AnnotationProperty or not.


setAnnotation

void setAnnotation(boolean b)
Set this property to be DatatypeProperty or not.