A a = new A();
Name name = new Name();
name.setFirstName("Albert");
name.setLastName("Einstein");
a.assignTheName(name);
Address address = new Address();
address.city = "Somewhere";
address.country = "Germany";
address.postalCode = "A1234FG";
address.street = "1234 Easy St.";
a.setAddress(address);