public interface ObjectProperty extends RDFProperty
| Modifier and Type | Method and Description |
|---|---|
Set<OResource> |
getDomain()
Returns the set of domain restrictions for this property.
|
Set<ObjectProperty> |
getInverseProperties()
Returns the set of inverse properties for this property.
|
Set<OResource> |
getRange()
Gets the set of range restrictions for this property.
|
boolean |
isValidDomain(OInstance anInstance)
Checks whether the provided instance is compatible with the domain
restrictions on the property.
|
boolean |
isValidRange(OInstance anInstance)
Checks whether the provided instance is compatible with the range
restrictions on the property.
|
void |
setInverseOf(ObjectProperty theInverse)
Set theInverse as inverse property to this property.
|
addSubProperty, getEquivalentPropertyAs, getOURI, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isEquivalentPropertyAs, isFunctional, isInverseFunctional, isSubPropertyOf, isSubPropertyOf, isSuperPropertyOf, isSuperPropertyOf, isValidDomain, isValidRange, removeSubProperty, setEquivalentPropertyAs, setFunctional, setInverseFunctionaladdAnnotationPropertyValue, getAllSetProperties, getAnnotationPropertyValues, getComment, getComments, getLabel, getLabels, getName, getONodeID, getOntology, getPropertiesWithResourceAsDomain, getPropertiesWithResourceAsRange, getSetAnnotationProperties, getURI, hasAnnotationPropertyWithValue, removeAnnotationPropertyValue, removeAnnotationPropertyValues, setComment, setLabel, setURISet<ObjectProperty> getInverseProperties()
Set of ObjectProperty value.void setInverseOf(ObjectProperty theInverse)
theInverse - Set<OResource> getDomain()
getDomain in interface RDFPropertySet<OResource> getRange()
getRange in interface RDFPropertyOClass or Class objects.boolean isValidRange(OInstance anInstance)
anInstance - the Instanceboolean isValidDomain(OInstance anInstance)
anInstance - the InstanceCopyright © 2024 GATE. All rights reserved.