Get attribute data from object using JavaAction

0
Hi, I have a javaaction which will take an object of student entity. Now i want to access the student name. In JS we can use .get('Name') method to get the data. Could some one please help me how can i do it in java. Any related documentation would be helpful. Thanks in advance
asked
2 answers
1

This should have generated a Proxy class you can use. So if the Student entity is in MyFirstModule the proxy class with be in javasource/myfirstmodule/proxies/student.java . This will have getters and setters for every attribute, in this case it should have generated getName().

 

I hope this helps.

answered
0

Mr Price has already answered it but if you feel lost. This video show, how to, where to use proxy class in a working example.

https://www.youtube.com/watch?v=mbC0zdk_h6o&t=1s

 

Please make Mr Price's answer accepted.

 

Regards,

answered