1 package fr.orsay.lri.varna.models.templates;
3 import fr.orsay.lri.varna.models.templates.RNATemplate.RNATemplateHelix;
6 * See RNANodeValueTemplate.
8 * @author Raphael Champeimont
10 public class RNANodeValueTemplateBrokenBasePair extends RNANodeValueTemplate {
13 * The original template element this node came from.
15 private RNATemplateHelix helix;
18 * The position (in the 5' to 3' order)
19 * of this base in the original helix.
21 private int positionInHelix;
25 public String toGraphvizNodeName() {
26 return "BH[" + positionInHelix + "]";
31 public RNATemplateHelix getHelix() {
35 public void setHelix(RNATemplateHelix helix) {
39 public int getPositionInHelix() {
40 return positionInHelix;
43 public void setPositionInHelix(int positionInHelix) {
44 this.positionInHelix = positionInHelix;