public class AGStatement extends StatementImpl
Constructor and Description |
---|
AGStatement(Resource subject,
Property predicate,
RDFNode object) |
AGStatement(Resource subject,
Property predicate,
RDFNode object,
AGModel model) |
Modifier and Type | Method and Description |
---|---|
ReifiedStatement |
createReifiedStatement()
create a ReifiedStatement corresponding to this Statement
|
AGModel |
getModel() |
static Statement |
toStatement(Triple t,
AGModel eg)
create a Statement from the triple
t in the enhanced graph eg . |
asResource, asTriple, asTriples, createObject, createReifiedStatement, equals, getAlt, getBag, getLiteral, getObject, getPredicate, getProperty, getResource, getResource, getSeq, getStatementProperty, getSubject, hashCode, isReified, listReifiedStatements, remove, removeReification, toStatement
changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeObject, changeObject, changeObject, changeObject, changeObject, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLanguage, getLong, getShort, getString, getWellFormed, hasWellFormedXML, toString
changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeLiteralObject, changeObject, changeObject, changeObject, changeObject, changeObject, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLanguage, getLong, getShort, getString, hasWellFormedXML
public static Statement toStatement(Triple t, AGModel eg)
t
in the enhanced graph eg
.
The Statement has subject, predicate, and object corresponding to those of
t
.t
- the triple to build into a Statementeg
- the Graph in which the Statement will be createdpublic AGModel getModel()
getModel
in interface Statement
getModel
in class StatementBase
public ReifiedStatement createReifiedStatement()
createReifiedStatement
in interface Statement
createReifiedStatement
in class StatementImpl
Copyright © 2024 Franz Inc.. All rights reserved.