public class IntegerLiteral extends SimpleLiteral
SimpleLiteral that stores an integer value using a BigInteger object.| Modifier | Constructor and Description |
|---|---|
protected |
IntegerLiteral(BigInteger value)
Creates an xsd:integer literal with the specified value.
|
protected |
IntegerLiteral(BigInteger value,
IRI datatype)
Creates a literal with the specified value and datatype.
|
protected |
IntegerLiteral(BigInteger value,
XSD.Datatype datatype) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
BigDecimal |
decimalValue() |
double |
doubleValue() |
float |
floatValue() |
BigInteger |
integerValue() |
int |
intValue() |
long |
longValue() |
short |
shortValue() |
booleanValue, calendarValue, equals, getDatatype, getLabel, getLanguage, getXsdDatatype, hashCode, setDatatype, setDatatype, setLabel, setLanguage, stringValue, toStringtemporalAccessorValue, temporalAmountValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitisBNode, isIRI, isResource, isTripleprotected IntegerLiteral(BigInteger value)
protected IntegerLiteral(BigInteger value, IRI datatype)
protected IntegerLiteral(BigInteger value, XSD.Datatype datatype)
public byte byteValue()
byteValue in interface LiteralbyteValue in class SimpleLiteralpublic short shortValue()
shortValue in interface LiteralshortValue in class SimpleLiteralpublic int intValue()
intValue in interface LiteralintValue in class SimpleLiteralpublic long longValue()
longValue in interface LiterallongValue in class SimpleLiteralpublic float floatValue()
floatValue in interface LiteralfloatValue in class SimpleLiteralpublic double doubleValue()
doubleValue in interface LiteraldoubleValue in class SimpleLiteralpublic BigInteger integerValue()
integerValue in interface LiteralintegerValue in class SimpleLiteralpublic BigDecimal decimalValue()
decimalValue in interface LiteraldecimalValue in class SimpleLiteralCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.