org.deri.iris.api.terms.concrete
Interface IGYear

All Superinterfaces:
Comparable<ITerm>, IConcreteTerm, ITerm
All Known Implementing Classes:
GYear

public interface IGYear
extends IConcreteTerm

An interface for representing the gYear datatype (gYear represents a gregorian calendar year).

Remark: IRIS supports datatypes according to the standard specification for primitive XML Schema datatypes.

Author:
Darko Anicic, DERI Innsbruck

Method Summary
 Integer getValue()
          Return the wrapped type.
 int getYear()
          Returns the year (a gregorian calendar year).
 
Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm
getDatatypeIRI, toCanonicalString
 
Methods inherited from interface org.deri.iris.api.terms.ITerm
isGround
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getValue

Integer getValue()
Return the wrapped type.

Specified by:
getValue in interface ITerm
Returns:
The term value.

getYear

int getYear()
Returns the year (a gregorian calendar year).

Returns:
the year.