|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.ResourceImpl | +--com.hp.hpl.jena.daml.common.DAMLCommonImpl | +--com.hp.hpl.jena.daml.common.DAMLClassImpl | +--com.hp.hpl.jena.daml.common.DAMLRestrictionImpl
Java representation of a DAML Restriction.
Constructor Summary | |
DAMLRestrictionImpl(java.lang.String uri,
DAMLModel store,
DAMLVocabulary vocabulary)
Constructor, takes the URI for this restriction, and the underlying model it will be attached to. |
|
DAMLRestrictionImpl(java.lang.String namespace,
java.lang.String name,
DAMLModel store,
DAMLVocabulary vocabulary)
Constructor, takes the name and namespace for this restriction, and the underlying model it will be attached to. |
Method Summary | |
boolean |
isComplement()
Answer true if this class expression is an boolean complement of a list of class expressions. |
boolean |
isEnumeration()
Answer true if this class expression is an enumeration (i.e. |
boolean |
isIntersection()
Answer true if this class expression is an boolean intersection of a list of class expressions. |
boolean |
isNamedClass()
Answer true if this class expression is an named class (i.e. |
boolean |
isRestriction()
Answer true if this class expression is an property restriction (i.e. |
boolean |
isUnion()
Answer true if this class expression is an boolean union of a list of class expressions. |
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 class com.hp.hpl.jena.daml.common.DAMLClassImpl |
getDefinedProperties, getDefinedProperties, getEquivalentValues, getInstances, getSameClasses, getSubClasses, getSubClasses, getSuperClasses, getSuperClasses, hasSubClass, hasSuperClass, isDisjointUnion, prop_complementOf, prop_disjointUnionOf, prop_disjointWith, prop_intersectionOf, prop_oneOf, prop_sameClassAs, prop_subClassOf, prop_unionOf |
Methods inherited from class com.hp.hpl.jena.daml.common.DAMLCommonImpl |
getAll, getDAMLModel, getEquivalenceSet, getNumPropertyValues, getPropertyValue, getPropertyValues, getRDFTypes, getSelfIterator, getVocabulary, hasRDFType, hasRDFType, prop_comment, prop_equivalentTo, prop_label, prop_type, remove, removeAll, removeProperty, replaceProperty, setPropertyValue, setRDFType, setRDFType, toString |
Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.ResourceImpl |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getEmbeddedResource, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hashCode, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, port, removeProperties |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.daml.DAMLClass |
getDefinedProperties, getDefinedProperties, getEquivalentValues, getInstances, getSameClasses, getSubClasses, getSubClasses, getSuperClasses, getSuperClasses, hasSubClass, hasSuperClass, prop_complementOf, prop_disjointUnionOf, prop_disjointWith, prop_intersectionOf, prop_oneOf, prop_sameClassAs, prop_subClassOf, prop_unionOf |
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.jena.daml.DAMLClassExpression |
isDisjointUnion |
Constructor Detail |
public DAMLRestrictionImpl(java.lang.String namespace, java.lang.String name, DAMLModel store, DAMLVocabulary vocabulary)
namespace
- The namespace the restriction inhabits, or nullname
- The name of the restrictionstore
- The RDF store that contains the RDF statements defining the properties of the restrictionvocabulary
- Reference to the DAML vocabulary used by this restriction.public DAMLRestrictionImpl(java.lang.String uri, DAMLModel store, DAMLVocabulary vocabulary)
uri
- The URI of the restrictionstore
- The RDF store that contains the RDF statements defining the properties of the restrictionvocabulary
- Reference to the DAML vocabulary used by this restriction.Method Detail |
public boolean isEnumeration()
isEnumeration
in interface DAMLClassExpression
isEnumeration
in class DAMLClassImpl
DAMLClass
expressions.public boolean isNamedClass()
isNamedClass
in interface DAMLClassExpression
isNamedClass
in class DAMLClassImpl
public boolean isRestriction()
isRestriction
in interface DAMLClassExpression
isRestriction
in class DAMLClassImpl
public boolean isIntersection()
isIntersection
in interface DAMLClassExpression
isIntersection
in class DAMLClassImpl
DAMLClass
expressions.public boolean isUnion()
isUnion
in interface DAMLClassExpression
isUnion
in class DAMLClassImpl
DAMLClass
expressions.public boolean isComplement()
isComplement
in interface DAMLClassExpression
isComplement
in class DAMLClassImpl
DAMLClass
expressions, as opposed to compliments, which you only get on your birthday.public PropertyAccessor prop_onProperty()
prop_onProperty
in interface DAMLRestriction
public PropertyAccessor prop_toClass()
prop_toClass
in interface DAMLRestriction
public PropertyAccessor prop_hasValue()
prop_hasValue
in interface DAMLRestriction
public PropertyAccessor prop_hasClass()
prop_hasClass
in interface DAMLRestriction
public PropertyAccessor prop_hasClassQ()
prop_hasClassQ
in interface DAMLRestriction
public IntLiteralAccessor prop_cardinality()
prop_cardinality
in interface DAMLRestriction
public IntLiteralAccessor prop_minCardinality()
prop_minCardinality
in interface DAMLRestriction
public IntLiteralAccessor prop_maxCardinality()
prop_maxCardinality
in interface DAMLRestriction
public IntLiteralAccessor prop_cardinalityQ()
prop_cardinalityQ
in interface DAMLRestriction
public IntLiteralAccessor prop_minCardinalityQ()
prop_minCardinalityQ
in interface DAMLRestriction
public IntLiteralAccessor prop_maxCardinalityQ()
prop_maxCardinalityQ
in interface DAMLRestriction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |