| Constructor and Description |
|---|
ShallowCopy()
Empty constructos that defaults to BioPAX L3.
|
ShallowCopy(BioPAXLevel level)
BioPAXLevel based constructor
|
ShallowCopy(EditorMap map)
Deprecated.
use Level based constructor instead.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends BioPAXElement> |
copy(Model model,
T source,
String newID)
Creates a copy of the BioPAX object with all its properties
are the same, and also adds it to a model.
|
<T extends BioPAXElement> |
copy(T source,
String newID)
Returns a copy of the BioPAX element
(with all the property values are same)
|
void |
visit(BioPAXElement domain,
Object range,
Model model,
PropertyEditor editor)
An implementation of this method should perform a BioPAX element
and editor dependent operation on the model.
|
public ShallowCopy(EditorMap map)
map - that determines the BioPAX Levelpublic ShallowCopy(BioPAXLevel level)
level - used for the cloning operation.public ShallowCopy()
public <T extends BioPAXElement> T copy(Model model, T source, String newID)
T - BioPAX type/class of the source and copy elementsmodel - target biopax modelsource - a biopax object to copynewID - new (copy) biopax object's URIpublic <T extends BioPAXElement> T copy(T source, String newID)
T - biopax typesource - biopax element to copynewID - copy biopax element's absolute URIpublic void visit(BioPAXElement domain, Object range, Model model, PropertyEditor editor)
Copyright © 2015 BioPAX. All rights reserved.