|
@@ -7,144 +7,118 @@ |
7 |
7 |
|
*/ |
8 |
8 |
|
public abstract class TaskViewGO |
9 |
9 |
|
extends ViewObject<TaskView> |
10 |
|
- |
implements TaskViewNames |
11 |
|
- |
{ |
|
10 |
+ |
implements TaskViewNames { |
12 |
11 |
|
@Deprecated |
13 |
|
- |
protected TaskViewGO() |
14 |
|
- |
{ |
|
12 |
+ |
protected TaskViewGO() { |
15 |
13 |
|
super( TaskViewMetaData.getInstance() ); |
16 |
14 |
|
} |
17 |
15 |
|
|
18 |
|
- |
protected TaskViewGO( boolean pNew, TransactionSet pTransactionSet ) |
19 |
|
- |
{ |
|
16 |
+ |
protected TaskViewGO( boolean pNew, TransactionSet pTransactionSet ) { |
20 |
17 |
|
super( TaskViewMetaData.getInstance(), pNew, pTransactionSet ); |
21 |
18 |
|
} |
22 |
19 |
|
|
23 |
20 |
|
private Long mID; |
24 |
21 |
|
|
25 |
22 |
|
@Override |
26 |
|
- |
public Long getID() |
27 |
|
- |
{ |
|
23 |
+ |
public Long getID() { |
28 |
24 |
|
return mID; |
29 |
25 |
|
} |
30 |
26 |
|
|
31 |
27 |
|
@Override |
32 |
|
- |
public void setID( Long pID ) |
33 |
|
- |
{ |
|
28 |
+ |
public void setID( Long pID ) { |
34 |
29 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aID ); |
35 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) |
36 |
|
- |
{ |
|
30 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) { |
37 |
31 |
|
LLsetID( pID ); |
38 |
32 |
|
} |
39 |
33 |
|
} |
40 |
34 |
|
|
41 |
|
- |
protected void LLsetID( Long pID ) |
42 |
|
- |
{ |
|
35 |
+ |
protected void LLsetID( Long pID ) { |
43 |
36 |
|
mID = pID; |
44 |
37 |
|
} |
45 |
38 |
|
|
46 |
39 |
|
private String mCreatorFullName; |
47 |
40 |
|
|
48 |
|
- |
public String getCreatorFullName() |
49 |
|
- |
{ |
|
41 |
+ |
public String getCreatorFullName() { |
50 |
42 |
|
return mCreatorFullName; |
51 |
43 |
|
} |
52 |
44 |
|
|
53 |
|
- |
public void setCreatorFullName( String pCreatorFullName ) |
54 |
|
- |
{ |
|
45 |
+ |
public void setCreatorFullName( String pCreatorFullName ) { |
55 |
46 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aCreatorFullName ); |
56 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getCreatorFullName(), pCreatorFullName = zAttribute.normalize( pCreatorFullName, zAttribute.isRequired() ) ) ) |
57 |
|
- |
{ |
|
47 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getCreatorFullName(), |
|
48 |
+ |
pCreatorFullName = zAttribute.normalize( pCreatorFullName, zAttribute.isRequired() ) ) ) { |
58 |
49 |
|
LLsetCreatorFullName( pCreatorFullName ); |
59 |
50 |
|
} |
60 |
51 |
|
} |
61 |
52 |
|
|
62 |
|
- |
protected void LLsetCreatorFullName( String pCreatorFullName ) |
63 |
|
- |
{ |
|
53 |
+ |
protected void LLsetCreatorFullName( String pCreatorFullName ) { |
64 |
54 |
|
mCreatorFullName = pCreatorFullName; |
65 |
55 |
|
} |
66 |
56 |
|
|
67 |
57 |
|
private String mDescription; |
68 |
58 |
|
|
69 |
|
- |
public String getDescription() |
70 |
|
- |
{ |
|
59 |
+ |
public String getDescription() { |
71 |
60 |
|
return mDescription; |
72 |
61 |
|
} |
73 |
62 |
|
|
74 |
|
- |
public void setDescription( String pDescription ) |
75 |
|
- |
{ |
|
63 |
+ |
public void setDescription( String pDescription ) { |
76 |
64 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aDescription ); |
77 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) |
78 |
|
- |
{ |
|
65 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) { |
79 |
66 |
|
LLsetDescription( pDescription ); |
80 |
67 |
|
} |
81 |
68 |
|
} |
82 |
69 |
|
|
83 |
|
- |
protected void LLsetDescription( String pDescription ) |
84 |
|
- |
{ |
|
70 |
+ |
protected void LLsetDescription( String pDescription ) { |
85 |
71 |
|
mDescription = pDescription; |
86 |
72 |
|
} |
87 |
73 |
|
|
88 |
74 |
|
private Float mDisplayOrder; |
89 |
75 |
|
|
90 |
|
- |
public Float getDisplayOrder() |
91 |
|
- |
{ |
|
76 |
+ |
public Float getDisplayOrder() { |
92 |
77 |
|
return mDisplayOrder; |
93 |
78 |
|
} |
94 |
79 |
|
|
95 |
|
- |
public void setDisplayOrder( Float pDisplayOrder ) |
96 |
|
- |
{ |
|
80 |
+ |
public void setDisplayOrder( Float pDisplayOrder ) { |
97 |
81 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aDisplayOrder ); |
98 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getDisplayOrder(), pDisplayOrder = zAttribute.normalize( pDisplayOrder, zAttribute.isRequired() ) ) ) |
99 |
|
- |
{ |
|
82 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getDisplayOrder(), pDisplayOrder = zAttribute.normalize( pDisplayOrder, zAttribute.isRequired() ) ) ) { |
100 |
83 |
|
LLsetDisplayOrder( pDisplayOrder ); |
101 |
84 |
|
} |
102 |
85 |
|
} |
103 |
86 |
|
|
104 |
|
- |
protected void LLsetDisplayOrder( Float pDisplayOrder ) |
105 |
|
- |
{ |
|
87 |
+ |
protected void LLsetDisplayOrder( Float pDisplayOrder ) { |
106 |
88 |
|
mDisplayOrder = pDisplayOrder; |
107 |
89 |
|
} |
108 |
90 |
|
|
109 |
91 |
|
private Boolean mIsDone; |
110 |
92 |
|
|
111 |
|
- |
public Boolean getIsDone() |
112 |
|
- |
{ |
|
93 |
+ |
public Boolean getIsDone() { |
113 |
94 |
|
return mIsDone; |
114 |
95 |
|
} |
115 |
96 |
|
|
116 |
|
- |
public void setIsDone( Boolean pIsDone ) |
117 |
|
- |
{ |
|
97 |
+ |
public void setIsDone( Boolean pIsDone ) { |
118 |
98 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aIsDone ); |
119 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getIsDone(), pIsDone = zAttribute.normalize( pIsDone, zAttribute.isRequired() ) ) ) |
120 |
|
- |
{ |
|
99 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getIsDone(), pIsDone = zAttribute.normalize( pIsDone, zAttribute.isRequired() ) ) ) { |
121 |
100 |
|
LLsetIsDone( pIsDone ); |
122 |
101 |
|
} |
123 |
102 |
|
} |
124 |
103 |
|
|
125 |
|
- |
protected void LLsetIsDone( Boolean pIsDone ) |
126 |
|
- |
{ |
|
104 |
+ |
protected void LLsetIsDone( Boolean pIsDone ) { |
127 |
105 |
|
mIsDone = pIsDone; |
128 |
106 |
|
} |
129 |
107 |
|
|
130 |
108 |
|
private String mName; |
131 |
109 |
|
|
132 |
|
- |
public String getName() |
133 |
|
- |
{ |
|
110 |
+ |
public String getName() { |
134 |
111 |
|
return mName; |
135 |
112 |
|
} |
136 |
113 |
|
|
137 |
|
- |
public void setName( String pName ) |
138 |
|
- |
{ |
|
114 |
+ |
public void setName( String pName ) { |
139 |
115 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aName ); |
140 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) |
141 |
|
- |
{ |
|
116 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) { |
142 |
117 |
|
LLsetName( pName ); |
143 |
118 |
|
} |
144 |
119 |
|
} |
145 |
120 |
|
|
146 |
|
- |
protected void LLsetName( String pName ) |
147 |
|
- |
{ |
|
121 |
+ |
protected void LLsetName( String pName ) { |
148 |
122 |
|
mName = pName; |
149 |
123 |
|
} |
150 |
124 |
|
|
|
@@ -153,19 +127,16 @@ |
153 |
127 |
|
/** |
154 |
128 |
|
* Used in query screen. If checked, it shows the done as well as the not done tasks. |
155 |
129 |
|
*/ |
156 |
|
- |
public Boolean getShowDone() |
157 |
|
- |
{ |
|
130 |
+ |
public Boolean getShowDone() { |
158 |
131 |
|
return mShowDone; |
159 |
132 |
|
} |
160 |
133 |
|
|
161 |
134 |
|
/** |
162 |
135 |
|
* Used in query screen. If checked, it shows the done as well as the not done tasks. |
163 |
136 |
|
*/ |
164 |
|
- |
public void setShowDone( Boolean pShowDone ) |
165 |
|
- |
{ |
|
137 |
+ |
public void setShowDone( Boolean pShowDone ) { |
166 |
138 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aShowDone ); |
167 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) ) |
168 |
|
- |
{ |
|
139 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) ) { |
169 |
140 |
|
LLsetShowDone( pShowDone ); |
170 |
141 |
|
} |
171 |
142 |
|
} |
|
@@ -173,29 +144,24 @@ |
173 |
144 |
|
/** |
174 |
145 |
|
* Used in query screen. If checked, it shows the done as well as the not done tasks. |
175 |
146 |
|
*/ |
176 |
|
- |
protected void LLsetShowDone( Boolean pShowDone ) |
177 |
|
- |
{ |
|
147 |
+ |
protected void LLsetShowDone( Boolean pShowDone ) { |
178 |
148 |
|
mShowDone = pShowDone; |
179 |
149 |
|
} |
180 |
150 |
|
|
181 |
151 |
|
private String mStoryName; |
182 |
152 |
|
|
183 |
|
- |
public String getStoryName() |
184 |
|
- |
{ |
|
153 |
+ |
public String getStoryName() { |
185 |
154 |
|
return mStoryName; |
186 |
155 |
|
} |
187 |
156 |
|
|
188 |
|
- |
public void setStoryName( String pStoryName ) |
189 |
|
- |
{ |
|
157 |
+ |
public void setStoryName( String pStoryName ) { |
190 |
158 |
|
VoAttribute<TaskView> zAttribute = getVoAttribute( aStoryName ); |
191 |
|
- |
if ( verifyMutabilityOnChange( zAttribute, getStoryName(), pStoryName = zAttribute.normalize( pStoryName, zAttribute.isRequired() ) ) ) |
192 |
|
- |
{ |
|
159 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getStoryName(), pStoryName = zAttribute.normalize( pStoryName, zAttribute.isRequired() ) ) ) { |
193 |
160 |
|
LLsetStoryName( pStoryName ); |
194 |
161 |
|
} |
195 |
162 |
|
} |
196 |
163 |
|
|
197 |
|
- |
protected void LLsetStoryName( String pStoryName ) |
198 |
|
- |
{ |
|
164 |
+ |
protected void LLsetStoryName( String pStoryName ) { |
199 |
165 |
|
mStoryName = pStoryName; |
200 |
166 |
|
} |
201 |
167 |
|
} |