|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biopax.paxtools.controller.ShallowCopy
public class ShallowCopy
Specifically "Clones" the BioPAX elements set
(traverses to obtain dependent elements),
puts them to the new model using the visitor and traverser framework;
ignores elements that are not in the source list (compare to Fetcher)
Visitor,
Traverser| Constructor Summary | |
|---|---|
ShallowCopy()
|
|
ShallowCopy(BioPAXLevel l)
|
|
ShallowCopy(EditorMap map)
|
|
| Method Summary | ||
|---|---|---|
|
copy(Model model,
T source,
java.lang.String newID)
Creates a copy of the BioPAX object with all its properties are the same, and also adds it to a model. |
|
|
copy(T source,
java.lang.String newID)
Returns a copy of the BioPAX element (with all the property values are same) |
|
void |
visit(BioPAXElement domain,
java.lang.Object range,
Model model,
PropertyEditor editor)
An implementation of this method should perform a BioPAX element and editor dependent operation on the model. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShallowCopy(EditorMap map)
public ShallowCopy(BioPAXLevel l)
public ShallowCopy()
| Method Detail |
|---|
public <T extends BioPAXElement> T copy(Model model,
T source,
java.lang.String newID)
model - source - newID -
public <T extends BioPAXElement> T copy(T source,
java.lang.String newID)
T - source - newID -
public void visit(BioPAXElement domain,
java.lang.Object range,
Model model,
PropertyEditor editor)
Visitor
visit in interface Visitordomain - BioPAXElement which is the domain of this propertyrange - Object which is the range of this propertymodel - model on which the visiting operation will be doneeditor - editor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||