com.bigdata.rdf.model
Class BigdataBNodeImpl

java.lang.Object
  extended by com.bigdata.rdf.model.BigdataValueImpl
      extended by com.bigdata.rdf.model.BigdataResourceImpl
          extended by com.bigdata.rdf.model.BigdataBNodeImpl
All Implemented Interfaces:
BigdataBNode, BigdataResource, BigdataValue, Serializable, BNode, Resource, Value

public class BigdataBNodeImpl
extends BigdataResourceImpl
implements BigdataBNode

A blank node. Use BigdataValueFactory to create instances of this class.

Note: When AbstractTripleStore.Options#STATEMENT_IDENTIFIERS is enabled blank nodes in the context position of a statement are recognized as statement identifiers by StatementBuffer. It coordinates with this class in order to detect when a blank node is a statement identifier and to defer the assertion of statements made using a statement identifier until that statement identifier becomes defined by being paired with a statement.

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

Field Summary
 boolean statementIdentifier
          Boolean flag is set during conversion from an RDF interchange syntax into the internal SPO model if the blank node is a statement identifier.
 
Fields inherited from interface com.bigdata.rdf.model.BigdataValue
NULL
 
Method Summary
 boolean equals(BNode o)
           
 boolean equals(Object o)
           
 String getID()
           
 int hashCode()
           
 String stringValue()
           
 String toString()
           
 
Methods inherited from class com.bigdata.rdf.model.BigdataValueImpl
clearTermId, getTermId, getValueFactory, setTermId, setValueFactory
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bigdata.rdf.model.BigdataValue
clearTermId, getTermId, setTermId
 

Field Detail

statementIdentifier

public boolean statementIdentifier
Boolean flag is set during conversion from an RDF interchange syntax into the internal SPO model if the blank node is a statement identifier.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

stringValue

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

equals

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

equals

public final boolean equals(BNode o)

hashCode

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

getID

public final String getID()
Specified by:
getID in interface BNode


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