public class Statement extends Resource
Modifier and Type | Field and Description |
---|---|
static URI[] |
MANAGED_URIS
all property-URIs with this class as domain
|
static URI |
OBJECT
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
|
static URI |
PREDICATE
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
|
static URI |
RDFS_CLASS
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
|
static URI |
SUBJECT
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
|
COMMENT, ISDEFINEDBY, LABEL, MEMBER, SEEALSO, TYPE, VALUE
classURI, model
Modifier | Constructor and Description |
---|---|
|
Statement(Model model,
BlankNode bnode,
boolean write)
Returns a Java wrapper over an RDF object, identified by a blank node.
|
|
Statement(Model model,
boolean write)
Returns a Java wrapper over an RDF object, identified by
a randomly generated URI.
|
|
Statement(Model model,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
|
Statement(Model model,
String uriString,
boolean write)
Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
|
protected |
Statement(Model model,
URI classURI,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
Modifier and Type | Method and Description |
---|---|
void |
addObject()
Removes all values of property Object *
[Generated from RDFReactor template rule #removeall1dynamic]
|
static void |
addObject(Model model,
Resource instanceResource,
Node value)
Adds a value to property Object as an RDF2Go node
|
static void |
addObject(Model model,
Resource instanceResource,
Resource value)
Adds a value to property Object from an instance of Resource
|
void |
addObject(Node value)
Adds a value to property Object as an RDF2Go node
|
void |
addObject(Resource value)
Adds a value to property Object from an instance of Resource
[Generated from RDFReactor template rule #add4dynamic]
|
void |
addPredicate()
Removes all values of property Predicate *
[Generated from RDFReactor template rule #removeall1dynamic]
|
static void |
addPredicate(Model model,
Resource instanceResource,
Node value)
Adds a value to property Predicate as an RDF2Go node
|
static void |
addPredicate(Model model,
Resource instanceResource,
Resource value)
Adds a value to property Predicate from an instance of Resource
|
void |
addPredicate(Node value)
Adds a value to property Predicate as an RDF2Go node
|
void |
addPredicate(Resource value)
Adds a value to property Predicate from an instance of Resource
[Generated from RDFReactor template rule #add4dynamic]
|
void |
addSubject()
Removes all values of property Subject *
[Generated from RDFReactor template rule #removeall1dynamic]
|
static void |
addSubject(Model model,
Resource instanceResource,
Node value)
Adds a value to property Subject as an RDF2Go node
|
static void |
addSubject(Model model,
Resource instanceResource,
Resource value)
Adds a value to property Subject from an instance of Resource
|
void |
addSubject(Node value)
Adds a value to property Subject as an RDF2Go node
|
void |
addSubject(Resource value)
Adds a value to property Subject from an instance of Resource
[Generated from RDFReactor template rule #add4dynamic]
|
static void |
createInstance(Model model,
Resource instanceResource)
Create a new instance of this class in the model.
|
static void |
deleteInstance(Model model,
Resource instanceResource)
Delete all rdf:type from this instance.
|
static ReactorResult<? extends Statement> |
getAllInstance_as(Model model) |
static ClosableIterator<Resource> |
getAllInstances(Model model) |
ReactorResult<Resource> |
getAllObject_as()
Get all values of property Object as a ReactorResult of Resource
|
static ReactorResult<Resource> |
getAllObject_as(Model model,
Resource instanceResource)
Get all values of property Object as a ReactorResult of Resource
|
ReactorResult<Node> |
getAllObject_asNode_()
Get all values of property Object as a ReactorResult of RDF2Go nodes
|
static ReactorResult<Node> |
getAllObject_asNode_(Model model,
Resource instanceResource)
Get all values of property Object as a ReactorResult of RDF2Go nodes
|
ClosableIterator<Node> |
getAllObject_asNode()
Get all values of property Object as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllObject_asNode(Model model,
Resource instanceResource)
Get all values of property Object as an Iterator over RDF2Go nodes
|
ClosableIterator<Resource> |
getAllObject()
Get all values of property Object * @return a ClosableIterator of $type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<Resource> |
getAllObject(Model model,
Resource instanceResource)
Get all values of property Object * @param model an RDF2Go model
|
ReactorResult<Resource> |
getAllPredicate_as()
Get all values of property Predicate as a ReactorResult of Resource
|
static ReactorResult<Resource> |
getAllPredicate_as(Model model,
Resource instanceResource)
Get all values of property Predicate as a ReactorResult of Resource
|
ReactorResult<Node> |
getAllPredicate_asNode_()
Get all values of property Predicate as a ReactorResult of RDF2Go nodes
|
static ReactorResult<Node> |
getAllPredicate_asNode_(Model model,
Resource instanceResource)
Get all values of property Predicate as a ReactorResult of RDF2Go nodes
|
ClosableIterator<Node> |
getAllPredicate_asNode()
Get all values of property Predicate as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllPredicate_asNode(Model model,
Resource instanceResource)
Get all values of property Predicate as an Iterator over RDF2Go nodes
|
ClosableIterator<Resource> |
getAllPredicate()
Get all values of property Predicate * @return a ClosableIterator of $type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<Resource> |
getAllPredicate(Model model,
Resource instanceResource)
Get all values of property Predicate * @param model an RDF2Go model
|
ReactorResult<Resource> |
getAllSubject_as()
Get all values of property Subject as a ReactorResult of Resource
|
static ReactorResult<Resource> |
getAllSubject_as(Model model,
Resource instanceResource)
Get all values of property Subject as a ReactorResult of Resource
|
ReactorResult<Node> |
getAllSubject_asNode_()
Get all values of property Subject as a ReactorResult of RDF2Go nodes
|
static ReactorResult<Node> |
getAllSubject_asNode_(Model model,
Resource instanceResource)
Get all values of property Subject as a ReactorResult of RDF2Go nodes
|
ClosableIterator<Node> |
getAllSubject_asNode()
Get all values of property Subject as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllSubject_asNode(Model model,
Resource instanceResource)
Get all values of property Subject as an Iterator over RDF2Go nodes
|
ClosableIterator<Resource> |
getAllSubject()
Get all values of property Subject * @return a ClosableIterator of $type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<Resource> |
getAllSubject(Model model,
Resource instanceResource)
Get all values of property Subject * @param model an RDF2Go model
|
static boolean |
hasInstance(Model model,
Resource instanceResource) |
static void |
removeAllObject(Model model,
Resource instanceResource)
Removes all values of property Object * @param model an RDF2Go model
|
static void |
removeAllPredicate(Model model,
Resource instanceResource)
Removes all values of property Predicate * @param model an RDF2Go model
|
static void |
removeAllSubject(Model model,
Resource instanceResource)
Removes all values of property Subject * @param model an RDF2Go model
|
static void |
removeObject(Model model,
Resource instanceResource,
Node value)
Removes a value of property Object as an RDF2Go node
|
static void |
removeObject(Model model,
Resource instanceResource,
Resource value)
Removes a value of property Object given as an instance of Resource
|
void |
removeObject(Node value)
Removes a value of property Object as an RDF2Go node
|
void |
removeObject(Resource value)
Removes a value of property Object given as an instance of Resource
|
static void |
removePredicate(Model model,
Resource instanceResource,
Node value)
Removes a value of property Predicate as an RDF2Go node
|
static void |
removePredicate(Model model,
Resource instanceResource,
Resource value)
Removes a value of property Predicate given as an instance of Resource
|
void |
removePredicate(Node value)
Removes a value of property Predicate as an RDF2Go node
|
void |
removePredicate(Resource value)
Removes a value of property Predicate given as an instance of Resource
|
static void |
removeSubject(Model model,
Resource instanceResource,
Node value)
Removes a value of property Subject as an RDF2Go node
|
static void |
removeSubject(Model model,
Resource instanceResource,
Resource value)
Removes a value of property Subject given as an instance of Resource
|
void |
removeSubject(Node value)
Removes a value of property Subject as an RDF2Go node
|
void |
removeSubject(Resource value)
Removes a value of property Subject given as an instance of Resource
|
static void |
setObject(Model model,
Resource instanceResource,
Node value)
Sets a value of property Object from an RDF2Go node.
|
static void |
setObject(Model model,
Resource instanceResource,
Resource value)
Sets a value of property Object from an instance of Resource
First, all existing values are removed, then this value is added.
|
void |
setObject(Node value)
Sets a value of property Object from an RDF2Go node.
|
void |
setObject(Resource value)
Sets a value of property Object from an instance of Resource
First, all existing values are removed, then this value is added.
|
static void |
setPredicate(Model model,
Resource instanceResource,
Node value)
Sets a value of property Predicate from an RDF2Go node.
|
static void |
setPredicate(Model model,
Resource instanceResource,
Resource value)
Sets a value of property Predicate from an instance of Resource
First, all existing values are removed, then this value is added.
|
void |
setPredicate(Node value)
Sets a value of property Predicate from an RDF2Go node.
|
void |
setPredicate(Resource value)
Sets a value of property Predicate from an instance of Resource
First, all existing values are removed, then this value is added.
|
static void |
setSubject(Model model,
Resource instanceResource,
Node value)
Sets a value of property Subject from an RDF2Go node.
|
static void |
setSubject(Model model,
Resource instanceResource,
Resource value)
Sets a value of property Subject from an instance of Resource
First, all existing values are removed, then this value is added.
|
void |
setSubject(Node value)
Sets a value of property Subject from an RDF2Go node.
|
void |
setSubject(Resource value)
Sets a value of property Subject from an instance of Resource
First, all existing values are removed, then this value is added.
|
addComment, addComment, addComment, addComment, addComment, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addLabel, addLabel, addLabel, addLabel, addLabel, addMember, addMember, addMember, addMember, addMember, addSeeAlso, addSeeAlso, addSeeAlso, addSeeAlso, addSeeAlso, addType, addType, addType, addType, addType, addValue, addValue, addValue, addValue, addValue, getAllComment_as, getAllComment_as, getAllComment_asNode_, getAllComment_asNode_, getAllComment_asNode, getAllComment_asNode, getAllComment, getAllComment, getAllFirst_Inverse, getAllIsDefinedBy_as, getAllIsDefinedBy_as, getAllIsDefinedBy_asNode_, getAllIsDefinedBy_asNode_, getAllIsDefinedBy_asNode, getAllIsDefinedBy_asNode, getAllIsDefinedBy_Inverse, getAllIsDefinedBy, getAllIsDefinedBy, getAllLabel_as, getAllLabel_as, getAllLabel_asNode_, getAllLabel_asNode_, getAllLabel_asNode, getAllLabel_asNode, getAllLabel, getAllLabel, getAllMember_as, getAllMember_as, getAllMember_asNode_, getAllMember_asNode_, getAllMember_asNode, getAllMember_asNode, getAllMember_Inverse, getAllMember, getAllMember, getAllObject_Inverse, getAllPredicate_Inverse, getAllSeeAlso_as, getAllSeeAlso_as, getAllSeeAlso_asNode_, getAllSeeAlso_asNode_, getAllSeeAlso_asNode, getAllSeeAlso_asNode, getAllSeeAlso_Inverse, getAllSeeAlso, getAllSeeAlso, getAllSubject_Inverse, getAllType_as, getAllType_as, getAllType_asNode_, getAllType_asNode_, getAllType_asNode, getAllType_asNode, getAllType, getAllType, getAllValue_as, getAllValue_as, getAllValue_asNode_, getAllValue_asNode_, getAllValue_asNode, getAllValue_asNode, getAllValue_Inverse, getAllValue, getAllValue, removeAllComment, removeAllIsDefinedBy, removeAllLabel, removeAllMember, removeAllSeeAlso, removeAllType, removeAllValue, removeComment, removeComment, removeComment, removeComment, removeIsDefinedBy, removeIsDefinedBy, removeIsDefinedBy, removeIsDefinedBy, removeLabel, removeLabel, removeLabel, removeLabel, removeMember, removeMember, removeMember, removeMember, removeSeeAlso, removeSeeAlso, removeSeeAlso, removeSeeAlso, removeType, removeType, removeType, removeType, removeValue, removeValue, removeValue, removeValue, setComment, setComment, setComment, setComment, setIsDefinedBy, setIsDefinedBy, setIsDefinedBy, setIsDefinedBy, setLabel, setLabel, setLabel, setLabel, setMember, setMember, setMember, setMember, setSeeAlso, setSeeAlso, setSeeAlso, setSeeAlso, setType, setType, setType, setType, setValue, setValue, setValue, setValue
asBlankNode, asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource, asURI, castTo, compareTo, equals, getModel, getRDFSClassURI, getResource, hashCode, isInstanceof, toSPARQL, toString
public static final URI RDFS_CLASS
public static final URI OBJECT
public static final URI PREDICATE
public static final URI SUBJECT
public static final URI[] MANAGED_URIS
protected Statement(Model model, URI classURI, Resource instanceIdentifier, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.semweb4j.orgclassURI
- URI of RDFS classinstanceIdentifier
- Resource that identifies this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to the model
[Generated from RDFReactor template rule #c1]public Statement(Model model, Resource instanceIdentifier, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orginstanceIdentifier
- an RDF2Go Resource identifying this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to the model
[Generated from RDFReactor template rule #c2]public Statement(Model model, String uriString, boolean write) throws ModelRuntimeException
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orguriString
- a URI given as a Stringwrite
- if true, the statement (this, rdf:type, TYPE) is written to the modelModelRuntimeException
- if URI syntax is wrong
[Generated from RDFReactor template rule #c7]public Statement(Model model, BlankNode bnode, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orgbnode
- BlankNode of this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to the model
[Generated from RDFReactor template rule #c8]public Statement(Model model, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orgwrite
- if true, the statement (this, rdf:type, TYPE) is written to the model
[Generated from RDFReactor template rule #c9]public static void createInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #class1]public static boolean hasInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static ClosableIterator<Resource> getAllInstances(Model model)
model
- an RDF2Go modelpublic static ReactorResult<? extends Statement> getAllInstance_as(Model model)
model
- an RDF2Go modelpublic static void deleteInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #class4]public static ClosableIterator<Node> getAllObject_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static ReactorResult<Node> getAllObject_asNode_(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllObject_asNode()
public ReactorResult<Node> getAllObject_asNode_()
public static ClosableIterator<Resource> getAllObject(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resourcepublic static ReactorResult<Resource> getAllObject_as(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Resource> getAllObject()
public ReactorResult<Resource> getAllObject_as()
public static void addObject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addObject(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addObject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addObject(Resource value)
public static void setObject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setObject(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setObject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setObject(Resource value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removeObject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeObject(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeObject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removeObject(Resource value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllObject(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addObject()
public static ClosableIterator<Node> getAllPredicate_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static ReactorResult<Node> getAllPredicate_asNode_(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllPredicate_asNode()
public ReactorResult<Node> getAllPredicate_asNode_()
public static ClosableIterator<Resource> getAllPredicate(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resourcepublic static ReactorResult<Resource> getAllPredicate_as(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Resource> getAllPredicate()
public ReactorResult<Resource> getAllPredicate_as()
public static void addPredicate(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addPredicate(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addPredicate(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addPredicate(Resource value)
public static void setPredicate(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setPredicate(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setPredicate(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setPredicate(Resource value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removePredicate(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removePredicate(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removePredicate(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removePredicate(Resource value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllPredicate(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addPredicate()
public static ClosableIterator<Node> getAllSubject_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static ReactorResult<Node> getAllSubject_asNode_(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllSubject_asNode()
public ReactorResult<Node> getAllSubject_asNode_()
public static ClosableIterator<Resource> getAllSubject(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resourcepublic static ReactorResult<Resource> getAllSubject_as(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Resource> getAllSubject()
public ReactorResult<Resource> getAllSubject_as()
public static void addSubject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addSubject(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addSubject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addSubject(Resource value)
public static void setSubject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setSubject(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setSubject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setSubject(Resource value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removeSubject(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeSubject(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeSubject(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removeSubject(Resource value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllSubject(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addSubject()
Copyright © 2005–2017 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.