Skip to content

Package: TempTypeExtension

TempTypeExtension

nameinstructionbranchcomplexitylinemethod
TempTypeExtension()
M: 0 C: 25
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 7
100%
M: 0 C: 1
100%
getMeldung()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getName()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getPosition()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getRegEx()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
isReady()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
setMeldung(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setName(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setPosition(Position)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setReady(boolean)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setRegEx(RegEx)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /**
2: *
3: */
4: package parser.tempparserobjects;
5:
6: import model.Position;
7: import model.type.RegEx;
8:
9: /**
10: * @author Hendrik
11: * @author of changes Erik
12: *
13: */
14: public abstract class TempTypeExtension {
15:         /**
16:          * show if the TempTypExtension is ready.
17:          */
18:         private boolean ready;
19:         /**
20:          * The name of the TempTypExtension.
21:          */
22:         private String name;
23:         /**
24:          * the regularExpression.
25:          */
26:         private RegEx regEx;
27:         /**
28:          * the meldung.
29:          */
30:         private String meldung;
31:         /**
32:          * The Position.
33:          */
34:         private Position position;
35:
36:         /**
37:          * the constructor.
38:          */
39:         public TempTypeExtension() {
40:                 this.ready = false;
41:                 this.meldung = "";
42:                 this.name = "";
43:                 this.regEx = null;
44:                 this.position = new Position(0, 0, "");
45:         }
46:
47:         /**
48:          *
49:          * @return Ready
50:          */
51:         public boolean isReady() {
52:                 return this.ready;
53:         }
54:
55:         /**
56:          * @return the name
57:          */
58:         public String getName() {
59:                 return this.name;
60:         }
61:
62:         /**
63:          * @return the regEx
64:          */
65:         public RegEx getRegEx() {
66:                 return this.regEx;
67:         }
68:
69:         /**
70:          * @return the meldung
71:          */
72:         public String getMeldung() {
73:                 return this.meldung;
74:         }
75:
76:         /**
77:          * @param ready
78:          * the ready to set
79:          */
80:         public void setReady(final boolean ready) {
81:                 this.ready = ready;
82:         }
83:
84:         /**
85:          * @param name
86:          * the name to set
87:          */
88:         public void setName(final String name) {
89:                 this.name = name;
90:         }
91:
92:         /**
93:          * @param regEx
94:          * the regEx to set
95:          */
96:         public void setRegEx(final RegEx regEx) {
97:                 this.regEx = regEx;
98:         }
99:
100:         /**
101:          * @param meldung
102:          * the meldung to set
103:          */
104:         public void setMeldung(final String meldung) {
105:                 this.meldung = meldung;
106:         }
107:
108:         /**
109:          * @return the position
110:          */
111:         public Position getPosition() {
112:                 return this.position;
113:         }
114:
115:         /**
116:          * @param position
117:          * the position to set
118:          */
119:         public void setPosition(final Position position) {
120:                 this.position = position;
121:         }
122:
123:         public abstract boolean hasCondition();
124:
125: }