public String getMeterBrandDesc() { String vaRtn = ""; if (meterBrandCode != null && meterBrandCode.length() > 0) { if (meterBrandInfo != null) { vaRtn = meterBrandInfo.getMeterBrandDesc().replaceAll("\"", """); } } return vaRtn; }
public String getMeterBrandDisplayForGrid() { String vaRtn = ""; if (meterBrandCode != null && meterBrandInfo != null) { vaRtn = meterBrandCode + " - " + meterBrandInfo .getMeterBrandDesc() .replaceAll("'", "\\\'") .replaceAll("\"", "\\\\\""); } return vaRtn; }