public class KiWiIntLiteral extends KiWiDoubleLiteral
doubleContentcontent| Constructor and Description |
|---|
KiWiIntLiteral() |
KiWiIntLiteral(Long content,
KiWiUriResource type) |
KiWiIntLiteral(Long content,
KiWiUriResource type,
Date created) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue()
Returns the byte value of this literal.
|
Long |
getIntContent() |
int |
intValue()
Returns the int value of this literal.
|
long |
longValue()
Returns the long value of this literal.
|
void |
setIntContent(Long intContent) |
short |
shortValue()
Returns the short value of this literal.
|
doubleValue, floatValue, getDoubleContent, setDoubleContentgetContent, setContentbooleanValue, calendarValue, decimalValue, equals, getDatatype, getLabel, getLanguage, getLocale, getType, hashCode, integerValue, isAnonymousResource, isLiteral, isUriResource, setLocale, setType, stringValue, toStringgetCreated, getId, setCreated, setIdpublic KiWiIntLiteral()
public KiWiIntLiteral(Long content, KiWiUriResource type)
public KiWiIntLiteral(Long content, KiWiUriResource type, Date created)
public Long getIntContent()
public void setIntContent(Long intContent)
public byte byteValue()
byteValue in interface org.openrdf.model.LiteralbyteValue in class KiWiLiteralNumberFormatException - If the literal cannot be represented by a byte.public short shortValue()
shortValue in interface org.openrdf.model.LiteralshortValue in class KiWiLiteralNumberFormatException - If the literal's label cannot be represented by a short.public int intValue()
intValue in interface org.openrdf.model.LiteralintValue in class KiWiLiteralNumberFormatException - If the literal's label cannot be represented by a int.public long longValue()
longValue in interface org.openrdf.model.LiterallongValue in class KiWiLiteralNumberFormatException - If the literal's label cannot be represented by to a long.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.