Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 193 for /trunk/Java/PoVoGenerator/Generator/src/org/litesoft/generator/GeneratePOGO.java

Diff revisions: vs.
  @@ -95,7 +95,7 @@
95 95 {
96 96 if ( !zAttribute.isVirtual() )
97 97 {
98 - if ( A_PairedToOne.TYPE.equals( zAttribute.getAttributeType() ) )
98 + if ( A_PairedToOne.TYPE.equals( zAttribute.getAttributeSetType() ) )
99 99 {
100 100 String zToOne = UtilsCommon.justClassNameIfPackage( zAttribute.getToOneFullyQualifiedName(), mPackage + "." );
101 101 return zToOne + ".class";
  @@ -444,7 +444,7 @@
444 444 @Override
445 445 public boolean selects( AttributeProxy pAttribute )
446 446 {
447 - return A_ID.TYPE.equals( pAttribute.getAttributeType() );
447 + return A_ID.TYPE.equals( pAttribute.getAttributeSetType() );
448 448 }
449 449 };
450 450
  @@ -462,7 +462,7 @@
462 462 @Override
463 463 public boolean selects( AttributeProxy pAttribute )
464 464 {
465 - return !pAttribute.isVirtual() && pAttribute.getAttributeType().getFAT().isSimple();
465 + return !pAttribute.isVirtual() && pAttribute.getAttributeSetType().getFAT().isSimple();
466 466 }
467 467 };
468 468
  @@ -471,7 +471,7 @@
471 471 @Override
472 472 public boolean selects( AttributeProxy pAttribute )
473 473 {
474 - return pAttribute.isVirtual() && pAttribute.getAttributeType().getFAT().isSimple();
474 + return pAttribute.isVirtual() && pAttribute.getAttributeSetType().getFAT().isSimple();
475 475 }
476 476 };
477 477
  @@ -480,7 +480,7 @@
480 480 @Override
481 481 public boolean selects( AttributeProxy pAttribute )
482 482 {
483 - return Utils.isOneOf( pAttribute.getAttributeType(), BRIDGE_TYPES );
483 + return Utils.isOneOf( pAttribute.getAttributeSetType(), BRIDGE_TYPES );
484 484 }
485 485 };
486 486
  @@ -489,7 +489,7 @@
489 489 @Override
490 490 public boolean selects( AttributeProxy pAttribute )
491 491 {
492 - return Utils.isOneOf( pAttribute.getAttributeType(), PAIRED_TYPES );
492 + return Utils.isOneOf( pAttribute.getAttributeSetType(), PAIRED_TYPES );
493 493 }
494 494 };
495 495
  @@ -498,7 +498,7 @@
498 498 @Override
499 499 public boolean selects( AttributeProxy pAttribute )
500 500 {
501 - return !pAttribute.isVirtual() && pAttribute.getAttributeType().getFAT().isToOne();
501 + return !pAttribute.isVirtual() && pAttribute.getAttributeSetType().getFAT().isToOne();
502 502 }
503 503 };
504 504
  @@ -507,7 +507,7 @@
507 507 @Override
508 508 public boolean selects( AttributeProxy pAttribute )
509 509 {
510 - return pAttribute.isVirtual() && pAttribute.getAttributeType().getFAT().isToOne();
510 + return pAttribute.isVirtual() && pAttribute.getAttributeSetType().getFAT().isToOne();
511 511 }
512 512 };
513 513
  @@ -516,7 +516,7 @@
516 516 @Override
517 517 public boolean selects( AttributeProxy pAttribute )
518 518 {
519 - return pAttribute.getAttributeType().getFAT().isToMany();
519 + return pAttribute.getAttributeSetType().getFAT().isToMany();
520 520 }
521 521 };
522 522
  @@ -608,7 +608,7 @@
608 608 @Override
609 609 protected void LLaddAttribute( AttributeProxy pAttribute )
610 610 {
611 - FundamentalAttributeType zFAT = pAttribute.getAttributeType().getFAT();
611 + FundamentalAttributeType zFAT = pAttribute.getAttributeSetType().getFAT();
612 612 switch ( zFAT )
613 613 {
614 614 default:
  @@ -656,7 +656,7 @@
656 656 String zExtends;
657 657 String zNonImportableFeature = null;
658 658 Mutability zMutability = pAttribute.getMutability();
659 - AttributeType zAttributeType = pAttribute.getAttributeType();
659 + AttributeType zAttributeType = pAttribute.getAttributeSetType();
660 660 if ( A_ID.TYPE.equals( zAttributeType ) || pAttribute.isSysSetOnly() )
661 661 {
662 662 zNonImportableFeature = "NonImportableFeature";
  @@ -878,7 +878,7 @@
878 878 addAttributeToOneVirtual( pAttribute );
879 879 return;
880 880 }
881 - AttributeType zType = pAttribute.getAttributeType();
881 + AttributeType zType = pAttribute.getAttributeSetType();
882 882 if ( A_Blob.TYPE.equals( zType ) )
883 883 {
884 884 addAttributeToBlob( pAttribute );
  @@ -1216,7 +1216,7 @@
1216 1216 return;
1217 1217 }
1218 1218 AttributeProxy pBackReferenceAttributeProxy = pAttribute.getToManyBackReferenceAttributeProxy();
1219 - AttributeType zBackType = (pBackReferenceAttributeProxy != null) ? pBackReferenceAttributeProxy.getAttributeType() : null;
1219 + AttributeType zBackType = (pBackReferenceAttributeProxy != null) ? pBackReferenceAttributeProxy.getAttributeSetType() : null;
1220 1220 if ( A_ToOne.TYPE.equals( zBackType ) )
1221 1221 {
1222 1222 addAttributeToManyRegular( pAttribute );