|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java encapsulation of an object property in a DAML ontology. An object property
is a partition of the class of properties, in which the range of the property
is a DAML instance (rather than a datatype). Object properties may be transitive
and unambiguous, which are modelled in the specification by sub-classes of
ObjectProperty
named TransitiveProperty
and
UnambiguousProperty
. In this API, transitivity and uniqueness are
modelled as attributes of the DAMLObjectProperty object.
Method Summary | |
boolean |
isTransitive()
Answer true if this property is transitive. |
boolean |
isUnambiguous()
Answer true if this property is an unambiguous property. |
PropertyAccessor |
prop_inverseOf()
Property accessor for the inverseOf property of a DAML Property. |
void |
setIsTransitive(boolean transitive)
Set the flag to indicate that this property is to be considered transitive - that is, it is defined by the DAML class TransitiveProperty . |
void |
setIsUnambiguous(boolean unambiguous)
Set the flag to indicate that this property is to be considered unabiguous - that is, it is defined by the DAML class UnambiguousProperty . |
Methods inherited from interface com.hp.hpl.jena.ontology.daml.DAMLProperty |
getDomainClasses, getEquivalentValues, getRangeClasses, getSameProperties, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isUnique, prop_domain, prop_range, prop_samePropertyAs, prop_subPropertyOf, setIsUnique |
Methods inherited from interface com.hp.hpl.jena.ontology.daml.DAMLCommon |
getDAMLModel, getEquivalenceSet, getRDFTypes, getVocabulary, prop_comment, prop_equivalentTo, prop_label, prop_type, setRDFType |
Methods inherited from interface com.hp.hpl.jena.rdf.model.Resource |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getNode, getProperty, getRequiredProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeAll, removeProperties, toString |
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode |
as, canAs, inModel, visitWith |
Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode |
asNode |
Methods inherited from interface com.hp.hpl.jena.rdf.model.Property |
getLocalName, getNameSpace, getOrdinal, isProperty |
Method Detail |
public void setIsTransitive(boolean transitive)
Set the flag to indicate that this property is to be considered
transitive - that is, it is defined by the DAML class TransitiveProperty
.
transitive
- True for a transitive propertypublic boolean isTransitive()
Answer true if this property is transitive.
public void setIsUnambiguous(boolean unambiguous)
Set the flag to indicate that this property is to be considered
unabiguous - that is, it is defined by the DAML class UnambiguousProperty
.
unambiguous
- True for a unabiguous propertypublic boolean isUnambiguous()
Answer true if this property is an unambiguous property.
public PropertyAccessor prop_inverseOf()
Property accessor for the inverseOf
property of a DAML Property. This denotes
that the named property (say, P) is an inverse of this property (say, Q). Formally,
if (x, y) is an instance of P, then (y, x) is an instance of Q. According to the
DAML specification, inverseOf is only defined for object properties (i.e. not
datatype properties).
inverseOf
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |