Package com.complexible.common.rdf.model
Class ArrayLiteral
java.lang.Object
com.complexible.common.rdf.model.ArrayLiteral
- All Implemented Interfaces:
TransientValue,Literal,Value,Serializable
Literal consisting of an array of Stardog IDs
- Since:
- 5.0
- Version:
- 6.0
- Author:
- Pedro Oliveira
- See Also:
-
Field Summary
FieldsFields inherited from interface com.stardog.stark.Literal
STRICT_TYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayLiteraldatatype()The datatype of the `Literal`.The IRI of theDatatypeof the `Literal`.booleanlong[]inthashCode()label()The lexical value of the literal
-
Field Details
-
ARRAY
-
-
Constructor Details
-
ArrayLiteral
public ArrayLiteral(long... theValues)
-
-
Method Details
-
getValues
public long[] getValues() -
datatype
The datatype of the `Literal`. Some serializations of RDF use a "simple literal" which is a literal with no explicit datatype. That is just syntactic sugar for `xsd:string` typed literals. -
datatypeIRI
The IRI of theDatatypeof the `Literal`. Often, this is syntactic sugar for `datatype().iri()` however, in the case where it is a user defined datatype, egDatatype.UDFthis will return the specific IRI of the datatype.- Specified by:
datatypeIRIin interfaceLiteral- Returns:
- the datatype IRI of the lexical value
-
label
The lexical value of the literal -
hashCode
public int hashCode() -
equals
-
coerce
-