Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java ModelMapper class

// Assume getters and setters on each class
class Order {
  Customer customer;
  Address billingAddress;
}

class Customer {
  Name name;
}

class Name {
  String firstName;
  String lastName;
}

class Address {
  String street;
  String city;
}
Source by modelmapper.org #
 
PREVIOUS NEXT
Tagged: #java #ModelMapper #class
ADD COMMENT
Topic
Name
2+7 =