org.d2rq.r2rml
Class ComponentCollection<T extends MappingComponent>
java.lang.Object
org.d2rq.r2rml.ComponentCollection<T>
- Type Parameters:
T
- The type of mapping component
public class ComponentCollection<T extends MappingComponent>
- extends Object
A collection of MappingComponent
s. Mapping components
are stored with a Resource
that serves as an identifier.
- Author:
- RichardCyganiak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentCollection
public ComponentCollection()
put
public void put(Resource resource,
T component)
has
public boolean has(Resource resource)
get
public T get(Resource resource)
getAll
public Collection<T> getAll(Set<Resource> resources)
remove
public T remove(Resource resource)
resources
public Set<Resource> resources()
components
public Collection<T> components()
resourceFor
public Resource resourceFor(T component)
isEmpty
public boolean isEmpty()
size
public int size()