public class List extends Resource
Modifier and Type | Field and Description |
---|---|
static URI |
FIRST
http://www.w3.org/1999/02/22-rdf-syntax-ns#first
|
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#List
|
static URI |
REST
http://www.w3.org/1999/02/22-rdf-syntax-ns#rest
|
COMMENT, ISDEFINEDBY, LABEL, MEMBER, SEEALSO, TYPE, VALUE
classURI, model
Modifier | Constructor and Description |
---|---|
|
List(Model model,
BlankNode bnode,
boolean write)
Returns a Java wrapper over an RDF object, identified by a blank node.
|
|
List(Model model,
boolean write)
Returns a Java wrapper over an RDF object, identified by
a randomly generated URI.
|
|
List(Model model,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
|
List(Model model,
String uriString,
boolean write)
Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
|
protected |
List(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 |
addFirst()
Removes all values of property First *
[Generated from RDFReactor template rule #removeall1dynamic]
|
static void |
addFirst(Model model,
Resource instanceResource,
Node value)
Adds a value to property First as an RDF2Go node
|
static void |
addFirst(Model model,
Resource instanceResource,
Resource value)
Adds a value to property First from an instance of Resource
|
void |
addFirst(Node value)
Adds a value to property First as an RDF2Go node
|
void |
addFirst(Resource value)
Adds a value to property First from an instance of Resource
[Generated from RDFReactor template rule #add4dynamic]
|
void |
addRest()
Removes all values of property Rest *
[Generated from RDFReactor template rule #removeall1dynamic]
|
void |
addRest(List value)
Adds a value to property Rest from an instance of List
[Generated from RDFReactor template rule #add4dynamic]
|
static void |
addRest(Model model,
Resource instanceResource,
List value)
Adds a value to property Rest from an instance of List
|
static void |
addRest(Model model,
Resource instanceResource,
Node value)
Adds a value to property Rest as an RDF2Go node
|
void |
addRest(Node value)
Adds a value to property Rest as an RDF2Go node
|
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.
|
ReactorResult<Resource> |
getAllFirst_as()
Get all values of property First as a ReactorResult of Resource
|
static ReactorResult<Resource> |
getAllFirst_as(Model model,
Resource instanceResource)
Get all values of property First as a ReactorResult of Resource
|
ReactorResult<Node> |
getAllFirst_asNode_()
Get all values of property First as a ReactorResult of RDF2Go nodes
|
static ReactorResult<Node> |
getAllFirst_asNode_(Model model,
Resource instanceResource)
Get all values of property First as a ReactorResult of RDF2Go nodes
|
ClosableIterator<Node> |
getAllFirst_asNode()
Get all values of property First as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllFirst_asNode(Model model,
Resource instanceResource)
Get all values of property First as an Iterator over RDF2Go nodes
|
ClosableIterator<Resource> |
getAllFirst()
Get all values of property First * @return a ClosableIterator of $type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<Resource> |
getAllFirst(Model model,
Resource instanceResource)
Get all values of property First * @param model an RDF2Go model
|
static ReactorResult<? extends List> |
getAllInstance_as(Model model) |
static ClosableIterator<Resource> |
getAllInstances(Model model) |
ReactorResult<List> |
getAllRest_as()
Get all values of property Rest as a ReactorResult of List
|
static ReactorResult<List> |
getAllRest_as(Model model,
Resource instanceResource)
Get all values of property Rest as a ReactorResult of List
|
ReactorResult<Node> |
getAllRest_asNode_()
Get all values of property Rest as a ReactorResult of RDF2Go nodes
|
static ReactorResult<Node> |
getAllRest_asNode_(Model model,
Resource instanceResource)
Get all values of property Rest as a ReactorResult of RDF2Go nodes
|
ClosableIterator<Node> |
getAllRest_asNode()
Get all values of property Rest as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllRest_asNode(Model model,
Resource instanceResource)
Get all values of property Rest as an Iterator over RDF2Go nodes
|
static ClosableIterator<Resource> |
getAllRest_Inverse(Model model,
Object objectValue) |
ClosableIterator<List> |
getAllRest()
Get all values of property Rest * @return a ClosableIterator of $type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<List> |
getAllRest(Model model,
Resource instanceResource)
Get all values of property Rest * @param model an RDF2Go model
|
static boolean |
hasInstance(Model model,
Resource instanceResource) |
static void |
removeAllFirst(Model model,
Resource instanceResource)
Removes all values of property First * @param model an RDF2Go model
|
static void |
removeAllRest(Model model,
Resource instanceResource)
Removes all values of property Rest * @param model an RDF2Go model
|
static void |
removeFirst(Model model,
Resource instanceResource,
Node value)
Removes a value of property First as an RDF2Go node
|
static void |
removeFirst(Model model,
Resource instanceResource,
Resource value)
Removes a value of property First given as an instance of Resource
|
void |
removeFirst(Node value)
Removes a value of property First as an RDF2Go node
|
void |
removeFirst(Resource value)
Removes a value of property First given as an instance of Resource
|
void |
removeRest(List value)
Removes a value of property Rest given as an instance of List
|
static void |
removeRest(Model model,
Resource instanceResource,
List value)
Removes a value of property Rest given as an instance of List
|
static void |
removeRest(Model model,
Resource instanceResource,
Node value)
Removes a value of property Rest as an RDF2Go node
|
void |
removeRest(Node value)
Removes a value of property Rest as an RDF2Go node
|
static void |
setFirst(Model model,
Resource instanceResource,
Node value)
Sets a value of property First from an RDF2Go node.
|
static void |
setFirst(Model model,
Resource instanceResource,
Resource value)
Sets a value of property First from an instance of Resource
First, all existing values are removed, then this value is added.
|
void |
setFirst(Node value)
Sets a value of property First from an RDF2Go node.
|
void |
setFirst(Resource value)
Sets a value of property First from an instance of Resource
First, all existing values are removed, then this value is added.
|
void |
setRest(List value)
Sets a value of property Rest from an instance of List
First, all existing values are removed, then this value is added.
|
static void |
setRest(Model model,
Resource instanceResource,
List value)
Sets a value of property Rest from an instance of List
First, all existing values are removed, then this value is added.
|
static void |
setRest(Model model,
Resource instanceResource,
Node value)
Sets a value of property Rest from an RDF2Go node.
|
void |
setRest(Node value)
Sets a value of property Rest from an RDF2Go node.
|
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 FIRST
public static final URI REST
public static final URI[] MANAGED_URIS
protected List(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 List(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 List(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 List(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 List(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 List> 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<Resource> getAllRest_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Node> getAllFirst_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic static ReactorResult<Node> getAllFirst_asNode_(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllFirst_asNode()
public ReactorResult<Node> getAllFirst_asNode_()
public static ClosableIterator<Resource> getAllFirst(Model model, Resource instanceResource)
resource
- an RDF2Go resourcepublic static ReactorResult<Resource> getAllFirst_as(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic ClosableIterator<Resource> getAllFirst()
public ReactorResult<Resource> getAllFirst_as()
public static void addFirst(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addFirst(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addFirst(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelresource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addFirst(Resource value)
public static void setFirst(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setFirst(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setFirst(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setFirst(Resource value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removeFirst(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeFirst(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeFirst(Model model, Resource instanceResource, Resource value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removeFirst(Resource value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllFirst(Model model, Resource instanceResource)
resource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addFirst()
public static ClosableIterator<Node> getAllRest_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic static ReactorResult<Node> getAllRest_asNode_(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllRest_asNode()
public ReactorResult<Node> getAllRest_asNode_()
public static ClosableIterator<List> getAllRest(Model model, Resource instanceResource)
resource
- an RDF2Go resourcepublic static ReactorResult<List> getAllRest_as(Model model, Resource instanceResource)
model
- an RDF2Go modelresource
- an RDF2Go resourcepublic ClosableIterator<List> getAllRest()
public ReactorResult<List> getAllRest_as()
public static void addRest(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addRest(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addRest(Model model, Resource instanceResource, List value)
model
- an RDF2Go modelresource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addRest(List value)
public static void setRest(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setRest(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setRest(Model model, Resource instanceResource, List value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setRest(List value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removeRest(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeRest(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeRest(Model model, Resource instanceResource, List value)
model
- an RDF2Go modelresource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removeRest(List value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllRest(Model model, Resource instanceResource)
resource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addRest()
Copyright © 2005–2017 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.