public class IntegerLiteralImpl extends LiteralImpl
LiteralImpl that stores an integer value using a
BigInteger object.| Constructor and Description |
|---|
IntegerLiteralImpl(BigInteger value)
Creates an xsd:integer literal with the specified value.
|
IntegerLiteralImpl(BigInteger value,
URI datatype)
Creates a literal with the specified value and datatype.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue()
Returns the byte value of this literal.
|
BigDecimal |
decimalValue()
Returns the decimal value of this literal.
|
double |
doubleValue()
Returns the double value of this literal.
|
float |
floatValue()
Returns the float value of this literal.
|
BigInteger |
integerValue()
Returns the integer value of this literal.
|
int |
intValue()
Returns the int value of this literal.
|
long |
longValue()
Returns the long value of this literal.
|
short |
shortValue()
Returns the short value of this literal.
|
booleanValue, calendarValue, equals, getDatatype, getLabel, getLanguage, hashCode, setDatatype, setLabel, setLanguage, stringValue, toStringpublic IntegerLiteralImpl(BigInteger value)
public IntegerLiteralImpl(BigInteger value, URI datatype)
public byte byteValue()
LiteralbyteValue in interface LiteralbyteValue in class LiteralImplpublic short shortValue()
LiteralshortValue in interface LiteralshortValue in class LiteralImplpublic int intValue()
LiteralintValue in interface LiteralintValue in class LiteralImplpublic long longValue()
LiterallongValue in interface LiterallongValue in class LiteralImplpublic float floatValue()
LiteralfloatValue in interface LiteralfloatValue in class LiteralImplpublic double doubleValue()
LiteraldoubleValue in interface LiteraldoubleValue in class LiteralImplpublic BigInteger integerValue()
LiteralintegerValue in interface LiteralintegerValue in class LiteralImplpublic BigDecimal decimalValue()
LiteraldecimalValue in interface LiteraldecimalValue in class LiteralImplCopyright © 2001-2014 Aduna. All Rights Reserved.