IBM Support

PM17008: RSA: JPA transf generates extra getters and setters

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In specific instances, the UML to JPA transformation creates ext
    ra getters and setters.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The JPA transformation will ignore the properties with ID
    stereotype that will be created in Embeddable classes. This
    might cause compilation errors if the Entity implements an
    interface that has setter/getter defined.
    

Problem conclusion

  • Fixed by always adding setter/getter for those properties,
    but instead of having the default body
    return x;
    or
    this.x = x;
    
    it will have
    return pk.getX();
    or
    pk.setX(X);
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM17008

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-22

  • Closed date

    2010-10-08

  • Last modified date

    2010-10-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"755","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"755","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
08 October 2010