/** * */ public String getDescription() { return parent.getDescription(); }
protected String getFieldMapping(JRField field) { return field.getDescription(); }
public String getPropertyName(JRField field) { if (field.getDescription() == null) { return field.getName(); } return field.getDescription(); } };
return null; String expression = jrField.getDescription(); if (expression == null || expression.length() == 0) return null;
String expression = field.getDescription();
/** * */ protected JRBaseField(JRField field, JRBaseObjectFactory factory) { factory.put(field, this); name = field.getName(); description = field.getDescription(); valueClassName = field.getValueClassName(); this.propertiesMap = field.getPropertiesMap().cloneProperties(); }
/** * */ private void writeField(JRField field) throws IOException { writer.startElement(JRXmlConstants.ELEMENT_field); writer.addEncodedAttribute(JRXmlConstants.ATTRIBUTE_name, field.getName()); writer.addAttribute(JRXmlConstants.ATTRIBUTE_class, field.getValueClassName()); writeProperties(field); writer.writeCDATAElement(JRXmlConstants.ELEMENT_fieldDescription, field.getDescription()); writer.closeElement(); }