After a UML-to-Java transformation, Boolean getters begin with “is” rather than “get”

In IBM Rational Software Architect Designer (RSAD), if you generate Java code from the UML-to-Java transformation the name of the methods begins with **is** instead of **get** for fields whose types are either **boolean** or **Boolean**. This occurs even when the **com.ibm.xtools.transform.java.extensions.customGetterSetter** transformation configuration setting is active.

The following steps reproduce the problem:

1. Create a UML project & model

2. Apply the **Java Transformation** profile to the model

3. Create a Java project

4. Add a UML-to-Java transformation configuration to the UML project with the model as the **Source** and the Java project as the **Target**. (Make sure that the **Extensions > com.ibm.xtools.transform.java.extensions.customGetterSetter** setting is selected as well.)

5. Add a package to the model

6. Add a class to the package

7. Add an attribute to the class

8. Give it the attribute the **boolean** type

9. Save all changes and run the transformation

10. Examine the resulting Java code

**EXPECTED RESULT**: The getter method for the **boolean** attribute is called **getAttribute1()**

**ACTUAL RESULT**: The getter method for the **boolean** attribute is called **isAttribute1()**

Related:

Are RDi and Spring Tools able to co-exist in the same install?

I have a question about installing Spring tools into Rational Developer for i 9.6
I tried to install Spring Tools using the Eclipse Marketplace. It reported that it could not and was “trying alternate installs” when I canceled.

Are RDi and Spring Tools able to co-exist in the same install?

Related:

Connect SDK to Eclipse/Pydev?

The instructions at [Developing apps in Eclipse][1] list some nice instructions for setting up an app in the Eclipse/Pydev environment. However, it doesn’t much discuss how to run it there.

Is there a way to run an app in the Flask framework provided by the SDK so that it can be attached to the Eclipse/Pydev debugger? (There should be….) This would make it a lot easier to debug apps.

[1]: https://www.ibm.com/support/knowledgecenter/SS42VS_7.3.0/com.ibm.appfw.doc/t_appframework_Eclipse.html

Related:

Where can I get an older zosexplorer aqua p2 install file?

I need a version of z/OS Connect EE API Editor Feature that is compatible with RDZ 2015.1.13.201342. See below for the dependency issues when using version 2.0.406.201707250428.

I know version 2.0.403.201702170001 works.

Can you provide a link to the zosexplorer aqua P2 file containing this version?

Using 2.0.406 we get dependency errors.
Cannot complete the install because of a conflicting dependency.
Software being installed: IBM z/OS Connect EE API Editor Feature 2.0.406.201707250428 (com.ibm.zosconnect.ui.feature.feature.group 2.0.406.201707250428)
Software currently installed: IBM Software Delivery Platform2 2015.1.13.201342 (IBM Software Delivery Platform2 com.ibm.sdp.eclipse.ide 2015.1.13.201342)
Only one of the following can be installed at once:
Standard Widget Toolkit 3.100.2.v20130514-2326 (org.eclipse.swt 3.100.2.v20130514-2326)
Standard Widget Toolkit 3.6.3.v3659f (org.eclipse.swt 3.6.3.v3659f)
Standard Widget Toolkit 3.103.2.v20150203-1313 (org.eclipse.swt 3.103.2.v20150203-1313)
Cannot satisfy dependency:
From: IBM Software Delivery Platform2 2015.1.13.201342 (IBM Software Delivery Platform2 com.ibm.sdp.eclipse.ide 2015.1.13.201342)
To: org.eclipse.e4.rcp.R422patch.feature.group [1.0.14]
Cannot satisfy dependency:
From: IBM Software Delivery Platform2 2015.1.13.201342 (IBM Software Delivery Platform2 com.ibm.sdp.eclipse.ide 2015.1.13.201342)
To: org.eclipse.e4.rcp.feature.group [1.1.2.v20130130-191718-91FUvGP7GIX2Kgz-z-gvjMvXV1NS]
Cannot satisfy dependency:
From: IBM ZOS Connect UI Common 2.0.406.201707250428 (com.ibm.zosconnect.ui.common 2.0.406.201707250428)
To: bundle org.eclipse.jface.text 3.9.2
Cannot satisfy dependency:
From: IBM z/OS Connect EE API Editor Feature 2.0.406.201707250428 (com.ibm.zosconnect.ui.feature.feature.group 2.0.406.201707250428)
To: com.ibm.zosconnect.ui.common [2.0.406.201707250428]
Cannot satisfy dependency:
From: JFace Text 3.9.2.v20141003-1326 (org.eclipse.jface.text 3.9.2.v20141003-1326)
To: bundle org.eclipse.swt [3.103.0,4.0.0)
Cannot satisfy dependency:
From Patch: org.eclipse.e4.rcp.R422patch.feature.group 1.0.14 Eclipse e4 Rich Client Platform 1.1.2.v20130130-191718-91FUvGP7GIX2Kgz-z-gvjMvXV1NS (org.eclipse.e4.rcp.feature.group 1.1.2.v20130130-191718-91FUvGP7GIX2Kgz-z-gvjMvXV1NS)
To: org.eclipse.swt [3.100.2.v20130514-2326]

Related: