Package com.storedobject.common
Class IDAddress
java.lang.Object
com.storedobject.common.Address
com.storedobject.common.XXAddress
com.storedobject.common.IDAddress
ID Address
line[0]: City/Town (required)
line[1]: Province (optional)
line[0]: City/Town (required)
line[1]: Province (optional)
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
convert
(int lineNumber) getLineCaption
(int index) Get the caption for the extra line.int
What is the maximum length of the postal code?Methods inherited from class com.storedobject.common.XXAddress
getExtraLines
Methods inherited from class com.storedobject.common.Address
arrangeLines, check, check, copy, create, create, encode, getApartmentName, getAreaCaption, getAreaName, getBuildingName, getCountry, getHouseName, getLine, getOfficeName, getPOBox, getPOBoxName, 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.
-
convert
- Throws:
SOException
-
getLineCaption
Description copied from class:XXAddress
Get the caption for the extra line. If returnednull
, the line value will be ignored by the UI.- Overrides:
getLineCaption
in classXXAddress
- Parameters:
index
- Index.- Returns:
- Caption for the extra line.
-