View Issue Details

IDProjectCategoryView StatusLast Update
0002233CaseTalk ModelerGeneration (SQL, XML, etc)public2022-01-10 20:40
ReporterBCP Software Assigned ToBCP Software  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Target VersionFutureFixed in Version12.1 
Summary0002233: Java Pojo generation
DescriptionWould it be possible to generate Java classes as pojos?
Additional Informationhttps://access.redhat.com/documentation/en-us/red_hat_jboss_bpm_suite/6.0/html/user_guide/sect-data_models
TagsNo tags attached.
CaseTalk Editionunknown

Relationships

related to 0002581 assignedBCP Software Kafka event streaming 

Activities

BCP Software

BCP Software

2020-07-06 09:13

administrator   ~0001695

Last edited: 2020-07-06 09:14

// https://mkyong.com/java/how-to-convert-java-object-to-from-json-jackson/

package com.mkyong.json;

import java.util.List;

public class User {

    private String name;
    private int age;
    private List<String> messages;

    //getters and setters
}

BCP Software

BCP Software

2021-06-10 20:53

administrator   ~0001992

This would probably support the DDD movement by providing props for them.
BCP Software

BCP Software

2021-10-18 12:12

administrator   ~0002088

Since Java 14 the Record keyword is introduced making the data classes very easy.
See: https://vladmihalcea.com/java-records-guide/

public record AuditInfo(
    LocalDateTime createdOn,
    String createdBy,
    LocalDateTime updatedOn,
    String updatedBy
) {}
 
public record PostInfo(
    Long id,
    String title,
    AuditInfo auditInfo
) {}
BCP Software

BCP Software

2022-01-10 20:40

administrator   ~0003872

Closing automatically, stayed too long in resolved state. Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2019-07-23 20:52 BCP Software New Issue
2020-07-06 09:11 BCP Software Relationship added related to 0002581
2020-07-06 09:13 BCP Software Note Added: 0001695
2020-07-06 09:14 BCP Software Note Edited: 0001695
2021-06-10 20:53 BCP Software Note Added: 0001992
2021-10-18 12:12 BCP Software Note Added: 0002088
2021-10-18 12:24 BCP Software Assigned To => BCP Software
2021-10-18 12:24 BCP Software Status new => resolved
2021-10-18 12:24 BCP Software Resolution open => fixed
2021-10-18 12:24 BCP Software Fixed in Version => 12.1
2022-01-10 20:40 BCP Software Note Added: 0003872
2022-01-10 20:40 BCP Software Status resolved => closed