Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1041397

Summary: Add primitive types support for data object properties
Product: [Retired] JBoss BPMS Platform 6 Reporter: Walter Medvedeo <wmedvede>
Component: Data ModelerAssignee: Walter Medvedeo <wmedvede>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: low Docs Contact:
Priority: high    
Version: 6.0.0CC: ajuricic, atangrin, jschatte, kverlaen, lpetrovi, pzapataf, rrajasek
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:02:10 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Walter Medvedeo 2013-12-12 15:49:22 UTC
It was defined that data modeller should support the use of primitive types to define/generate/read data object properties as well as the associated java.lang class.

In order to implement this the list of available types for an object property will be augmented with the primitive types.

The type selection list should look something like this:

BigDecimal  <-- First: Java base types. (idem now)
BigInteger
...
...
Short
org.test.Pojo1  <-- Second: Objects defined in this model. (idem now)
org.test.Pojo2
ext- org.test.externalClass1 <-- Third: Object that can be references due to dependencies (idem now)
ext- org.test.externalClass2
----
short <-- At the end, the list of primitive types will be included.
int
long
float
double
byte
boolean

Comment 2 Pedro Zapata 2014-01-15 11:45:34 UTC
This can be added for 6.0.1 to provide increased type support.

Comment 3 Kris Verlaenen 2014-02-13 14:49:13 UTC
*** Bug 1064858 has been marked as a duplicate of this bug. ***

Comment 4 Lukáš Petrovický 2014-02-14 12:37:16 UTC
ACKing based on customer demand. This will require additional tests.

Comment 5 Walter Medvedeo 2014-02-14 16:06:59 UTC
The following commits implements the primitive types suppport as scpecified above at datamodeller level:

master URL: http://github.com/droolsjbpm/kie-wb-common/commit/3919f15da

6.0.x URL: http://github.com/droolsjbpm/kie-wb-common/commit/a0a4fe195

Comment 6 Jan 2014-02-18 16:59:14 UTC
Implemented at the form modeller level in the following commits:

master: http://github.com/droolsjbpm/jbpm-form-modeler/commit/14edd8777

6.0.x : http://github.com/droolsjbpm/jbpm-form-modeler/commit/d0789d79a