org.deri.iris.api.terms
Interface IConcreteTerm

All Superinterfaces:
Comparable<ITerm>, ITerm
All Known Subinterfaces:
IAnyURI, IBase64Binary, IBooleanTerm, IByteTerm, IDateTerm, IDateTime, IDateTimeStamp, IDayTimeDuration, IDecimalTerm, IDoubleTerm, IDuration, IENTITY, IFloatTerm, IGDay, IGMonth, IGMonthDay, IGYear, IGYearMonth, IHexBinary, IID, IIDREF, IIntegerTerm, IIntTerm, IIri, ILanguage, ILongTerm, IName, INCName, INegativeInteger, INMTOKEN, INonNegativeInteger, INonPositiveInteger, INormalizedString, INOTATION, INumericTerm, IPlainLiteral, IPositiveInteger, IQName, IShortTerm, ISqName, IStringTerm, ITime, IToken, IUnsignedByte, IUnsignedInt, IUnsignedLong, IUnsignedShort, IXMLLiteral, IYearMonthDuration
All Known Implementing Classes:
AbstractNumericTerm, AnyURI, Base64Binary, BooleanTerm, ByteTerm, DateTerm, DateTime, DateTimeStamp, DayTimeDuration, DecimalTerm, DoubleTerm, Duration, ENTITY, FloatTerm, GDay, GMonth, GMonthDay, GYear, GYearMonth, HexBinary, ID, IDREF, IntegerTerm, IntTerm, Iri, Language, LongTerm, Name, NCName, NegativeInteger, NMTOKEN, NonNegativeInteger, NonPositiveInteger, NormalizedString, NOTATION, PlainLiteral, PositiveInteger, QName, ShortTerm, SqName, StringTerm, Time, Token, UnsignedByte, UnsignedInt, UnsignedLong, UnsignedShort, XMLLiteral, YearMonthDuration

public interface IConcreteTerm
extends ITerm

An interface representing a concrete term. A concrete term has a corresponding data type URI. For instance, a term representing a double data type should return the URI "http://www.w3.org/2001/XMLSchema#double".

Remark: IRIS supports data types according to the standard specification for primitive XML Schema data types and additional data types required in RIF.

See Also:
XML Schema: Datatypes, RIF Datatypes and Built-Ins

Method Summary
 URI getDatatypeIRI()
          Returns the fully qualified identifier for the data type corresponding to this term.
 String toCanonicalString()
          Returns a canonical string representation of this term.
 
Methods inherited from interface org.deri.iris.api.terms.ITerm
getValue, isGround
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDatatypeIRI

URI getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. For instance, a terms representing a double data type should return the URI "http://www.w3.org/2001/XMLSchema#double".

Returns:
The fully qualified identifier for the data type corresponding to this term.

toCanonicalString

String toCanonicalString()
Returns a canonical string representation of this term.

Returns:
A canonical string representation of this term.