descriptor.addMapping(getNameAttributeMapping());
descriptor.addMapping(getDataTypeAttributeMapping());
descriptor.addMapping(getObjectTypeAttributeMapping());
XMLCompositeCollectionMapping conversionValuesMapping = new XMLCompositeCollectionMapping();
conversionValuesMapping.setAttributeName("m_conversionValues");
conversionValuesMapping.setGetMethodName("getConversionValues");
conversionValuesMapping.setSetMethodName("setConversionValues");
conversionValuesMapping.setReferenceClass(ConversionValueMetadata.class);
conversionValuesMapping.setXPath("orm:conversion-value");
descriptor.addMapping(conversionValuesMapping);
XMLDirectMapping defaultObjectMapping = new XMLDirectMapping();
defaultObjectMapping.setAttributeName("m_defaultObjectValue");
defaultObjectMapping.setGetMethodName("getDefaultObjectValue");