|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICodeMapping
This interface represents the code mapping between a code and its refence code.
| Method Summary | |
|---|---|
java.lang.String |
getCode()
Get the code |
int |
getIdCode()
Get the id code |
java.lang.String |
getLabelCode()
Get the label code |
java.lang.String |
getLabelReferenceCode(java.util.Locale locale)
Get the labem reference code |
IMappingType |
getMappingType()
Get the mapping type |
java.lang.String |
getReferenceCode()
Get the reference code |
boolean |
isStrict()
Check if the code mapping is in strict mode. |
void |
setCode(java.lang.String strCode)
Set the code |
void |
setIdCode(int nIdCode)
Set the id code |
void |
setLabelCode(java.lang.String strLabel)
Set the label code |
void |
setMappingType(IMappingType mappingType)
Set the mapping type |
void |
setReferenceCode(java.lang.String strReferenceCode)
Set the reference code |
void |
setStrict(boolean bIsStrict)
In strict mode, the reference code must be UNIQUE along with the code and the mapping type key. |
| Method Detail |
|---|
int getIdCode()
void setIdCode(int nIdCode)
nIdCode - the id codejava.lang.String getCode()
void setCode(java.lang.String strCode)
strCode - the codejava.lang.String getLabelCode()
void setLabelCode(java.lang.String strLabel)
strLabel - the label codejava.lang.String getReferenceCode()
void setReferenceCode(java.lang.String strReferenceCode)
strReferenceCode - the reference codejava.lang.String getLabelReferenceCode(java.util.Locale locale)
locale - the Locale
IMappingType getMappingType()
void setMappingType(IMappingType mappingType)
mappingType - the mapping typeboolean isStrict()
void setStrict(boolean bIsStrict)
isStrict() == true)
bIsStrict - true if the code mapping is in strict mode, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||