Package com.storedobject.common
Class GBAddress
java.lang.Object
com.storedobject.common.Address
com.storedobject.common.GBAddress
-
Method Summary
Modifier and TypeMethodDescriptionGet the caption for the "area" line.intGet the number of extra lines.Get the caption for the Postal Code.intWhat is the maximum length of the postal code?intWhat is the minimum length of the postal code?booleanWhether the postal code is numeric or not.voidsetPostTown(String postTown) Methods inherited from class com.storedobject.common.Address
arrangeLines, check, check, copy, create, create, encode, getApartmentName, getAreaName, getBuildingName, getCountry, getHouseName, getLine, getOfficeName, getPOBox, getPOBoxName, getPostalCode, getStreetName, getType, getTypeValue, getTypeValue, getTypeValues, getVillaName, 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.
-
getPostalCodeMinLength
public int getPostalCodeMinLength()Description copied from class:AddressWhat is the minimum length of the postal code?- Overrides:
getPostalCodeMinLengthin classAddress- Returns:
- Minimum required length of the postal code.
-
getExtraLines
public int getExtraLines()Description copied from class:AddressGet the number of extra lines.- Overrides:
getExtraLinesin classAddress- Returns:
- Number of extra lines in the address.
-
getPostTown
-
setPostTown
-
getPostalCodeCaption
Description copied from class:AddressGet the caption for the Postal Code.- Overrides:
getPostalCodeCaptionin classAddress- Returns:
- Default implementation returns "Postal Code".
-
isNumericPostalCode
public boolean isNumericPostalCode()Description copied from class:AddressWhether the postal code is numeric or not.- Overrides:
isNumericPostalCodein classAddress- Returns:
- True if numeric. False if alpha-numeric.
-
getAreaCaption
Description copied from class:AddressGet the caption for the "area" line.- Overrides:
getAreaCaptionin classAddress- Returns:
- Default implementation returns "Area".
-