View RSS Feed

Uncategorized

Entries with no category

  1. How to set value to entity?

    by , 03-03-2012 at 08:42 AM
    Quote Originally Posted by heart_throbber View Post
    Hi all,
    I have 2 DTOs & 2 Entities, 1 controller & 1 service implementation over here.

    Now, my problem is at the service implementation setStates. I dont know how to set states to address entity from addressDTO's getStatesList. because address entity includes state entity while addressDTO using stateDTO .

    My Address Entity:
    Java Code:
    public class Address
    {
        private List<State> states;
    
        public List<State>
    ...
    Categories
    Uncategorized