org.biopax.paxtools.query.wrapperL3undirected.EdgeL3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paxtools-query Show documentation
Show all versions of paxtools-query Show documentation
BioPAX graph-theoretic querying - for finding paths between molecules,
or identifying molecules that are reachable through specific paths, using the BioPAX pathway data model.
package org.biopax.paxtools.query.wrapperL3undirected;
import org.biopax.paxtools.query.model.AbstractEdge;
import org.biopax.paxtools.query.model.Graph;
import org.biopax.paxtools.query.model.Node;
/**
* Wrapper for links between L3 objects.
*
* @author Ozgun Babur
*/
public class EdgeL3 extends AbstractEdge
{
/**
* Flag for being related to a transcription.
*/
boolean transcription;
/**
* Constructor with source and target nodes, and the owner graph. Sets transcription flag to
* False by default.
*
* @param source Source node
* @param target Target node
* @param graph Owner graph
*/
public EdgeL3(Node source, Node target, Graph graph)
{
super(source, target, graph);
transcription = false;
}
/**
* @return True if this is related to a transcription
*/
public boolean isTranscription()
{
return transcription;
}
/**
* Set the transcription flag.
* @param transcription The transcription flag
*/
public void setTranscription(boolean transcription)
{
this.transcription = transcription;
}
}