A calculated attribute is read only and based on other attributes inside the same element.
Inside the java class create Customization Java Class create the following method:
Code Block | ||
---|---|---|
| ||
@CalculatedAttr public String getFullName(XMLDCElement employee) { return employee.get("firstName") + " " + employee.get("lastName"); } |
...