public interface PropertySetup
Property
there is exactly one PropertySetup
where all the characteristics of this property are defined.ObjectProperty
,
ObjectPropertySetup
,
DatatypeProperty
,
DatatypePropertySetup
,
Property
Modifier and Type | Method and Description |
---|---|
void |
addDisjointProperty(String disjointProperty)
Add a disjoint property.
|
void |
addEquivalentProperty(String equivalentProperty)
Add an equivalent property.
|
void |
addSuperProperty(String superProperty)
Add a super property.
|
Property |
getProperty()
Get the
Property for this setup. |
void |
setDomain(TypeExpression dom)
Set the domain that is used to state that any resource that has a given
property is an instance of one or more classes.
|
void |
setFunctional()
Set this property to be functional.
|
boolean |
setProperty(String propURI,
Object value) |
void |
setRange(TypeExpression range)
Set the range that is used to state that the values of a property are
instances of one or more classes.
|
void setDomain(TypeExpression dom)
dom
- the domain of the property.void setRange(TypeExpression range)
range
- the range of the property.void setFunctional()
MaxCardinalityRestriction
for this property with a maximum
cardinality of one. For example, the property a:hasWife is a
functional property because one can have none or one wife.void addSuperProperty(String superProperty)
superProperty
- URI of the super property.void addEquivalentProperty(String equivalentProperty)
equivalentProperty
- URI of the equivalent property.void addDisjointProperty(String disjointProperty)
disjointProperty
- URI of the disjoint property.boolean setProperty(String propURI, Object value)
Resource.setProperty(String, Object)
Copyright © 2018 universAAL Consortium. All rights reserved.