public class RichResourcesList extends ArrayList<com.hp.hpl.jena.rdf.model.Resource>
A rich resource is an RDF resource with an attached model. A RichResourcesList
contains an ordered list of resources, with a shared model containing their combined
description.
modCount| Constructor and Description |
|---|
RichResourcesList() |
RichResourcesList(com.hp.hpl.jena.rdf.model.Model m) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(com.hp.hpl.jena.rdf.model.Resource r)
Add a resource to the list.
|
boolean |
add(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Model rDescription)
Add a resource to the list, and add the given description model to the combined
description.
|
void |
addDescription(com.hp.hpl.jena.rdf.model.Model m)
Add a description model to the combined model for this list.
|
com.hp.hpl.jena.rdf.model.Model |
description()
Return the combined description model for this list.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic RichResourcesList()
public RichResourcesList(com.hp.hpl.jena.rdf.model.Model m)
public boolean add(com.hp.hpl.jena.rdf.model.Resource r)
public boolean add(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Model rDescription)
r - A resource to addrDescription - A description model to addpublic void addDescription(com.hp.hpl.jena.rdf.model.Model m)
m - public com.hp.hpl.jena.rdf.model.Model description()
Copyright © 2015. All rights reserved.