GATE
Version 3.1-2270

gate.creole.ontology
Interface ObjectProperty

All Superinterfaces:
OntologyConstants, OntologyResource, Property
All Known Subinterfaces:
ReflexiveProperty, SymmetricProperty, TransitiveProperty
All Known Implementing Classes:
ObjectPropertyImpl, SymmetricPropertyImpl, TransitivePropertyImpl

public interface ObjectProperty
extends Property


Field Summary
 
Fields inherited from interface gate.creole.ontology.OntologyConstants
DIRECT_CLOSURE, TRANSITIVE_CLOSURE
 
Method Summary
 Set getInverseProperties()
          Returns the set of inverse properties for this property.
 boolean isValidRange(OInstance instance)
           
 void setInverseOf(Property theInverse)
          Set theInverse as inverse property to this property.
 
Methods inherited from interface gate.creole.ontology.Property
addSubProperty, addSuperProperty, getDomain, getRange, getSamePropertyAs, getSubProperties, getSuperProperties, isFunctional, isInverseFunctional, isValidDomain, isValidRange, removeSubProperty, removeSuperProperty, setFunctional, setInverseFunctional, setSamePropertyAs
 
Methods inherited from interface gate.creole.ontology.OntologyResource
addPropertyValue, getComment, getName, getOntology, getPropertyValues, getSetPropertiesNames, getTaxonomy, getURI, removePropertyValue, removePropertyValues, setComment, setName, setURI
 

Method Detail

getInverseProperties

Set getInverseProperties()
Returns the set of inverse properties for this property. Null if no such properties. The set contains objects of KBProperty instances.

Returns:
a Set value.

setInverseOf

void setInverseOf(Property theInverse)
Set theInverse as inverse property to this property.

Parameters:
theInverse -

isValidRange

boolean isValidRange(OInstance instance)
Parameters:
instance -
Returns:
true if this value is compatible with the range restrictions on the property. False otherwise.

GATE
Version 3.1-2270