Class ChineseUnitAddressForm
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.forms.AddressForm
-
- de.hybris.platform.chinesecommerceorgaddressaddon.forms.ChineseUnitAddressForm
-
public class ChineseUnitAddressForm extends AddressForm
This is chinese address form which adds four more fields(cityIso,districtIso,cellphone,fullname)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_CELLPHONE
-
Constructor Summary
Constructors Constructor Description ChineseUnitAddressForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotBlank(message="{address.cellphone.invalid}") java.lang.StringgetCellphone()@NotNull(message="{address.city.required}") java.lang.StringgetCityIso()@NotNull(message="{address.district.required}") java.lang.StringgetDistrictIso()@NotNull(message="{address.fullname.required}") @Size(max=255,message="{address.maxlength}") java.lang.StringgetFullname()voidsetCellphone(java.lang.String cellphone)voidsetCityIso(java.lang.String cityIso)voidsetDistrictIso(java.lang.String districtIso)voidsetFullname(java.lang.String fullname)-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.forms.AddressForm
getAddressId, getBillingAddress, getCountryIso, getDefaultAddress, getEditAddress, getFirstName, getLastName, getLine1, getLine2, getPhone, getPostcode, getRegionIso, getSaveInAddressBook, getShippingAddress, getTitleCode, getTownCity, setAddressId, setBillingAddress, setCountryIso, setDefaultAddress, setEditAddress, setFirstName, setLastName, setLine1, setLine2, setPhone, setPostcode, setRegionIso, setSaveInAddressBook, setShippingAddress, setTitleCode, setTownCity
-
-
-
-
Field Detail
-
ATTR_CELLPHONE
public static final java.lang.String ATTR_CELLPHONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCityIso
@NotNull(message="{address.city.required}") public @NotNull(message="{address.city.required}") java.lang.String getCityIso()
-
setCityIso
public void setCityIso(java.lang.String cityIso)
-
getDistrictIso
@NotNull(message="{address.district.required}") public @NotNull(message="{address.district.required}") java.lang.String getDistrictIso()
-
setDistrictIso
public void setDistrictIso(java.lang.String districtIso)
-
getCellphone
@NotBlank(message="{address.cellphone.invalid}") public @NotBlank(message="{address.cellphone.invalid}") java.lang.String getCellphone()
-
setCellphone
public void setCellphone(java.lang.String cellphone)
-
getFullname
@NotNull(message="{address.fullname.required}") @Size(max=255, message="{address.maxlength}") public @NotNull(message="{address.fullname.required}") @Size(max=255,message="{address.maxlength}") java.lang.String getFullname()
-
setFullname
public void setFullname(java.lang.String fullname)
-
-