org.deri.iris.terms.concrete
Class ByteTerm
java.lang.Object
org.deri.iris.terms.concrete.AbstractNumericTerm
org.deri.iris.terms.concrete.DecimalTerm
org.deri.iris.terms.concrete.IntegerTerm
org.deri.iris.terms.concrete.LongTerm
org.deri.iris.terms.concrete.IntTerm
org.deri.iris.terms.concrete.ShortTerm
org.deri.iris.terms.concrete.ByteTerm
- All Implemented Interfaces:
- Comparable<ITerm>, IByteTerm, IDecimalTerm, IIntegerTerm, IIntTerm, ILongTerm, IShortTerm, IConcreteTerm, INumericTerm, ITerm
public class ByteTerm
- extends ShortTerm
- implements IByteTerm
A simple implementation of Byte.
- Author:
- Adrian Marte
|
Constructor Summary |
ByteTerm(byte value)
Creates a new Byte instance for the specified byte. |
|
Method Summary |
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to
this term. |
| Methods inherited from interface org.deri.iris.api.terms.ITerm |
isGround |
ByteTerm
public ByteTerm(byte value)
- Creates a new Byte instance for the specified byte.
- Parameters:
value - The byte value.
getDatatypeIRI
public URI getDatatypeIRI()
- Description copied from interface:
IConcreteTerm
- 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".
- Specified by:
getDatatypeIRI in interface IConcreteTerm- Overrides:
getDatatypeIRI in class ShortTerm
- Returns:
- The fully qualified identifier for the data type corresponding to
this term.