public class CommonContractConfig extends Config
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PREFIX |
Constructor and Description |
---|
CommonContractConfig(ParameterMap config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatCommonContractNumber(CommonContract commonContract) |
java.lang.String |
formatServiceContractNumber(CommonContract commonContract,
int serviceCode) |
int |
getAddressParamId() |
java.util.Set<java.lang.Integer> |
getAreas() |
java.lang.Integer |
getCityAreaId(int cityId) |
java.util.HashSet<java.lang.Integer> |
getCityAreaMap() |
int |
getCustomerAddressParamId() |
int |
getNumberLength() |
intListToArray, longListToArray, patternListToArray, stringListToArray, toArray
public static final java.lang.String CONFIG_PREFIX
public CommonContractConfig(ParameterMap config)
public int getCustomerAddressParamId()
public int getAddressParamId()
public java.lang.Integer getCityAreaId(int cityId)
public java.util.HashSet<java.lang.Integer> getCityAreaMap()
public java.util.Set<java.lang.Integer> getAreas()
public java.lang.String formatCommonContractNumber(CommonContract commonContract)
public java.lang.String formatServiceContractNumber(CommonContract commonContract, int serviceCode)
public int getNumberLength()