com.hp.hpl.jena.ontology.daml
Interface DAMLRestriction

All Superinterfaces:
DAMLClass, DAMLCommon, FrontsNode, OntClass, OntResource, RDFNode, Resource

public interface DAMLRestriction
extends DAMLClass

Java encapsulation of a DAML Restriction.

Version:
CVS info: $Id: DAMLRestriction.java,v 1.6 2005/02/21 12:05:02 andy_seaborne Exp $
Author:
Ian Dickinson, HP Labs (email)

Method Summary
 IntLiteralAccessor prop_cardinality()
          Property accessor for the cardinality property of a restriction.
 IntLiteralAccessor prop_cardinalityQ()
          Property accessor for the cardinalityQ property of a restriction.
 PropertyAccessor prop_hasClass()
          Property accessor for the hasClass property of a restriction.
 PropertyAccessor prop_hasClassQ()
          Property accessor for the hasClassQ property of a restriction.
 PropertyAccessor prop_hasValue()
          Property accessor for the hasValue property of a restriction.
 IntLiteralAccessor prop_maxCardinality()
          Property accessor for the maxCardinality property of a restriction.
 IntLiteralAccessor prop_maxCardinalityQ()
          Property accessor for the maxCardinalityQ property of a restriction.
 IntLiteralAccessor prop_minCardinality()
          Property accessor for the minCardinality property of a restriction.
 IntLiteralAccessor prop_minCardinalityQ()
          Property accessor for the minCardinalityQ property of a restriction.
 PropertyAccessor prop_onProperty()
          Property accessor for the onProperty property of a restriction.
 PropertyAccessor prop_toClass()
          Property accessor for the toClass property of a restriction.
 
Methods inherited from interface com.hp.hpl.jena.ontology.daml.DAMLClass
getDefinedProperties, getDefinedProperties, getEquivalentValues, getInstances, getSameClasses, getSubClasses, getSubClasses, getSuperClasses, getSuperClasses, isComplement, isDisjointUnion, isEnumeration, isIntersection, isNamedClass, isRestriction, isUnion, prop_complementOf, prop_disjointUnionOf, prop_disjointWith, prop_intersectionOf, prop_oneOf, prop_sameClassAs, prop_subClassOf, prop_unionOf
 
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.ontology.OntResource
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asDatatypeProperty, asIndividual, asObjectProperty, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDatatypeProperty, isDefinedBy, isDifferentFrom, isIndividual, isObjectProperty, isOntLanguageTerm, isOntology, isProperty, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfo
 
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, listProperties, listProperties, removeAll, removeProperties, toString
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode
as, canAs, inModel, isAnon, isLiteral, isResource, isURIResource, visitWith
 
Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode
asNode
 
Methods inherited from interface com.hp.hpl.jena.ontology.OntClass
addDisjointWith, addEquivalentClass, addSubClass, addSuperClass, asComplementClass, asEnumeratedClass, asIntersectionClass, asRestriction, asUnionClass, convertToComplementClass, convertToEnumeratedClass, convertToIntersectionClass, convertToRestriction, convertToUnionClass, createIndividual, createIndividual, getDisjointWith, getEquivalentClass, getSubClass, getSuperClass, hasDeclaredProperty, hasEquivalentClass, hasSubClass, hasSubClass, hasSubClass, hasSuperClass, hasSuperClass, hasSuperClass, isComplementClass, isDisjointWith, isEnumeratedClass, isHierarchyRoot, isIntersectionClass, isUnionClass, listDeclaredProperties, listDeclaredProperties, listDisjointWith, listEquivalentClasses, listInstances, listSubClasses, listSubClasses, listSuperClasses, listSuperClasses, removeDisjointWith, removeEquivalentClass, removeSubClass, removeSuperClass, setDisjointWith, setEquivalentClass, setSubClass, setSuperClass
 
Methods inherited from interface com.hp.hpl.jena.ontology.OntResource
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asDatatypeProperty, asIndividual, asObjectProperty, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDatatypeProperty, isDefinedBy, isDifferentFrom, isIndividual, isObjectProperty, isOntLanguageTerm, isOntology, isProperty, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfo
 
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, listProperties, listProperties, removeAll, removeProperties, toString
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode
as, canAs, inModel, isAnon, isLiteral, isResource, isURIResource, visitWith
 
Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode
asNode
 

Method Detail

prop_onProperty

PropertyAccessor prop_onProperty()

Property accessor for the onProperty property of a restriction. This denotes the property to which the restriction applies, and there is normally exactly one of them.

Returns:
Property accessor for daml:onProperty.

prop_toClass

PropertyAccessor prop_toClass()

Property accessor for the toClass property of a restriction. This denotes the class for which the restricted property always maps to instances that belong to the class given by this property.

Returns:
Property accessor for toClass

prop_hasValue

PropertyAccessor prop_hasValue()

Property accessor for the hasValue property of a restriction. This is used to construct a class expression in which the restricted property has the value indicated by this property.

Returns:
Property accessor for hasValue

prop_hasClass

PropertyAccessor prop_hasClass()

Property accessor for the hasClass property of a restriction. This is used to construct a class expression in which the restricted property has at least one value belonging to the class indicated by this property.

Returns:
Property accessor for hasClass

prop_hasClassQ

PropertyAccessor prop_hasClassQ()

Property accessor for the hasClassQ property of a restriction. This is used to construct a class expression in which a cardinality constraint is combined with a has-class restriction.

Returns:
Property accessor for hasClassQ

prop_cardinality

IntLiteralAccessor prop_cardinality()

Property accessor for the cardinality property of a restriction. This denotes the combination of minCardinality and maxCardinality to the same value.

Returns:
Property accessor for cardinality

prop_minCardinality

IntLiteralAccessor prop_minCardinality()

Property accessor for the minCardinality property of a restriction. This denotes the class of instances that have at least this number of distict values for the property.

Returns:
Property accessor for minCardinality

prop_maxCardinality

IntLiteralAccessor prop_maxCardinality()

Property accessor for the maxCardinality property of a restriction. This denotes the class of instances that have at most this number of distict values for the property.

Returns:
Property accessor for maxCardinality

prop_cardinalityQ

IntLiteralAccessor prop_cardinalityQ()

Property accessor for the cardinalityQ property of a restriction. This denotes the combination of minCardinalityQ and maxCardinalityQ to the same value.

Returns:
Property accessor for cardinalityQ

prop_minCardinalityQ

IntLiteralAccessor prop_minCardinalityQ()

Property accessor for the minCardinalityQ property of a restriction. This denotes the class of instances that have at least this many distinct values of the class denoted by hasClassQ for the property.

Returns:
Property accessor for minCardinalityQ

prop_maxCardinalityQ

IntLiteralAccessor prop_maxCardinalityQ()

Property accessor for the maxCardinalityQ property of a restriction. This denotes the class of instances that have at most this many distinct values of the class denoted by hasClassQ for the property.

Returns:
Property accessor for maxCardinalityQ


Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP