Custom Java action to store data in entity

0
I am trying to create a custom Java action in which I have generated some resultant data which I want to directly store it in entity which has multiple attributes. I want to store resultant data according to their respective attributes.   for Example My entity has attributes as expectedOut, expectedIn.  In my java action I have resultant variables such as outResult, InResult. Expected thing is to store outResult in expectedOut ; as well as InResult in expectedIn ;
asked
1 answers
1

Your application will have generated proxy classes for your entities. Find the proxy for your class, it will be in javasource/<yourmodulename>/proxies. Inside you will find get and set methods for each attribute in the entity. You can use the set methods to store the values. For example

 

yourEntity.setExpectedOut(outResult);
yourEntity.setExpectedIn(inResult);



I hope this helps.

answered