public class Bag extends Container
Modifier and Type | Field and Description |
---|---|
static URI[] |
MANAGED_URIS
all property-URIs with this class as domain
|
static URI |
RDFS_CLASS
http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag
|
COMMENT, ISDEFINEDBY, LABEL, MEMBER, SEEALSO, TYPE, VALUE
classURI, model
Modifier | Constructor and Description |
---|---|
|
Bag(Model model,
BlankNode bnode,
boolean write)
Returns a Java wrapper over an RDF object, identified by a blank node.
|
|
Bag(Model model,
boolean write)
Returns a Java wrapper over an RDF object, identified by
a randomly generated URI.
|
|
Bag(Model model,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
|
Bag(Model model,
String uriString,
boolean write)
Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
|
protected |
Bag(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 |
---|---|
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 Bag> |
getAllInstance_as(Model model) |
static ClosableIterator<Resource> |
getAllInstances(Model model) |
static boolean |
hasInstance(Model model,
Resource instanceResource) |
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[] MANAGED_URIS
protected Bag(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 Bag(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 Bag(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 Bag(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 Bag(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 Bag> getAllInstance_as(Model model)
model
- an RDF2Go modelCopyright © 2005–2019 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.