Yes, POJOs can contain other nested POJO types. You just have to make sure that the nested field is either public, or has a corresponding public getter- and setter- method that follows the Java beans naming conventions.
On 21 June 2017 at 12:20:31 AM, nragon (nuno.goncal...@wedotechnologies.com) wrote: Can i have pojo has composition of other pojo? My custom object has many dependencies and in order to refactor it I must also change another 5 classes as well. -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Kafka-and-Flink-integration-tp13792p13874.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.