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
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 |
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.