Annotation Interface DefaultValue
Default value annotation for use in generation of SPARQL functions from
Java methods.
The provided string must be either a valid lexical value for the arguments datatype
corresponding RDF type.
For example, Java's primitive
boolean and boxed Boolean types both map to xsd:boolean.
Its lexical space is the set of strings {"false", "true" }.
Hence, the annotation myMethod(@DefaultValue("true") boolean arg) is interpreted as "true"^^xsd:boolean.-
Required Element Summary
Required Elements
-
Element Details
-
value
String value
-