Skip to contentMethod: setReady(Boolean)
      1: package parser.tempparserobjects;
2: 
3: import java.util.ArrayList;
4: 
5: import model.Position;
6: import model.type.RegEx;
7: import model.type.RegExPart;
8: 
9: /**
10:  * 
11:  * @author Sandra
12:  * 
13:  */
14: public class TempVariableType {
15:         /**
16:          * 
17:          */
18:         private transient String name = "";
19:         /**
20:          * 
21:          */
22:         private transient String errorMessage = "";
23:         /**
24:          * 
25:          */
26:         private transient RegEx regEx = new RegEx(new ArrayList<RegExPart>());
27:         /**
28:          * 
29:          */
30:         private transient Position position = new Position(0, 0, "");
31:         /**
32:          * 
33:          */
34:         private transient Boolean ready = false;
35: 
36:         /**
37:          * 
38:          * @return name
39:          */
40:         public String getName() {
41:                 return this.name;
42:         }
43: 
44:         /**
45:          * 
46:          * @param name
47:          *            name
48:          */
49:         public void setName(final String name) {
50:                 this.name = name;
51:         }
52: 
53:         /**
54:          * 
55:          * @return errorMessage
56:          */
57:         public String getErrorMessage() {
58:                 return this.errorMessage;
59:         }
60: 
61:         /**
62:          * 
63:          * @param errorMessage
64:          *            errormessage
65:          */
66:         public void setErrorMessage(final String errorMessage) {
67:                 this.errorMessage = errorMessage;
68:         }
69: 
70:         /**
71:          * 
72:          * @return parts
73:          */
74:         public RegEx getRegEx() {
75:                 return this.regEx;
76:         }
77: 
78:         /**
79:          * stores a RegEx while input is a Lists of RexExParts.
80:          * 
81:          * @param regEx
82:          *            regEx
83:          */
84:         public void setRegEx(final RegEx regEx) {
85:                 this.regEx = regEx;
86:         }
87: 
88:         /**
89:          * @return the row
90:          */
91:         public Position getPosition() {
92:                 return this.position;
93:         }
94: 
95:         /**
96:          * @param position
97:          *            the position to set
98:          */
99:         public void setPosition(final Position position) {
100:                 this.position = position;
101:         }
102: 
103:         /**
104:          * @return the ready
105:          */
106:         public Boolean isReady() {
107:                 return this.ready;
108:         }
109: 
110:         /**
111:          * @param ready
112:          *            the ready to set
113:          */
114:         public void setReady(final Boolean ready) {
115:                 this.ready = ready;
116:         }
117: 
118: }