|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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.DAMLInstanceImpl
Java representation of a DAML Instance.
| Constructor Summary | |
DAMLInstanceImpl(java.lang.String uri,
DAMLModel store,
DAMLVocabulary vocabulary)
Constructor, takes the URI for this instance, and the underlying model it will be attached to. |
|
DAMLInstanceImpl(java.lang.String namespace,
java.lang.String name,
DAMLModel store,
DAMLVocabulary vocabulary)
Constructor, takes the name and namespace for this instance, and the underlying model it will be attached to. |
|
| Method Summary | |
PropertyAccessor |
accessProperty(Property property)
Answer a property accessor for a user defined property. |
java.util.Iterator |
getEquivalentValues()
Answer an iterator over all of the DAML objects that are equivalent to this instance, which will be the union of daml:equivalentTo and
daml:sameIndividualAs. |
java.util.Iterator |
getSameInstances()
Return an iterator over all of the instances that are the same as this one, by generating the transitive closure over the daml:samePropertyAs
property. |
PropertyAccessor |
prop_sameIndividualAs()
Property accessor for daml:sameIndividualAs property on a DAML instance. |
| Methods inherited from class com.hp.hpl.jena.daml.common.DAMLCommonImpl |
getAll, getDAMLModel, getEquivalenceSet, getNumPropertyValues, getPropertyValue, getPropertyValues, getRDFTypes, getSelfIterator, getVocabulary, hasRDFType, hasRDFType, port, 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, removeProperties |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
public DAMLInstanceImpl(java.lang.String namespace,
java.lang.String name,
DAMLModel store,
DAMLVocabulary vocabulary)
namespace - The namespace the instance inhabits, or nullname - The name of the instancestore - The RDF store that contains the RDF statements defining the properties of the instancevocabulary - Reference to the DAML vocabulary used by this instance.
public DAMLInstanceImpl(java.lang.String uri,
DAMLModel store,
DAMLVocabulary vocabulary)
uri - The URI of the instancestore - The RDF store that contains the RDF statements defining the properties of the instancevocabulary - Reference to the DAML vocabulary used by this instance.| Method Detail |
public PropertyAccessor prop_sameIndividualAs()
daml:sameIndividualAs property on a DAML instance.
prop_sameIndividualAs in interface DAMLInstancepublic java.util.Iterator getSameInstances()
daml:samePropertyAs
property.
getSameInstances in interface DAMLInstancepublic java.util.Iterator getEquivalentValues()
daml:equivalentTo and
daml:sameIndividualAs.
getEquivalentValues in interface DAMLInstancegetEquivalentValues in class DAMLCommonImplpublic PropertyAccessor accessProperty(Property property)
accessProperty in interface DAMLInstanceproperty - An RDF or DAML property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||