@GroupSequence(value={Address.class,Address.HighLevelCoherence.class,Address.ExtraCareful.class}) @ZipCodeCityCoherence(groups=Address.HighLevelCoherence.class) public class Address extends Object implements ZipCodeCityCarrier
Modifier and Type | Class and Description |
---|---|
static interface |
Address.ExtraCareful
Extra-careful validation group.
|
static interface |
Address.HighLevelCoherence
check coherence on the overall object
Needs basic checking to be green first
|
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
String |
getCity() |
String |
getStreet1() |
String |
getZipCode() |
void |
setCity(String city) |
void |
setStreet1(String street1) |
void |
setZipCode(String zipCode) |
public String getStreet1()
public void setStreet1(String street1)
public String getZipCode()
getZipCode
in interface ZipCodeCityCarrier
public void setZipCode(String zipCode)
public String getCity()
getCity
in interface ZipCodeCityCarrier
public void setCity(String city)
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.