protected class Property.PrivatePropertySetup extends Object implements PropertySetup
Ontology
has access to it and can make changes.Constructor and Description |
---|
Property.PrivatePropertySetup(Property prop)
Constructor.
|
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 set up.
|
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.
|
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.
|
protected Property prop
public Property.PrivatePropertySetup(Property prop)
public Property getProperty()
getProperty
in interface PropertySetup
public void setFunctional()
PropertySetup
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.setFunctional
in interface PropertySetup
PropertySetup.setFunctional()
public void addSuperProperty(String superProperty)
PropertySetup
addSuperProperty
in interface PropertySetup
superProperty
- URI of the super property.PropertySetup.addSuperProperty(String)
public void addEquivalentProperty(String equivalentProperty)
PropertySetup
addEquivalentProperty
in interface PropertySetup
equivalentProperty
- URI of the equivalent property.PropertySetup.addEquivalentProperty(String)
public void addDisjointProperty(String disjointProperty)
PropertySetup
addDisjointProperty
in interface PropertySetup
disjointProperty
- URI of the disjoint property.PropertySetup.addDisjointProperty(String)
public void setDomain(TypeExpression dom)
PropertySetup
setDomain
in interface PropertySetup
PropertySetup.setDomain(TypeExpression)
public void setRange(TypeExpression range)
PropertySetup
setRange
in interface PropertySetup
PropertySetup.setRange(TypeExpression)
Copyright © 2015 universAAL Consortium. All rights reserved.