1 package jrre.types;
2
3 /***
4 *
5 *
6 * @author Christopher Ellsworth (Chris@chrisellsworth.com)
7 * @version
8 */
9 public class PrimitiveType extends Type {
10
11 private int value;
12
13 /***
14 *
15 *
16 * @param value
17 */
18 public PrimitiveType(int value){
19
20 this.value = value;
21 }
22
23 /***
24 * Gets the Value.
25 */
26 public int 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(int value){
35 this.value = value;
36 }
37
38 public String toString(){
39 return "Primitive Type: "+value;
40 }
41 }
This page was automatically generated by Maven