View Javadoc

1   package org.appfuse.webapp.client.proxies;
2   
3   import javax.validation.constraints.Size;
4   
5   import org.appfuse.model.Address;
6   
7   import com.google.web.bindery.requestfactory.shared.ProxyFor;
8   import com.google.web.bindery.requestfactory.shared.ValueProxy;
9   
10  @ProxyFor(Address.class)
11  public interface AddressProxy extends ValueProxy {
12  
13      @Size(max = 150)
14      String getAddress();
15  
16      @Size(max = 50)
17      String getCity();
18  
19      @Size(max = 100)
20      String getProvince();
21  
22      @Size(max = 100)
23      String getCountry();
24  
25      @Size(max = 15)
26      String getPostalCode();
27  
28      void setAddress(String address);
29  
30      void setCity(String city);
31  
32      void setCountry(String country);
33  
34      void setPostalCode(String postalCode);
35  
36      void setProvince(String province);
37  
38  }