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.int
What 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:Address
What is the maximum length of the postal code?- Overrides:
getPostalCodeMaxLength
in classAddress
- Returns:
- Maximum required length of the postal code.
-
getPOBoxName
Description copied from class:Address
Get the caption for the Post Box.- Overrides:
getPOBoxName
in classAddress
- Returns:
- Default implementation returns "Post Box".
-
getAreaCaption
Description copied from class:Address
Get the caption for the "area" line.- Overrides:
getAreaCaption
in classAddress
- Returns:
- Default implementation returns "Area".
-