org.topbraid.core.model
Class EmptyObjectStatement

java.lang.Object
  extended by org.topbraid.core.model.EmptyObjectStatement
All Implemented Interfaces:
com.hp.hpl.jena.graph.FrontsTriple, com.hp.hpl.jena.rdf.model.Statement

public class EmptyObjectStatement
extends java.lang.Object
implements com.hp.hpl.jena.rdf.model.Statement


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.rdf.model.Statement
com.hp.hpl.jena.rdf.model.Statement.Util
 
Constructor Summary
EmptyObjectStatement(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate)
           
EmptyObjectStatement(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate, com.hp.hpl.jena.rdf.model.Resource objectType)
           
 
Method Summary
 com.hp.hpl.jena.graph.Triple asTriple()
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(boolean o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(char o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(double o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(float o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(long o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.Object o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(com.hp.hpl.jena.rdf.model.RDFNode o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o, boolean wellFormed)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o, java.lang.String l)
           
 com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o, java.lang.String l, boolean wellFormed)
           
 com.hp.hpl.jena.rdf.model.ReifiedStatement createReifiedStatement()
           
 com.hp.hpl.jena.rdf.model.ReifiedStatement createReifiedStatement(java.lang.String uri)
           
 com.hp.hpl.jena.rdf.model.Alt getAlt()
           
 com.hp.hpl.jena.rdf.model.Bag getBag()
           
 boolean getBoolean()
           
 byte getByte()
           
 char getChar()
           
static com.hp.hpl.jena.rdf.model.Resource getDefaultType(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate)
          Gets the default type that is typically used as objectType for new EmptyObjectStatements.
 double getDouble()
           
 float getFloat()
           
 int getInt()
           
 java.lang.String getLanguage()
           
 com.hp.hpl.jena.rdf.model.Literal getLiteral()
           
 long getLong()
           
 com.hp.hpl.jena.rdf.model.Model getModel()
           
 com.hp.hpl.jena.rdf.model.RDFNode getObject()
           
 java.lang.Object getObject(com.hp.hpl.jena.rdf.model.ObjectF f)
           
 com.hp.hpl.jena.rdf.model.Resource getObjectType()
           
 com.hp.hpl.jena.rdf.model.Property getPredicate()
           
 com.hp.hpl.jena.rdf.model.Statement getProperty(com.hp.hpl.jena.rdf.model.Property p)
           
 com.hp.hpl.jena.rdf.model.Resource getResource()
           
 com.hp.hpl.jena.rdf.model.Resource getResource(com.hp.hpl.jena.rdf.model.ResourceF f)
           
 com.hp.hpl.jena.rdf.model.Seq getSeq()
           
 short getShort()
           
 com.hp.hpl.jena.rdf.model.Statement getStatementProperty(com.hp.hpl.jena.rdf.model.Property p)
           
 java.lang.String getString()
           
 com.hp.hpl.jena.rdf.model.Resource getSubject()
           
 boolean getWellFormed()
           
 boolean hasWellFormedXML()
           
 boolean isReified()
           
 com.hp.hpl.jena.rdf.model.RSIterator listReifiedStatements()
           
 com.hp.hpl.jena.rdf.model.Statement remove()
           
 void removeReification()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.Statement
equals, hashCode
 

Constructor Detail

EmptyObjectStatement

public EmptyObjectStatement(com.hp.hpl.jena.rdf.model.Resource subject,
                            com.hp.hpl.jena.rdf.model.Property predicate)

EmptyObjectStatement

public EmptyObjectStatement(com.hp.hpl.jena.rdf.model.Resource subject,
                            com.hp.hpl.jena.rdf.model.Property predicate,
                            com.hp.hpl.jena.rdf.model.Resource objectType)
Method Detail

getDefaultType

public static com.hp.hpl.jena.rdf.model.Resource getDefaultType(com.hp.hpl.jena.rdf.model.Resource subject,
                                                                com.hp.hpl.jena.rdf.model.Property predicate)
Gets the default type that is typically used as objectType for new EmptyObjectStatements. This will consider existing range declarations.

Parameters:
subject -
predicate -
Returns:

getSubject

public com.hp.hpl.jena.rdf.model.Resource getSubject()
Specified by:
getSubject in interface com.hp.hpl.jena.rdf.model.Statement

getPredicate

public com.hp.hpl.jena.rdf.model.Property getPredicate()
Specified by:
getPredicate in interface com.hp.hpl.jena.rdf.model.Statement

getObject

public com.hp.hpl.jena.rdf.model.RDFNode getObject()
Specified by:
getObject in interface com.hp.hpl.jena.rdf.model.Statement

getObjectType

public com.hp.hpl.jena.rdf.model.Resource getObjectType()

getProperty

public com.hp.hpl.jena.rdf.model.Statement getProperty(com.hp.hpl.jena.rdf.model.Property p)
Specified by:
getProperty in interface com.hp.hpl.jena.rdf.model.Statement

getStatementProperty

public com.hp.hpl.jena.rdf.model.Statement getStatementProperty(com.hp.hpl.jena.rdf.model.Property p)
Specified by:
getStatementProperty in interface com.hp.hpl.jena.rdf.model.Statement

getResource

public com.hp.hpl.jena.rdf.model.Resource getResource()
Specified by:
getResource in interface com.hp.hpl.jena.rdf.model.Statement

getLiteral

public com.hp.hpl.jena.rdf.model.Literal getLiteral()
Specified by:
getLiteral in interface com.hp.hpl.jena.rdf.model.Statement

getBoolean

public boolean getBoolean()
Specified by:
getBoolean in interface com.hp.hpl.jena.rdf.model.Statement

getByte

public byte getByte()
Specified by:
getByte in interface com.hp.hpl.jena.rdf.model.Statement

getShort

public short getShort()
Specified by:
getShort in interface com.hp.hpl.jena.rdf.model.Statement

getInt

public int getInt()
Specified by:
getInt in interface com.hp.hpl.jena.rdf.model.Statement

getLong

public long getLong()
Specified by:
getLong in interface com.hp.hpl.jena.rdf.model.Statement

getChar

public char getChar()
Specified by:
getChar in interface com.hp.hpl.jena.rdf.model.Statement

getFloat

public float getFloat()
Specified by:
getFloat in interface com.hp.hpl.jena.rdf.model.Statement

getDouble

public double getDouble()
Specified by:
getDouble in interface com.hp.hpl.jena.rdf.model.Statement

getString

public java.lang.String getString()
Specified by:
getString in interface com.hp.hpl.jena.rdf.model.Statement

getResource

public com.hp.hpl.jena.rdf.model.Resource getResource(com.hp.hpl.jena.rdf.model.ResourceF f)
Specified by:
getResource in interface com.hp.hpl.jena.rdf.model.Statement

getObject

public java.lang.Object getObject(com.hp.hpl.jena.rdf.model.ObjectF f)
Specified by:
getObject in interface com.hp.hpl.jena.rdf.model.Statement

getBag

public com.hp.hpl.jena.rdf.model.Bag getBag()
Specified by:
getBag in interface com.hp.hpl.jena.rdf.model.Statement

getAlt

public com.hp.hpl.jena.rdf.model.Alt getAlt()
Specified by:
getAlt in interface com.hp.hpl.jena.rdf.model.Statement

getSeq

public com.hp.hpl.jena.rdf.model.Seq getSeq()
Specified by:
getSeq in interface com.hp.hpl.jena.rdf.model.Statement

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface com.hp.hpl.jena.rdf.model.Statement

getWellFormed

public boolean getWellFormed()
Specified by:
getWellFormed in interface com.hp.hpl.jena.rdf.model.Statement

hasWellFormedXML

public boolean hasWellFormedXML()
Specified by:
hasWellFormedXML in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(boolean o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(long o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(char o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(float o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(double o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o,
                                                        boolean wellFormed)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o,
                                                        java.lang.String l)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.String o,
                                                        java.lang.String l,
                                                        boolean wellFormed)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(com.hp.hpl.jena.rdf.model.RDFNode o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

changeObject

public com.hp.hpl.jena.rdf.model.Statement changeObject(java.lang.Object o)
Specified by:
changeObject in interface com.hp.hpl.jena.rdf.model.Statement

remove

public com.hp.hpl.jena.rdf.model.Statement remove()
Specified by:
remove in interface com.hp.hpl.jena.rdf.model.Statement

isReified

public boolean isReified()
Specified by:
isReified in interface com.hp.hpl.jena.rdf.model.Statement

createReifiedStatement

public com.hp.hpl.jena.rdf.model.ReifiedStatement createReifiedStatement()
Specified by:
createReifiedStatement in interface com.hp.hpl.jena.rdf.model.Statement

createReifiedStatement

public com.hp.hpl.jena.rdf.model.ReifiedStatement createReifiedStatement(java.lang.String uri)
Specified by:
createReifiedStatement in interface com.hp.hpl.jena.rdf.model.Statement

listReifiedStatements

public com.hp.hpl.jena.rdf.model.RSIterator listReifiedStatements()
Specified by:
listReifiedStatements in interface com.hp.hpl.jena.rdf.model.Statement

getModel

public com.hp.hpl.jena.rdf.model.Model getModel()
Specified by:
getModel in interface com.hp.hpl.jena.rdf.model.Statement

removeReification

public void removeReification()
Specified by:
removeReification in interface com.hp.hpl.jena.rdf.model.Statement

asTriple

public com.hp.hpl.jena.graph.Triple asTriple()
Specified by:
asTriple in interface com.hp.hpl.jena.graph.FrontsTriple