appendTextChild(ejbNode, EjbTagNames.ABSTRACT_SCHEMA_NAME, cmpDesc.getAbstractSchemaName());
// cmp-field*
CmpFieldNode cmpNode = new CmpFieldNode();
for (Iterator fields = cmpDesc.getPersistenceDescriptor().getCMPFields().iterator();fields.hasNext();) {
FieldDescriptor aField = (FieldDescriptor) fields.next();
cmpNode.writeDescriptor(ejbNode, EjbTagNames.CMP_FIELD, aField);
}
if ( cmpDesc.getPrimaryKeyFieldDesc()!=null) {
appendTextChild(ejbNode, EjbTagNames.PRIMARY_KEY_FIELD, cmpDesc.getPrimaryKeyFieldDesc().getName());
}