1 16 17 18 package org.apache.commons.betwixt.introspection; 19 20 import org.apache.commons.betwixt.AddressBean; 21 22 26 public class CompanyBean { 27 28 private String name; 29 private AddressBean registeredAddress; 30 31 public CompanyBean() {} 32 33 public CompanyBean(String name, AddressBean address) 34 { 35 setName(name); 36 setRegisteredAddress(address); 37 } 38 39 40 public String getName() { 41 return name; 42 } 43 44 public AddressBean getRegisteredAddress() { 45 return registeredAddress; 46 } 47 48 public void setName(String string) { 49 name = string; 50 } 51 52 public void setRegisteredAddress(AddressBean bean) { 53 registeredAddress = bean; 54 } 55 56 } 57 | Popular Tags |