public interface RDFProperty extends OResource
Modifier and Type | Method and Description |
---|---|
void |
addSubProperty(RDFProperty property)
Add a SuperPropertyOf relation between the given property and this.
|
Set<OResource> |
getDomain()
Deprecated.
|
Set<RDFProperty> |
getEquivalentPropertyAs()
Returns a set of all RDFProperty instances that are in
EquivalentPropertyAs relation with this property.
|
OURI |
getOURI()
Get the URI of the property.
|
Set<OResource> |
getRange()
Deprecated.
|
Set<RDFProperty> |
getSubProperties(byte closure)
Deprecated.
|
Set<RDFProperty> |
getSubProperties(OConstants.Closure closure)
Gets the set of sub-properties for this property.
|
Set<RDFProperty> |
getSuperProperties(byte closure)
Deprecated.
|
Set<RDFProperty> |
getSuperProperties(OConstants.Closure closure)
Gets the set of super-properties for this property.
|
boolean |
isEquivalentPropertyAs(RDFProperty theProperty)
Checks whether the property is Equivalent as the one provide.
|
boolean |
isFunctional()
Answers whether this property is a functional property.
|
boolean |
isInverseFunctional()
Answers whether this property is an inverse functional property.
|
boolean |
isSubPropertyOf(RDFProperty theProperty,
byte closure)
Deprecated.
|
boolean |
isSubPropertyOf(RDFProperty theProperty,
OConstants.Closure closure) |
boolean |
isSuperPropertyOf(RDFProperty theProperty,
byte closure)
Deprecated.
|
boolean |
isSuperPropertyOf(RDFProperty theProperty,
OConstants.Closure closure) |
boolean |
isValidDomain(OResource aResource)
Deprecated.
|
boolean |
isValidRange(OResource aResource)
Deprecated.
|
void |
removeSubProperty(RDFProperty property)
Removes a SuperPropertyOf relation between the given property and
this.
|
void |
setEquivalentPropertyAs(RDFProperty theProperty)
Add an equivalentPropertyAs relation between the two properties.
|
void |
setFunctional(boolean functional)
Sets the functional property flag on this property.
|
void |
setInverseFunctional(boolean inverseFunctional)
Sets the inverse functional property flag on this property.
|
addAnnotationPropertyValue, getAllSetProperties, getAnnotationPropertyValues, getComment, getComments, getLabel, getLabels, getName, getONodeID, getOntology, getPropertiesWithResourceAsDomain, getPropertiesWithResourceAsRange, getSetAnnotationProperties, getURI, hasAnnotationPropertyWithValue, removeAnnotationPropertyValue, removeAnnotationPropertyValues, setComment, setLabel, setURI
void setEquivalentPropertyAs(RDFProperty theProperty)
theProperty
- Set<RDFProperty> getEquivalentPropertyAs()
Set
value.boolean isEquivalentPropertyAs(RDFProperty theProperty)
theProperty
- @Deprecated Set<RDFProperty> getSuperProperties(byte closure)
closure
- OConstants.DIRECT_CLOSURE
for direct
super-properties only or
OConstants.TRANSITIVE_CLOSURE
for all the
super-properties.RDFProperty
values.Set<RDFProperty> getSuperProperties(OConstants.Closure closure)
closure
- OConstants.Closure.DIRECT_CLOSURE
for direct
super-properties only or
OConstants.Closure.TRANSITIVE_CLOSURE
for all the
super-properties.RDFProperty
values.@Deprecated boolean isSuperPropertyOf(RDFProperty theProperty, byte closure)
theProperty
- closure
- either OntologyConstants.DIRECT_CLOSURE or
OntologyConstants.TRANSTIVE_CLOSUREboolean isSuperPropertyOf(RDFProperty theProperty, OConstants.Closure closure)
void addSubProperty(RDFProperty property)
property
- void removeSubProperty(RDFProperty property)
property
- @Deprecated Set<RDFProperty> getSubProperties(byte closure)
closure
- OConstants.DIRECT_CLOSURE
for direct sub-properties
only or OConstants.TRANSITIVE_CLOSURE
for all the
sub-properties.RDFProperty
values.Set<RDFProperty> getSubProperties(OConstants.Closure closure)
closure
- OConstants.Closure.DIRECT_CLOSURE
for direct sub-properties
only or OConstants.Closure.TRANSITIVE_CLOSURE
for all the
sub-properties.RDFProperty
values.@Deprecated boolean isSubPropertyOf(RDFProperty theProperty, byte closure)
theProperty
- closure
- either OntologyConstants.DIRECT_CLOSURE or
OntologyConstants.TRANSTIVE_CLOSUREboolean isSubPropertyOf(RDFProperty theProperty, OConstants.Closure closure)
boolean isFunctional()
void setFunctional(boolean functional)
functional
- true iff the property should be marked
as functional.boolean isInverseFunctional()
void setInverseFunctional(boolean inverseFunctional)
inverseFunctional
- true iff the property should be
marked as inverse functional.@Deprecated boolean isValidRange(OResource aResource)
aResource
- the Resource@Deprecated boolean isValidDomain(OResource aResource)
aResource
- the Resource@Deprecated Set<OResource> getDomain()
@Deprecated Set<OResource> getRange()
OURI getOURI()
Copyright © 2024 GATE. All rights reserved.