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