2014-07-18 62 views

回答

2

看一看JAXB Fluent API Plugin

USAddress address = new USAddress() 
      .withName(name) 
      .withStreet(street) 
      .withCity(city) 
      .withState(state) 
      .withZip(new BigDecimal(zip)); 
相关问题