|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A data instance is a specific type of DAML object that represents the instantiation of a DAML datatype.
| Method Summary | |
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. |
DatatypeTranslator |
getTranslator()
Answer the Datatype translator for values encoded by the datatype of this instance. |
java.lang.Object |
getValue()
Answer the value of this instance as a Java object, translated from the serialised RDF representation by the Dataype's translator. |
PropertyAccessor |
prop_sameIndividualAs()
Property accessor for daml:sameIndividualAs property on a DAML instance. |
void |
setValue(java.lang.Object value)
Set the value of this instance to the given Java value, which will be serialised into the RDF graph by the datatype's translator |
| Methods inherited from interface com.hp.hpl.jena.daml.DAMLCommon |
getAll, getDAMLModel, getEquivalenceSet, getEquivalentValues, 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 |
| Method Detail |
public PropertyAccessor prop_sameIndividualAs()
daml:sameIndividualAs property on a DAML instance.
public java.util.Iterator getSameInstances()
daml:samePropertyAs
property.
public DatatypeTranslator getTranslator()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||