com.bigdata.rdf.model
Class BigdataLiteralImpl

java.lang.Object
  extended by com.bigdata.rdf.model.BigdataValueImpl
      extended by com.bigdata.rdf.model.BigdataLiteralImpl
All Implemented Interfaces:
IElement, BigdataLiteral, BigdataValue, Serializable, Literal, Value

public class BigdataLiteralImpl
extends BigdataValueImpl
implements BigdataLiteral

A literal. Use BigdataValueFactory to create instances of this class.

Version:
$Id: BigdataLiteralImpl.java 4898 2011-07-12 17:39:31Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Method Summary
 boolean booleanValue()
           
 byte byteValue()
           
 XMLGregorianCalendar calendarValue()
           
 BigDecimal decimalValue()
           
 double doubleValue()
           
 boolean equals(Literal o)
           
 boolean equals(Object o)
           
 float floatValue()
           
 BigdataURI getDatatype()
          Specialized return type.
 String getLabel()
           
 String getLanguage()
           
 int hashCode()
           
 BigInteger integerValue()
           
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 String stringValue()
           
 String toString()
           
 
Methods inherited from class com.bigdata.rdf.model.BigdataValueImpl
clearInternalValue, get, getIV, getValueFactory, isRealIV, setIV
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bigdata.rdf.model.BigdataValue
clearInternalValue, getIV, getValueFactory, isRealIV, setIV
 
Methods inherited from interface com.bigdata.bop.IElement
get
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

stringValue

public String stringValue()
Specified by:
stringValue in interface Value

getLabel

public final String getLabel()
Specified by:
getLabel in interface Literal

getLanguage

public final String getLanguage()
Specified by:
getLanguage in interface Literal

getDatatype

public final BigdataURI getDatatype()
Description copied from interface: BigdataLiteral
Specialized return type.

Specified by:
getDatatype in interface BigdataLiteral
Specified by:
getDatatype in interface Literal

hashCode

public final int hashCode()
Specified by:
hashCode in interface Literal
Overrides:
hashCode in class Object

equals

public final boolean equals(Object o)
Specified by:
equals in interface Literal
Overrides:
equals in class Object

equals

public final boolean equals(Literal o)

booleanValue

public final boolean booleanValue()
Specified by:
booleanValue in interface Literal

byteValue

public final byte byteValue()
Specified by:
byteValue in interface Literal

shortValue

public final short shortValue()
Specified by:
shortValue in interface Literal

intValue

public final int intValue()
Specified by:
intValue in interface Literal

longValue

public final long longValue()
Specified by:
longValue in interface Literal

floatValue

public final float floatValue()
Specified by:
floatValue in interface Literal

doubleValue

public final double doubleValue()
Specified by:
doubleValue in interface Literal

integerValue

public final BigInteger integerValue()
Specified by:
integerValue in interface Literal

decimalValue

public final BigDecimal decimalValue()
Specified by:
decimalValue in interface Literal

calendarValue

public final XMLGregorianCalendar calendarValue()
Specified by:
calendarValue in interface Literal


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.