1 package fr.orsay.lri.varna.models.templates;
3 import fr.orsay.lri.varna.models.templates.RNATemplate.RNATemplateHelix;
7 * See RNANodeValueTemplate.
9 * @author Raphael Champeimont
11 public class RNANodeValueTemplateBasePair extends RNANodeValueTemplate {
14 * The original template element this node came from.
16 private RNATemplateHelix helix;
19 * The position (in the 5' to 3' order)
20 * of this base pair in the original helix.
22 private int positionInHelix;
26 public String toGraphvizNodeName() {
27 return "H[" + positionInHelix + "]";
32 public RNATemplateHelix getHelix() {
36 public void setHelix(RNATemplateHelix helix) {
40 public int getPositionInHelix() {
41 return positionInHelix;
44 public void setPositionInHelix(int positionInHelix) {
45 this.positionInHelix = positionInHelix;