Update TransitionFigure.java

added gettr methods