public class GraphL3 extends AbstractGraph
Modifier and Type | Field and Description |
---|---|
protected List<Filter> |
filters |
protected org.apache.commons.logging.Log |
log
Log for logging.
|
protected Model |
model
The model to be wrapped.
|
objectMap
Constructor and Description |
---|
GraphL3(Model model,
Filter... filters)
Constructor with the model and the IDs of the ubiquitous molecules.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey(Object wrapped)
RDF IDs of elements is used as key in the object map.
|
Model |
getModel() |
Set<Object> |
getWrappedSet(Set<? extends GraphObject> wrappers)
Gets the wrapped objects of the given wrappers.
|
Map<Object,Node> |
getWrapperMap(Set<?> objects)
Gets an element-to-wrapper map for the given elements.
|
Set<Node> |
getWrapperSet(Set<?> objects)
Gets wrappers of given elements
|
Node |
wrap(Object obj)
This method creates a wrapper for every wrappable L3 element.
|
clear, getGraphObject, getGraphObject, getObjectMap
protected final org.apache.commons.logging.Log log
public Node wrap(Object obj)
wrap
in class AbstractGraph
obj
- Object to wrappublic String getKey(Object wrapped)
getKey
in class AbstractGraph
wrapped
- Object to wrappublic Set<Node> getWrapperSet(Set<?> objects)
objects
- Wrapped objectspublic Map<Object,Node> getWrapperMap(Set<?> objects)
objects
- Wrapped objectspublic Set<Object> getWrappedSet(Set<? extends GraphObject> wrappers)
wrappers
- WrappersCopyright © 2015 BioPAX. All rights reserved.