com.hp.hpl.jena.daml
Interface DAMLObjectProperty

All Superinterfaces:
DAMLCommon, DAMLProperty, Property, RDFNode, Resource
All Known Implementing Classes:
DAMLObjectPropertyImpl

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.1 2001/09/24 17:02:39 ijd Exp $
Author:
Ian Dickinson, HP Labs (email)

Method Summary
 boolean isTransitive()
          Answer true if this property is to be considered transitive, that is it is characterised by the DAML class TransitiveProperty
 boolean isUnambiguous()
          Answer true if this property is to be considered unabiguous, that is it is characterised by the DAML class UnambiguousProperty
 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 unabiguous)
          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.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.daml.DAMLCommon
getAll, getDAMLModel, getEquivalenceSet, getNumPropertyValues, getPropertyValue, getPropertyValues, getRDFTypes, getVocabulary, hasRDFType, hasRDFType, prop_comment, prop_equivalentTo, prop_label, prop_type, remove, removeAll, removeProperty, replaceProperty, setPropertyValue, setRDFType, setRDFType
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Property
getLocalName, getNameSpace, getOrdinal
 

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.
Parameters:
transitive - True for a transitive property

isTransitive

public boolean isTransitive()
Answer true if this property is to be considered transitive, that is it is characterised by the DAML class TransitiveProperty
Returns:
True if this property is transitive

setIsUnambiguous

public void setIsUnambiguous(boolean unabiguous)
Set the flag to indicate that this property is to be considered unabiguous - that is, it is defined by the DAML class UnambiguousProperty.
Parameters:
unabiguous - True for a unabiguous property

isUnambiguous

public boolean isUnambiguous()
Answer true if this property is to be considered unabiguous, that is it is characterised by the DAML class UnambiguousProperty
Returns:
True if this property is unabiguous

prop_inverseOf

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).
Returns:
Property accessor for 'inverseOf'


Copyright © 2001 Hewlett-Packard. All Rights Reserved.