|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySetup
Setup interface for creating new RDF properties. The creation is separated
from the usage; for every Property
there is exactly one PropertySetup
where all the characteristics of this property are defined.
ObjectProperty
,
ObjectPropertySetup
,
DatatypeProperty
,
DatatypePropertySetup
,
Property
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
Property getProperty()
Property
for this setup.
void setDomain(TypeExpression dom)
void setRange(TypeExpression range)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |