View Javadoc
1 package jrre.types; 2 3 /*** 4 * 5 * 6 * @author Christopher Ellsworth (Chris@chrisellsworth.com) 7 * @version 8 */ 9 public class StringType extends Type { 10 11 private String value; 12 13 /*** 14 * 15 * 16 * @param value 17 */ 18 public StringType(String value){ 19 20 this.value = value; 21 } 22 23 /*** 24 * Gets the Value. 25 */ 26 public String getValue(){ 27 return this.value; 28 } 29 30 /*** 31 * Sets the Value. 32 * @param Value The value to set it to. 33 */ 34 public void setValue(String value){ 35 this.value = value; 36 } 37 38 public String toString(){ 39 return "String Type: "+value; 40 } 41 }

This page was automatically generated by Maven