@AccessLevel(value=EXTERNAL)
public abstract class AddressFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static short |
kAddressElementMinLength |
protected static short |
kAddressFirstLine |
protected static short |
kAddressLineOffset |
protected static char |
kEquals |
protected static int |
kEqualsLen |
protected static int |
kMaxAddressDataSize |
protected static int |
kMaxAddressLineSize |
protected static short |
kOtherAddressLinesCount |
protected static int |
kTabDelimiterLen |
Constructor and Description |
---|
AddressFormat() |
Modifier and Type | Method and Description |
---|---|
abstract curam.core.struct.AddressLineList |
getAddressAsList(curam.core.struct.OtherAddressData otherAddressData)
Method returns address as vector of strings.
|
abstract curam.core.struct.OtherAddressData |
getLongFormat(curam.core.struct.OtherAddressData addressDataString)
Given an address in OtherAddressData format, get address data
as list by calling method getAddressAsList.
|
abstract curam.core.struct.OtherAddressData |
getShortFormat(curam.core.struct.OtherAddressData addressDataString)
This method uses environment variable "ENV_ADDRESSSTRINGFORMAT"
to frame short format of the address.
|
curam.core.struct.EmptyIndStruct |
isEmpty(curam.core.struct.OtherAddressData details)
This method checks addressData string in OtherAddressData object is empty.
|
curam.core.struct.EqualIndStruct |
isEqual(curam.core.struct.OtherAddressData firstAddressData,
curam.core.struct.OtherAddressData secondAddressData)
This method compares addressData and returns whether they are equal or not.
|
protected static final int kTabDelimiterLen
protected static final int kEqualsLen
protected static final char kEquals
protected static final int kMaxAddressDataSize
protected static final int kMaxAddressLineSize
protected static final short kAddressElementMinLength
protected static final short kAddressFirstLine
protected static final short kOtherAddressLinesCount
protected static final short kAddressLineOffset
@AccessLevel(value=EXTERNAL) public curam.core.struct.EmptyIndStruct isEmpty(curam.core.struct.OtherAddressData details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OtherAddressData
- curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.struct.EqualIndStruct isEqual(curam.core.struct.OtherAddressData firstAddressData, curam.core.struct.OtherAddressData secondAddressData) throws curam.util.exception.AppException, curam.util.exception.InformationalException
OtherAddressData
- OtherAddressData
- curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public abstract curam.core.struct.OtherAddressData getShortFormat(curam.core.struct.OtherAddressData addressDataString) throws curam.util.exception.AppException, curam.util.exception.InformationalException
addressDataString
- curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public abstract curam.core.struct.OtherAddressData getLongFormat(curam.core.struct.OtherAddressData addressDataString) throws curam.util.exception.AppException, curam.util.exception.InformationalException
addressDataString
- curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public abstract curam.core.struct.AddressLineList getAddressAsList(curam.core.struct.OtherAddressData otherAddressData) throws curam.util.exception.AppException, curam.util.exception.InformationalException
addressDataString
- contains address ID.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.