Class ChineseUnitAddressForm
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.forms.AddressForm
de.hybris.platform.chinesecommerceorgaddressaddon.forms.ChineseUnitAddressForm
This is chinese address form which adds four more fields(cityIso,districtIso,cellphone,fullname)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotBlank(message="{address.cellphone.invalid}") String@NotBlank(message="{address.city.required}") String@NotBlank(message="{address.district.required}") String@NotNull(message="{address.fullname.required}") @Size(max=255,message="{address.maxlength}") StringvoidsetCellphone(String cellphone) voidsetCityIso(String cityIso) voidsetDistrictIso(String districtIso) voidsetFullname(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 Details
-
ATTR_CELLPHONE
- See Also:
-
-
Constructor Details
-
ChineseUnitAddressForm
public ChineseUnitAddressForm()
-
-
Method Details
-
getCityIso
@NotBlank(message="{address.city.required}") public @NotBlank(message="{address.city.required}") String getCityIso() -
setCityIso
-
getDistrictIso
@NotBlank(message="{address.district.required}") public @NotBlank(message="{address.district.required}") String getDistrictIso() -
setDistrictIso
-
getCellphone
@NotBlank(message="{address.cellphone.invalid}") public @NotBlank(message="{address.cellphone.invalid}") String getCellphone() -
setCellphone
-
getFullname
@NotNull(message="{address.fullname.required}") @Size(max=255, message="{address.maxlength}") public @NotNull(message="{address.fullname.required}") @Size(max=255,message="{address.maxlength}") String getFullname() -
setFullname
-