001package org.biopax.paxtools.model.level2; 002 003/** 004 */ 005public enum SpontaneousType 006{ 007 L_R, 008 R_L, 009 NOT_SPONTANEOUS; 010 011// To string is also used for exporting to BioPAX - breaks the writer 012// This is better handled in L3- sorry Dude.. 013// public String toString() 014// { 015// if (this == L_R) return "Left to Right"; 016// else if (this == R_L) return "Right to Left"; 017// else if (this == NOT_SPONTANEOUS) return "NOT_SPONTANEOUS"; 018// else return null; 019// } 020}