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 Stringconvert(int lineNumber) getLineCaption(int index) Get the caption for the extra line.intWhat is the maximum length of the postal code?Methods inherited from class com.storedobject.common.XXAddress
getExtraLinesMethods 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:AddressWhat is the maximum length of the postal code?- Overrides:
getPostalCodeMaxLengthin classAddress- Returns:
- Maximum required length of the postal code.
-
convert
- Throws:
SOException
-
getLineCaption
Description copied from class:XXAddressGet the caption for the extra line. If returnednull, the line value will be ignored by the UI.- Overrides:
getLineCaptionin classXXAddress- Parameters:
index- Index.- Returns:
- Caption for the extra line.
-