com.bigdata.rdf.model
Class BigdataValueImpl

java.lang.Object
  extended by com.bigdata.rdf.model.BigdataValueImpl
All Implemented Interfaces:
BigdataValue, Serializable, Value
Direct Known Subclasses:
BigdataLiteralImpl, BigdataResourceImpl

public abstract class BigdataValueImpl
extends Object
implements BigdataValue

Version:
$Id: BigdataValueImpl.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.bigdata.rdf.model.BigdataValue
NULL
 
Constructor Summary
protected BigdataValueImpl(BigdataValueFactory valueFactory, long termId)
           
 
Method Summary
 void clearTermId()
          Clears the term identifier to BigdataValue.NULL.
 long getTermId()
          Return the term identifier for this value.
 BigdataValueFactory getValueFactory()
           
 void setTermId(long termId)
          Set the term identifier for this value.
 void setValueFactory(BigdataValueFactory valueFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.model.Value
stringValue
 

Constructor Detail

BigdataValueImpl

protected BigdataValueImpl(BigdataValueFactory valueFactory,
                           long termId)
Parameters:
valueFactory - The value factory that created this object (optional).
termId - The term identifier (optional).
Method Detail

getValueFactory

public final BigdataValueFactory getValueFactory()

setValueFactory

public final void setValueFactory(BigdataValueFactory valueFactory)
Parameters:
valueFactory -
Throws:
IllegalArgumentException - if the argument is null.
IllegalStateException - if a different BigdataValueFactoryImpl has already been set.

clearTermId

public final void clearTermId()
Description copied from interface: BigdataValue
Clears the term identifier to BigdataValue.NULL.

Specified by:
clearTermId in interface BigdataValue

getTermId

public final long getTermId()
Description copied from interface: BigdataValue
Return the term identifier for this value. The term identifier uniquely identifies a Value for a database. Sometimes a TempTripleStore will be used that shares the lexicon with a given database, in which case the same term identifiers will be value for that TempTripleStore.

Specified by:
getTermId in interface BigdataValue

setTermId

public final void setTermId(long termId)
Description copied from interface: BigdataValue
Set the term identifier for this value.

Specified by:
setTermId in interface BigdataValue
Parameters:
termId - The term identifier.


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