Package com.storedobject.common
Class CHAddress
java.lang.Object
com.storedobject.common.Address
com.storedobject.common.CHAddress
-
Method Summary
Modifier and TypeMethodDescriptionGet the caption for the "area" line.Get the caption for the Post Box.intWhat is the maximum length of the postal code?Methods inherited from class com.storedobject.common.Address
arrangeLines, check, check, copy, create, create, encode, getApartmentName, getAreaName, getBuildingName, getCountry, getExtraLines, getHouseName, getLine, getOfficeName, getPOBox, getPostalCode, getPostalCodeCaption, getPostalCodeMinLength, getStreetName, getType, getTypeValue, getTypeValue, getTypeValues, getVillaName, isNumericPostalCode, isPOBoxAddress, isPostalCodeAddress, isPostalCodeMandatory, isValid, poBoxPrefix, poBoxSuffix, setApartmentName, setAreaName, setBuildingName, setHouseName, setLine, setOfficeName, setPOBox, setPostalCode, setStreetName, setType, setVillaName, toString, toString, validate
-
Method Details
-
getPostalCodeMaxLength
public int getPostalCodeMaxLength()Description copied from class:AddressWhat is the maximum length of the postal code?- Overrides:
getPostalCodeMaxLengthin classAddress- Returns:
- Maximum required length of the postal code.
-
getPOBoxName
Description copied from class:AddressGet the caption for the Post Box.- Overrides:
getPOBoxNamein classAddress- Returns:
- Default implementation returns "Post Box".
-
getAreaCaption
Description copied from class:AddressGet the caption for the "area" line.- Overrides:
getAreaCaptionin classAddress- Returns:
- Default implementation returns "Area".
-