EntityForm - fields
Posted: Wed Jun 19, 2013 8:26 am
I have a rest weservices class which has a method to add product .i have used the the generic add entity method (but have customized according to my requirement)
My method accepts a Product instance . i have a converter which basically takes the product instance values and
convert convert it to a Entityform , Now my problem is --
i have set my product instance values to fields (this is map<String,Field>)and i want to add this fields to the the entity form . how can i achieve this because there is no setters defined for this variable fields (which is defined in EntityForm) and its in protected mode .
My method accepts a Product instance . i have a converter which basically takes the product instance values and
convert convert it to a Entityform , Now my problem is --
i have set my product instance values to fields (this is map<String,Field>)and i want to add this fields to the the entity form . how can i achieve this because there is no setters defined for this variable fields (which is defined in EntityForm) and its in protected mode .