litesoft
Diff Revisions
222
vs
801
for /trunk/Java/PoVoGenerator/Generator/src/org/litesoft/generator/GeneratePOGO.java
|
@@ -9,6 +9,7 @@ |
9 |
9 |
|
import org.litesoft.aokeyhole.objects.properties.*; |
10 |
10 |
|
import org.litesoft.bo.attributes.*; |
11 |
11 |
|
import org.litesoft.codegen.*; |
|
12 |
+ |
import org.litesoft.core.typeutils.*; |
12 |
13 |
|
import org.litesoft.core.util.*; |
13 |
14 |
|
import org.litesoft.orsup.lazyeval.*; |
14 |
15 |
|
import org.litesoft.util.*; |
|
@@ -149,7 +150,7 @@ |
149 |
150 |
|
|
150 |
151 |
|
public String getDisplayValueFormat() |
151 |
152 |
|
{ |
152 |
|
- |
return quote( UtilsCommon.noEmpty( mObjectMetaData.getPropertyManager().get_String( PMD_DisplayValueFormat.NAME, "" ) ) ); |
|
153 |
+ |
return quote( Strings.noEmpty( mObjectMetaData.getPropertyManager().get_String( PMD_DisplayValueFormat.NAME, "" ) ) ); |
153 |
154 |
|
} |
154 |
155 |
|
|
155 |
156 |
|
private void addMyMetaData() |
|
@@ -205,7 +206,7 @@ |
205 |
206 |
|
addLine( "return CD_RecordVersion.getName();" ); |
206 |
207 |
|
addBlockEnd(); |
207 |
208 |
|
|
208 |
|
- |
String zOrderBy = UtilsCommon.noEmpty( mObjectMetaData.getPropertyManager().get_String( PMD_OrderByAttribute.NAME, null ) ); |
|
209 |
+ |
String zOrderBy = Strings.noEmpty( mObjectMetaData.getPropertyManager().get_String( PMD_OrderByAttribute.NAME, null ) ); |
209 |
210 |
|
if ( zOrderBy != null ) |
210 |
211 |
|
{ |
211 |
212 |
|
addBlankLine(); |
|
@@ -680,7 +681,7 @@ |
680 |
681 |
|
String zNotes = pAttribute.getNotes(); |
681 |
682 |
|
|
682 |
683 |
|
boolean zEncrypted = A_Password.TYPE.equals( zAttributeType ); |
683 |
|
- |
String zCaseControl = Utils.noEmpty( pAttribute.getPropertyManager().get_String( PMD_Case.NAME, null ) ); |
|
684 |
+ |
String zCaseControl = Strings.noEmpty( pAttribute.getPropertyManager().get_String( PMD_Case.NAME, null ) ); |
684 |
685 |
|
|
685 |
686 |
|
String zCharacterCaseIgnored = PMD_Case.IGNORED.equals( zCaseControl ) ? "CharacterCaseIgnored" : null; |
686 |
687 |
|
|
|
@@ -1290,7 +1291,7 @@ |
1290 |
1291 |
|
|
1291 |
1292 |
|
addConstructorPublic( "AttributeAccessor_" + zName ); |
1292 |
1293 |
|
|
1293 |
|
- |
String zOrderBy = UtilsCommon.noEmpty( pAttribute.getPropertyManager().get_String( PMD_OrderByAttribute.NAME, null ) ); |
|
1294 |
+ |
String zOrderBy = Strings.noEmpty( pAttribute.getPropertyManager().get_String( PMD_OrderByAttribute.NAME, null ) ); |
1294 |
1295 |
|
if ( zOrderBy != null ) |
1295 |
1296 |
|
{ |
1296 |
1297 |
|
zOrderBy = "\"" + zOrderBy + "\""; |