Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map element from Array to another Array element #82

Open
vishakhapatil7 opened this issue Jun 28, 2018 · 0 comments
Open

Map element from Array to another Array element #82

vishakhapatil7 opened this issue Jun 28, 2018 · 0 comments

Comments

@vishakhapatil7
Copy link

vishakhapatil7 commented Jun 28, 2018

I have 3 java classes : Order, Customer and Item.
Source class "Order" contains list of "Customer" in it. And "Customer" class contains list of "Item".
I want to map source and destination Order in such a way that, particular Item from source Order should map to particular Item from destination Order.
For this I am using tag. Inside which I am trying to access Item of element of Customer list and map it with destination Item of particular Customer.

Is it possible to map element from Array/List of objects with particular element of another Array/List of objects?
I am failing to access Item from Customer ArrayList while mapping source Order class with destination Order class.

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant