Interface Literal
- All Superinterfaces:
Comparable<Term>, Constant, Serializable, Term
A Literal is a typed
Constant representing strings, numbers, dates…
The URI returned by getDatatype() specifies which kind of
object is represented.- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfr.lirmm.graphik.util.URIReturns the datatype of the literal.A unique identifier of this term.getValue()Returns the literal lexical value.Methods inherited from interface Comparable
compareToMethods inherited from interface Term
getType, isConstant, isLiteral, isVariable
-
Method Details
-
getValue
-
getDatatype
fr.lirmm.graphik.util.URI getDatatype()Returns the datatype of the literal.- Returns:
- the datatype URI
-
getIdentifier
String getIdentifier()Description copied from interface:TermA unique identifier of this term. The following constraint must be fulfil:
this.getIdentifier().equals(o.getIdentifier())must be equivalent tothis.equals(o).- Specified by:
getIdentifierin interfaceConstant- Specified by:
getIdentifierin interfaceTerm- Returns:
- a unique identifier of this term.
-