troubleshooting Question

Populate value object from arraylist values

Avatar of ganeshaneesh
ganeshaneeshFlag for India asked on
JavaJava EEJSP
3 Comments2 Solutions413 ViewsLast Modified:
I have an arraylist like this. It has a parent({parent) list and inside there is a child list. How can i populate value objects(VO) for the same? Means i need to pass this list to the VO class and handle the values through getters and setters of VO. Please help.
mylist={parent={pnumber=61855, pname=mypname, ptype=myptype, pid=AA}, child=[{cname=c1name, firstname=f1name, lastname=l1name}, {cname=c1name, firstName=f2name, lastname=l2name}, {cname=c3name, firstname=f3name, lastname=l3name}]}
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros