Skip to content

Instantly share code, notes, and snippets.

@lonelydimple
Created August 28, 2013 17:57
Show Gist options
  • Select an option

  • Save lonelydimple/6369131 to your computer and use it in GitHub Desktop.

Select an option

Save lonelydimple/6369131 to your computer and use it in GitHub Desktop.
field list for NNAPP conversions
public String get(String fieldName) {
if (fieldName.equals("txtWrittenAmount")) {
return getWrittenAmount();
} else if (fieldName.equals("txtAmount")) {
return getBondAmount();
} else if (fieldName.equals("txtBondNo")) {
return getBondNumber();
} else if (fieldName.equals("txtPremium")) {
return getPremium();
} else if (fieldName.equals("txtPrincipal")) {
return getPrincipal();
} else if (fieldName.equals("txtPrincipal_1a")) {
return "";
} else if (fieldName.equals("txtPrincipal_1b")) {
return getPrincipal();
} else if (fieldName.equals("txtPrincipalDBA")) {
return getDba();
} else if (fieldName.equals("txtPrincipalDBA_1a")) {
return "";
} else if (fieldName.equals("txtPrincipalDBA_1b")) {
return getDba();
} else if (fieldName.equals("txtPrincipalDBA_1add")) {
return "";
} else if (fieldName.equals("txtPrincipalDBA_1bdd")) {
return getDba();
} else if (fieldName.equals("txtPrincipalAddress")) {
return getAddress();
} else if (fieldName.equals("txtPrincipalAddress1")) {
return getAddress();
} else if (fieldName.equals("txtPrincipalAddress2")) {
return getAddress();
} else if (fieldName.equals("txtPrincipalCity")) {
return getCity();
} else if (fieldName.equals("txtPrincipalCityState")) {
return getCityState();
} else if (fieldName.equals("txtPrincipalCityStZip")) {
return getCityStateZip();
} else if (fieldName.equals("txtPrincipalState")) {
return getState();
} else if (fieldName.equals("txtPrincipalZip")) {
return getZip();
} else if (fieldName.equals("txtPrincipalMailingAdd")) {
return getPrincipalMailingAdd();
} else if (fieldName.equals("txtPrincipalCounty")) {
return getCounty();
} else if (fieldName.equals("txtExecDate")) {
return getExecDate();
} else if (fieldName.equals("txtExecDateDay")) {
return getExecDateDay();
} else if (fieldName.equals("txtExecDateMonth")) {
return getExecDateMonth();
} else if (fieldName.equals("txtExecDateYearYY")) {
return getExecDateYearYY();
} else if (fieldName.equals("txtExecDateYearYYYY")) {
return getExecDateYearYYYY();
} else if (fieldName.equals("txtExecDateMonthDay")) {
return getExecDateMonthDay();
} else if (fieldName.equals("txtEffDate")) {
return getEffDate();
} else if (fieldName.equals("txtEffDateDay")) {
return getEffDateDay();
} else if (fieldName.equals("txtEffDateMonth")) {
return getEffDateMonth();
} else if (fieldName.equals("txtEffDateYearYY")) {
return getEffDateYearYY();
} else if (fieldName.equals("txtEffDateYearYYYY")) {
return getEffDateYearYYYY();
} else if (fieldName.equals("txtEffDateMonthDay")) {
return getEffDateMonthDay();
} else if (fieldName.equals("txtExpDate")) {
return getExpDate();
} else if (fieldName.equals("txtExpDateDay")) {
return getExpDateDay();
} else if (fieldName.equals("txtExpDateMonth")) {
return getExpDateMonth();
} else if (fieldName.equals("txtExpDateYearYY")) {
return getExpDateYearYY();
} else if (fieldName.equals("txtExpDateYearYYYY")) {
return getExpDateYearYYYY();
} else if (fieldName.equals("txtExpDateMonthDay")) {
return getExpDateMonthDay();
} else if (fieldName.equals("txtPremiumYear")) {
return getTerm();
} else if (fieldName.equals("txtAttorneyInFact")) {
return getAif();
} else if (fieldName.equals("txtNPName")) {
return getNotaryName();
} else if (fieldName.equals("txtNPSig")) {
return "";
} else if (fieldName.equals("txtCNAPFlg")) {
return getCNAPFlg();
} else if (fieldName.equals("txtID")) {
return getNotaryId();
} else if (fieldName.equals("txtInsurerID")) {
return "600";
} else if (fieldName.equals("txtAuto")) {
return getAutoValue();
} else {
return "";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment