|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAMLDataInstance
A data instance is a specific type of DAML object that represents the instantiation
of a DAML datatype. The instance is a resource whose rdf:value
is a typed literal.
Method Summary | |
---|---|
RDFDatatype |
getDatatype()
Answer the typed value 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 type mapper. |
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.ontology.daml.DAMLInstance |
---|
accessProperty, getEquivalentValues, getSameInstances, prop_sameIndividualAs |
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.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 |
---|
RDFDatatype getDatatype()
Answer the typed value translator for values encoded by the datatype of this instance.
rdf:type
of this instancejava.lang.Object getValue()
Answer the value of this instance as a Java object, translated from the serialised RDF representation by the Dataype's type mapper.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |