001package org.biopax.paxtools.query.wrapperL3undirected; 002 003import org.biopax.paxtools.query.model.AbstractEdge; 004import org.biopax.paxtools.query.model.Graph; 005import org.biopax.paxtools.query.model.Node; 006 007/** 008 * Wrapper for links between L3 objects. 009 * 010 * @author Ozgun Babur 011 */ 012public class EdgeL3 extends AbstractEdge 013{ 014 /** 015 * Flag for being related to a transcription. 016 */ 017 boolean transcription; 018 019 /** 020 * Constructor with source and target nodes, and the owner graph. Sets transcription flag to 021 * False by default. 022 * 023 * @param source Source node 024 * @param target Target node 025 * @param graph Owner graph 026 */ 027 public EdgeL3(Node source, Node target, Graph graph) 028 { 029 super(source, target, graph); 030 transcription = false; 031 } 032 033 /** 034 * @return True if this is related to a transcription 035 */ 036 public boolean isTranscription() 037 { 038 return transcription; 039 } 040 041 /** 042 * Set the transcription flag. 043 * @param transcription The transcription flag 044 */ 045 public void setTranscription(boolean transcription) 046 { 047 this.transcription = transcription; 048 } 049}