Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/DATT/src/org/litesoft/datt/client/boviews/StoryViewGO.java

Diff revisions: vs.
  @@ -7,39 +7,32 @@
7 7 */
8 8 public abstract class StoryViewGO
9 9 extends ViewObject<StoryView>
10 - implements StoryViewNames
11 - {
10 + implements StoryViewNames {
12 11 @Deprecated
13 - protected StoryViewGO()
14 - {
12 + protected StoryViewGO() {
15 13 super( StoryViewMetaData.getInstance() );
16 14 }
17 15
18 - protected StoryViewGO( boolean pNew, TransactionSet pTransactionSet )
19 - {
16 + protected StoryViewGO( boolean pNew, TransactionSet pTransactionSet ) {
20 17 super( StoryViewMetaData.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<StoryView> 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
  @@ -48,19 +41,16 @@
48 41 /**
49 42 * Remove "Used For Query View" if needed
50 43 */
51 - public String getChanges()
52 - {
44 + public String getChanges() {
53 45 return mChanges;
54 46 }
55 47
56 48 /**
57 49 * Remove "Used For Query View" if needed
58 50 */
59 - public void setChanges( String pChanges )
60 - {
51 + public void setChanges( String pChanges ) {
61 52 VoAttribute<StoryView> zAttribute = getVoAttribute( aChanges );
62 - if ( verifyMutabilityOnChange( zAttribute, getChanges(), pChanges = zAttribute.normalize( pChanges, zAttribute.isRequired() ) ) )
63 - {
53 + if ( verifyMutabilityOnChange( zAttribute, getChanges(), pChanges = zAttribute.normalize( pChanges, zAttribute.isRequired() ) ) ) {
64 54 LLsetChanges( pChanges );
65 55 }
66 56 }
  @@ -68,50 +58,42 @@
68 58 /**
69 59 * Remove "Used For Query View" if needed
70 60 */
71 - protected void LLsetChanges( String pChanges )
72 - {
61 + protected void LLsetChanges( String pChanges ) {
73 62 mChanges = pChanges;
74 63 }
75 64
76 65 private String mCreatorFullName;
77 66
78 - public String getCreatorFullName()
79 - {
67 + public String getCreatorFullName() {
80 68 return mCreatorFullName;
81 69 }
82 70
83 - public void setCreatorFullName( String pCreatorFullName )
84 - {
71 + public void setCreatorFullName( String pCreatorFullName ) {
85 72 VoAttribute<StoryView> zAttribute = getVoAttribute( aCreatorFullName );
86 - if ( verifyMutabilityOnChange( zAttribute, getCreatorFullName(), pCreatorFullName = zAttribute.normalize( pCreatorFullName, zAttribute.isRequired() ) ) )
87 - {
73 + if ( verifyMutabilityOnChange( zAttribute, getCreatorFullName(),
74 + pCreatorFullName = zAttribute.normalize( pCreatorFullName, zAttribute.isRequired() ) ) ) {
88 75 LLsetCreatorFullName( pCreatorFullName );
89 76 }
90 77 }
91 78
92 - protected void LLsetCreatorFullName( String pCreatorFullName )
93 - {
79 + protected void LLsetCreatorFullName( String pCreatorFullName ) {
94 80 mCreatorFullName = pCreatorFullName;
95 81 }
96 82
97 83 private String mDescription;
98 84
99 - public String getDescription()
100 - {
85 + public String getDescription() {
101 86 return mDescription;
102 87 }
103 88
104 - public void setDescription( String pDescription )
105 - {
89 + public void setDescription( String pDescription ) {
106 90 VoAttribute<StoryView> zAttribute = getVoAttribute( aDescription );
107 - if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) )
108 - {
91 + if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) {
109 92 LLsetDescription( pDescription );
110 93 }
111 94 }
112 95
113 - protected void LLsetDescription( String pDescription )
114 - {
96 + protected void LLsetDescription( String pDescription ) {
115 97 mDescription = pDescription;
116 98 }
117 99
  @@ -122,85 +104,70 @@
122 104
123 105 private Boolean mIsDone;
124 106
125 - public Boolean getIsDone()
126 - {
107 + public Boolean getIsDone() {
127 108 return mIsDone;
128 109 }
129 110
130 - public void setIsDone( Boolean pIsDone )
131 - {
111 + public void setIsDone( Boolean pIsDone ) {
132 112 VoAttribute<StoryView> zAttribute = getVoAttribute( aIsDone );
133 - if ( verifyMutabilityOnChange( zAttribute, getIsDone(), pIsDone = zAttribute.normalize( pIsDone, zAttribute.isRequired() ) ) )
134 - {
113 + if ( verifyMutabilityOnChange( zAttribute, getIsDone(), pIsDone = zAttribute.normalize( pIsDone, zAttribute.isRequired() ) ) ) {
135 114 LLsetIsDone( pIsDone );
136 115 }
137 116 }
138 117
139 - protected void LLsetIsDone( Boolean pIsDone )
140 - {
118 + protected void LLsetIsDone( Boolean pIsDone ) {
141 119 mIsDone = pIsDone;
142 120 }
143 121
144 122 private String mName;
145 123
146 - public String getName()
147 - {
124 + public String getName() {
148 125 return mName;
149 126 }
150 127
151 - public void setName( String pName )
152 - {
128 + public void setName( String pName ) {
153 129 VoAttribute<StoryView> zAttribute = getVoAttribute( aName );
154 - if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) )
155 - {
130 + if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) {
156 131 LLsetName( pName );
157 132 }
158 133 }
159 134
160 - protected void LLsetName( String pName )
161 - {
135 + protected void LLsetName( String pName ) {
162 136 mName = pName;
163 137 }
164 138
165 139 private Float mPriority;
166 140
167 - public Float getPriority()
168 - {
141 + public Float getPriority() {
169 142 return mPriority;
170 143 }
171 144
172 - public void setPriority( Float pPriority )
173 - {
145 + public void setPriority( Float pPriority ) {
174 146 VoAttribute<StoryView> zAttribute = getVoAttribute( aPriority );
175 - if ( verifyMutabilityOnChange( zAttribute, getPriority(), pPriority = zAttribute.normalize( pPriority, zAttribute.isRequired() ) ) )
176 - {
147 + if ( verifyMutabilityOnChange( zAttribute, getPriority(), pPriority = zAttribute.normalize( pPriority, zAttribute.isRequired() ) ) ) {
177 148 LLsetPriority( pPriority );
178 149 }
179 150 }
180 151
181 - protected void LLsetPriority( Float pPriority )
182 - {
152 + protected void LLsetPriority( Float pPriority ) {
183 153 mPriority = pPriority;
184 154 }
185 155
186 156 private String mPriorityLastChangedBy;
187 157
188 - public String getPriorityLastChangedBy()
189 - {
158 + public String getPriorityLastChangedBy() {
190 159 return mPriorityLastChangedBy;
191 160 }
192 161
193 - public void setPriorityLastChangedBy( String pPriorityLastChangedBy )
194 - {
162 + public void setPriorityLastChangedBy( String pPriorityLastChangedBy ) {
195 163 VoAttribute<StoryView> zAttribute = getVoAttribute( aPriorityLastChangedBy );
196 - if ( verifyMutabilityOnChange( zAttribute, getPriorityLastChangedBy(), pPriorityLastChangedBy = zAttribute.normalize( pPriorityLastChangedBy, zAttribute.isRequired() ) ) )
197 - {
164 + if ( verifyMutabilityOnChange( zAttribute, getPriorityLastChangedBy(),
165 + pPriorityLastChangedBy = zAttribute.normalize( pPriorityLastChangedBy, zAttribute.isRequired() ) ) ) {
198 166 LLsetPriorityLastChangedBy( pPriorityLastChangedBy );
199 167 }
200 168 }
201 169
202 - protected void LLsetPriorityLastChangedBy( String pPriorityLastChangedBy )
203 - {
170 + protected void LLsetPriorityLastChangedBy( String pPriorityLastChangedBy ) {
204 171 mPriorityLastChangedBy = pPriorityLastChangedBy;
205 172 }
206 173
  @@ -211,19 +178,16 @@
211 178 /**
212 179 * Used in query screen. If checked, it shows the done as well as the not done stories.
213 180 */
214 - public Boolean getShowDone()
215 - {
181 + public Boolean getShowDone() {
216 182 return mShowDone;
217 183 }
218 184
219 185 /**
220 186 * Used in query screen. If checked, it shows the done as well as the not done stories.
221 187 */
222 - public void setShowDone( Boolean pShowDone )
223 - {
188 + public void setShowDone( Boolean pShowDone ) {
224 189 VoAttribute<StoryView> zAttribute = getVoAttribute( aShowDone );
225 - if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) )
226 - {
190 + if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) ) {
227 191 LLsetShowDone( pShowDone );
228 192 }
229 193 }
  @@ -231,29 +195,25 @@
231 195 /**
232 196 * Used in query screen. If checked, it shows the done as well as the not done stories.
233 197 */
234 - protected void LLsetShowDone( Boolean pShowDone )
235 - {
198 + protected void LLsetShowDone( Boolean pShowDone ) {
236 199 mShowDone = pShowDone;
237 200 }
238 201
239 202 private String mStoryTemplateName;
240 203
241 - public String getStoryTemplateName()
242 - {
204 + public String getStoryTemplateName() {
243 205 return mStoryTemplateName;
244 206 }
245 207
246 - public void setStoryTemplateName( String pStoryTemplateName )
247 - {
208 + public void setStoryTemplateName( String pStoryTemplateName ) {
248 209 VoAttribute<StoryView> zAttribute = getVoAttribute( aStoryTemplateName );
249 - if ( verifyMutabilityOnChange( zAttribute, getStoryTemplateName(), pStoryTemplateName = zAttribute.normalize( pStoryTemplateName, zAttribute.isRequired() ) ) )
250 - {
210 + if ( verifyMutabilityOnChange( zAttribute, getStoryTemplateName(),
211 + pStoryTemplateName = zAttribute.normalize( pStoryTemplateName, zAttribute.isRequired() ) ) ) {
251 212 LLsetStoryTemplateName( pStoryTemplateName );
252 213 }
253 214 }
254 215
255 - protected void LLsetStoryTemplateName( String pStoryTemplateName )
256 - {
216 + protected void LLsetStoryTemplateName( String pStoryTemplateName ) {
257 217 mStoryTemplateName = pStoryTemplateName;
258 218 }
259 219 }