|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> ontology >> [ daml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.hp.hpl.jena.ontology.daml
Interface DAMLObjectProperty

- All Superinterfaces:
- DAMLCommon, DAMLProperty, com.hp.hpl.jena.graph.FrontsNode, com.hp.hpl.jena.ontology.OntProperty, com.hp.hpl.jena.ontology.OntResource, com.hp.hpl.jena.rdf.model.Property, com.hp.hpl.jena.rdf.model.RDFNode, com.hp.hpl.jena.rdf.model.Resource
- public interface DAMLObjectProperty
- extends DAMLProperty
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.
- Version:
- CVS info: $Id: DAMLObjectProperty.java,v 1.7 2005/02/21 12:05:00 andy_seaborne Exp $
| 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, hasURI, 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 |
setIsTransitive
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.
isTransitive
public boolean isTransitive()
Answer true if this property is transitive.
setIsUnambiguous
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.
isUnambiguous
public boolean isUnambiguous()
Answer true if this property is an unambiguous property.
prop_inverseOf
public PropertyAccessor prop_inverseOf()
Property accessor for the
inverseOfproperty 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).
|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> ontology >> [ daml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC