org.topbraid.core.model
Class EmptyObjectStatement
java.lang.Object
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 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)
|
| 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 |
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)
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