org.deri.iris.terms.concrete
Class UnsignedByte
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.NonNegativeInteger
org.deri.iris.terms.concrete.UnsignedLong
org.deri.iris.terms.concrete.UnsignedInt
org.deri.iris.terms.concrete.UnsignedShort
org.deri.iris.terms.concrete.UnsignedByte
- All Implemented Interfaces:
- Comparable<ITerm>, IDecimalTerm, IIntegerTerm, INonNegativeInteger, IUnsignedByte, IUnsignedInt, IUnsignedLong, IUnsignedShort, IConcreteTerm, INumericTerm, ITerm
public class UnsignedByte
- extends UnsignedShort
- implements IUnsignedByte
A simple implementation of UnsignedByte.
- Author:
- Adrian Marte
|
Constructor Summary |
UnsignedByte(short value)
Creates a new UnsignedByte for the specified short. |
|
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 |
UnsignedByte
public UnsignedByte(short value)
- Creates a new UnsignedByte for the specified short.
- Parameters:
value - The short representing a number not less than 0 and not
greater than 255.
- Throws:
IllegalArgumentException - If the specified short is less than 0 or
greater than 255.
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 UnsignedShort
- Returns:
- The fully qualified identifier for the data type corresponding to
this term.