XmlElement descriptionElement = configElement.addElement(GraphSchema.NS, DESCRIPTION_TAG);
descriptionElement.addChild(this.description);
}
if (this.parameterType != null) {
XmlElement qnameElement = configElement.addElement(GraphSchema.NS, DATA_TYPE_QNAME_TAG);
qnameElement.addChild(this.parameterType.toString());
}
if (this.metadata != null) {
XmlElement metadataElement = configElement.addElement(GraphSchema.NS, METADATA_TAG);
// Clone the metadata to avoid parent problem because this can be
// called multiple times.