Program: 66391
Project: 66391
Buggy source:
protected ClassDescriptor buildClassDescriptorDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ClassDescriptor.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  descriptor.getInheritancePolicy().setClassIndicatorField(new XMLField("String_Node_Str"));
  descriptor.getInheritancePolicy().addClassIndicator(ClassDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(RelationalDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(ObjectRelationalDataTypeDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(EISDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(XMLDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(ClassDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getEventManager().setPostBuildSelector("String_Node_Str");
  XMLDirectMapping javaClassMapping=new XMLDirectMapping();
  javaClassMapping.setAttributeName("String_Node_Str");
  javaClassMapping.setGetMethodName("String_Node_Str");
  javaClassMapping.setSetMethodName("String_Node_Str");
  javaClassMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(javaClassMapping);
  XMLDirectMapping aliasMapping=new XMLDirectMapping();
  aliasMapping.setAttributeName("String_Node_Str");
  aliasMapping.setGetMethodName("String_Node_Str");
  aliasMapping.setSetMethodName("String_Node_Str");
  aliasMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(aliasMapping);
  XMLCompositeCollectionMapping primaryKeyFieldNamesMapping=new XMLCompositeCollectionMapping();
  primaryKeyFieldNamesMapping.setAttributeName("String_Node_Str");
  primaryKeyFieldNamesMapping.setReferenceClass(DatabaseField.class);
  primaryKeyFieldNamesMapping.setGetMethodName("String_Node_Str");
  primaryKeyFieldNamesMapping.setSetMethodName("String_Node_Str");
  primaryKeyFieldNamesMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  primaryKeyFieldNamesMapping.useCollectionClass(ArrayList.class);
  descriptor.addMapping(primaryKeyFieldNamesMapping);
  XMLDirectMapping descriptorIsReadOnlyMapping=new XMLDirectMapping();
  descriptorIsReadOnlyMapping.setAttributeName("String_Node_Str");
  descriptorIsReadOnlyMapping.setGetMethodName("String_Node_Str");
  descriptorIsReadOnlyMapping.setSetMethodName("String_Node_Str");
  descriptorIsReadOnlyMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptorIsReadOnlyMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(descriptorIsReadOnlyMapping);
  XMLCompositeObjectMapping inheritancePolicyMapping=new XMLCompositeObjectMapping();
  inheritancePolicyMapping.setAttributeName("String_Node_Str");
  inheritancePolicyMapping.setGetMethodName("String_Node_Str");
  inheritancePolicyMapping.setSetMethodName("String_Node_Str");
  inheritancePolicyMapping.setReferenceClass(InheritancePolicy.class);
  inheritancePolicyMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(inheritancePolicyMapping);
  XMLCompositeObjectMapping eventManagerMapping=new XMLCompositeObjectMapping();
  eventManagerMapping.setAttributeName("String_Node_Str");
  eventManagerMapping.setGetMethodName("String_Node_Str");
  eventManagerMapping.setSetMethodName("String_Node_Str");
  eventManagerMapping.setReferenceClass(DescriptorEventManager.class);
  eventManagerMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(eventManagerMapping);
  XMLCompositeObjectMapping queryManagerMapping=new XMLCompositeObjectMapping();
  queryManagerMapping.setAttributeName("String_Node_Str");
  queryManagerMapping.setGetMethodName("String_Node_Str");
  queryManagerMapping.setSetMethodName("String_Node_Str");
  queryManagerMapping.setReferenceClass(DescriptorQueryManager.class);
  queryManagerMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(queryManagerMapping);
  XMLCompositeCollectionMapping aggregateCollectionMapping=new XMLCompositeCollectionMapping();
  aggregateCollectionMapping.useCollectionClass(NonSynchronizedVector.class);
  aggregateCollectionMapping.setAttributeName("String_Node_Str");
  aggregateCollectionMapping.setReferenceClass(DatabaseMapping.class);
  aggregateCollectionMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  aggregateCollectionMapping.setSetMethodName("String_Node_Str");
  aggregateCollectionMapping.setGetMethodName("String_Node_Str");
  descriptor.addMapping(aggregateCollectionMapping);
  XMLDirectMapping descriptorTypeMapping=new XMLDirectMapping();
  descriptorTypeMapping.setAttributeName("String_Node_Str");
  descriptorTypeMapping.setGetMethodName("String_Node_Str");
  descriptorTypeMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter descriptorTypeConverter=new ObjectTypeConverter();
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeMapping.setConverter(descriptorTypeConverter);
  descriptorTypeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(descriptorTypeMapping);
  XMLCompositeObjectMapping interfacePolicyMapping=new XMLCompositeObjectMapping();
  interfacePolicyMapping.setAttributeName("String_Node_Str");
  interfacePolicyMapping.setGetMethodName("String_Node_Str");
  interfacePolicyMapping.setSetMethodName("String_Node_Str");
  interfacePolicyMapping.setReferenceClass(InterfacePolicy.class);
  interfacePolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(interfacePolicyMapping);
  XMLCompositeObjectMapping lockingPolicyMapping=new XMLCompositeObjectMapping();
  lockingPolicyMapping.setAttributeName("String_Node_Str");
  lockingPolicyMapping.setGetMethodName("String_Node_Str");
  lockingPolicyMapping.setSetMethodName("String_Node_Str");
  lockingPolicyMapping.setReferenceClass(VersionLockingPolicy.class);
  lockingPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(lockingPolicyMapping);
  XMLDirectMapping sequenceNameMapping=new XMLDirectMapping();
  sequenceNameMapping.setAttributeName("String_Node_Str");
  sequenceNameMapping.setGetMethodName("String_Node_Str");
  sequenceNameMapping.setSetMethodName("String_Node_Str");
  sequenceNameMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(sequenceNameMapping);
  XMLCompositeObjectMapping sequenceFieldMapping=new XMLCompositeObjectMapping();
  sequenceFieldMapping.setAttributeName("String_Node_Str");
  sequenceFieldMapping.setGetMethodName("String_Node_Str");
  sequenceFieldMapping.setSetMethodName("String_Node_Str");
  sequenceFieldMapping.setReferenceClass(DatabaseField.class);
  sequenceFieldMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(sequenceFieldMapping);
  XMLDirectMapping identityMapClassMapping=new XMLDirectMapping();
  identityMapClassMapping.setAttributeName("String_Node_Str");
  identityMapClassMapping.setGetMethodName("String_Node_Str");
  identityMapClassMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter identityMapClassConverter=new ObjectTypeConverter();
  identityMapClassConverter.addConversionValue("String_Node_Str",NoIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",FullIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",CacheIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",WeakIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",SoftCacheWeakIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",HardCacheWeakIdentityMap.class);
  identityMapClassMapping.setConverter(identityMapClassConverter);
  identityMapClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  identityMapClassMapping.setNullValue(SoftCacheWeakIdentityMap.class);
  descriptor.addMapping(identityMapClassMapping);
  XMLDirectMapping remoteIdentityMapClassMapping=new XMLDirectMapping();
  remoteIdentityMapClassMapping.setAttributeName("String_Node_Str");
  remoteIdentityMapClassMapping.setGetMethodName("String_Node_Str");
  remoteIdentityMapClassMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter remoteIdentityMapClassConverter=new ObjectTypeConverter();
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",NoIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",FullIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",CacheIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",WeakIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",SoftCacheWeakIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",HardCacheWeakIdentityMap.class);
  remoteIdentityMapClassMapping.setConverter(remoteIdentityMapClassConverter);
  remoteIdentityMapClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  remoteIdentityMapClassMapping.setNullValue(SoftCacheWeakIdentityMap.class);
  descriptor.addMapping(remoteIdentityMapClassMapping);
  XMLDirectMapping identityMapSizeMapping=new XMLDirectMapping();
  identityMapSizeMapping.setAttributeName("String_Node_Str");
  identityMapSizeMapping.setGetMethodName("String_Node_Str");
  identityMapSizeMapping.setSetMethodName("String_Node_Str");
  identityMapSizeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  identityMapSizeMapping.setNullValue(Integer.valueOf(100));
  descriptor.addMapping(identityMapSizeMapping);
  XMLDirectMapping remoteIdentityMapSizeMapping=new XMLDirectMapping();
  remoteIdentityMapSizeMapping.setAttributeName("String_Node_Str");
  remoteIdentityMapSizeMapping.setGetMethodName("String_Node_Str");
  remoteIdentityMapSizeMapping.setSetMethodName("String_Node_Str");
  remoteIdentityMapSizeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  remoteIdentityMapSizeMapping.setNullValue(Integer.valueOf(100));
  descriptor.addMapping(remoteIdentityMapSizeMapping);
  XMLDirectMapping shouldAlwaysRefreshCacheMapping=new XMLDirectMapping();
  shouldAlwaysRefreshCacheMapping.setAttributeName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysRefreshCacheMapping);
  XMLDirectMapping shouldAlwaysRefreshCacheOnRemoteMapping=new XMLDirectMapping();
  shouldAlwaysRefreshCacheOnRemoteMapping.setAttributeName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysRefreshCacheOnRemoteMapping);
  XMLDirectMapping shouldOnlyRefreshCacheIfNewerVersionMapping=new XMLDirectMapping();
  shouldOnlyRefreshCacheIfNewerVersionMapping.setAttributeName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setGetMethodName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setSetMethodName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldOnlyRefreshCacheIfNewerVersionMapping);
  XMLDirectMapping shouldDisableCacheHitsMapping=new XMLDirectMapping();
  shouldDisableCacheHitsMapping.setAttributeName("String_Node_Str");
  shouldDisableCacheHitsMapping.setGetMethodName("String_Node_Str");
  shouldDisableCacheHitsMapping.setSetMethodName("String_Node_Str");
  shouldDisableCacheHitsMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldDisableCacheHitsMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldDisableCacheHitsMapping);
  XMLDirectMapping shouldDisableCacheHitsOnRemoteMapping=new XMLDirectMapping();
  shouldDisableCacheHitsOnRemoteMapping.setAttributeName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setGetMethodName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setSetMethodName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldDisableCacheHitsOnRemoteMapping);
  XMLDirectMapping shouldAlwaysConformResultsInUnitOfWorkMapping=new XMLDirectMapping();
  shouldAlwaysConformResultsInUnitOfWorkMapping.setAttributeName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysConformResultsInUnitOfWorkMapping);
  XMLDirectMapping isIsolatedMapping=new XMLDirectMapping();
  isIsolatedMapping.setAttributeName("String_Node_Str");
  isIsolatedMapping.setGetMethodName("String_Node_Str");
  isIsolatedMapping.setSetMethodName("String_Node_Str");
  isIsolatedMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  isIsolatedMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(isIsolatedMapping);
  XMLDirectMapping unitOfWorkCacheIsolationLevelMapping=new XMLDirectMapping();
  unitOfWorkCacheIsolationLevelMapping.setAttributeName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setGetMethodName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setSetMethodName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  ObjectTypeConverter unitOfWorkCacheIsolationLevelConverter=new ObjectTypeConverter();
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.USE_SESSION_CACHE_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_NEW_DATA_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_CACHE_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_CACHE_ALWAYS));
  unitOfWorkCacheIsolationLevelMapping.setConverter(unitOfWorkCacheIsolationLevelConverter);
  unitOfWorkCacheIsolationLevelMapping.setNullValue(Integer.valueOf(ClassDescriptor.ISOLATE_NEW_DATA_AFTER_TRANSACTION));
  descriptor.addMapping(unitOfWorkCacheIsolationLevelMapping);
  XMLCompositeObjectMapping cacheInvalidationPolicyMapping=new XMLCompositeObjectMapping();
  cacheInvalidationPolicyMapping.setAttributeName("String_Node_Str");
  cacheInvalidationPolicyMapping.setReferenceClass(CacheInvalidationPolicy.class);
  cacheInvalidationPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(cacheInvalidationPolicyMapping);
  XMLDirectMapping cacheSyncTypeMapping=new XMLDirectMapping();
  cacheSyncTypeMapping.setAttributeName("String_Node_Str");
  cacheSyncTypeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  ObjectTypeConverter cacheSyncTypeConverter=new ObjectTypeConverter();
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.INVALIDATE_CHANGED_OBJECTS));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.DO_NOT_SEND_CHANGES));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.SEND_NEW_OBJECTS_WITH_CHANGES));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.SEND_OBJECT_CHANGES));
  cacheSyncTypeMapping.setConverter(cacheSyncTypeConverter);
  cacheSyncTypeMapping.setNullValue(Integer.valueOf(ClassDescriptor.SEND_OBJECT_CHANGES));
  descriptor.addMapping(cacheSyncTypeMapping);
  XMLCompositeObjectMapping historyPolicyMapping=new XMLCompositeObjectMapping();
  historyPolicyMapping.setAttributeName("String_Node_Str");
  historyPolicyMapping.setGetMethodName("String_Node_Str");
  historyPolicyMapping.setSetMethodName("String_Node_Str");
  historyPolicyMapping.setReferenceClass(HistoryPolicy.class);
  historyPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(historyPolicyMapping);
  XMLCompositeObjectMapping returningPolicyMapping=new XMLCompositeObjectMapping();
  returningPolicyMapping.setAttributeName("String_Node_Str");
  returningPolicyMapping.setGetMethodName("String_Node_Str");
  returningPolicyMapping.setSetMethodName("String_Node_Str");
  returningPolicyMapping.setReferenceClass(ReturningPolicy.class);
  returningPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(returningPolicyMapping);
  XMLDirectMapping amendmentClassMapping=new XMLDirectMapping();
  amendmentClassMapping.setAttributeName("String_Node_Str");
  amendmentClassMapping.setGetMethodName("String_Node_Str");
  amendmentClassMapping.setSetMethodName("String_Node_Str");
  amendmentClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(amendmentClassMapping);
  XMLDirectMapping amendmentMethodNameMapping=new XMLDirectMapping();
  amendmentMethodNameMapping.setAttributeName("String_Node_Str");
  amendmentMethodNameMapping.setGetMethodName("String_Node_Str");
  amendmentMethodNameMapping.setSetMethodName("String_Node_Str");
  amendmentMethodNameMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(amendmentMethodNameMapping);
  XMLCompositeObjectMapping instantiationPolicyMapping=new XMLCompositeObjectMapping();
  instantiationPolicyMapping.setAttributeName("String_Node_Str");
  instantiationPolicyMapping.setGetMethodName("String_Node_Str");
  instantiationPolicyMapping.setSetMethodName("String_Node_Str");
  instantiationPolicyMapping.setReferenceClass(InstantiationPolicy.class);
  instantiationPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(instantiationPolicyMapping);
  XMLCompositeObjectMapping copyPolicyMapping=new XMLCompositeObjectMapping();
  copyPolicyMapping.setAttributeName("String_Node_Str");
  copyPolicyMapping.setGetMethodName("String_Node_Str");
  copyPolicyMapping.setSetMethodName("String_Node_Str");
  copyPolicyMapping.setReferenceClass(AbstractCopyPolicy.class);
  copyPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(copyPolicyMapping);
  XMLCompositeCollectionMapping queryKeysMapping=new XMLCompositeCollectionMapping();
  queryKeysMapping.setAttributeName("String_Node_Str");
  queryKeysMapping.setReferenceClass(QueryKey.class);
  queryKeysMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  queryKeysMapping.setSetMethodName("String_Node_Str");
  queryKeysMapping.setGetMethodName("String_Node_Str");
  queryKeysMapping.useMapClass(HashMap.class,"String_Node_Str");
  descriptor.addMapping(queryKeysMapping);
  XMLCompositeObjectMapping cmpPolicyMapping=new XMLCompositeObjectMapping();
  cmpPolicyMapping.setAttributeName("String_Node_Str");
  cmpPolicyMapping.setGetMethodName("String_Node_Str");
  cmpPolicyMapping.setSetMethodName("String_Node_Str");
  cmpPolicyMapping.setReferenceClass(CMPPolicy.class);
  cmpPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(cmpPolicyMapping);
  XMLCompositeObjectMapping fetchGroupManagerMapping=new XMLCompositeObjectMapping();
  fetchGroupManagerMapping.setAttributeName("String_Node_Str");
  fetchGroupManagerMapping.setGetMethodName("String_Node_Str");
  fetchGroupManagerMapping.setSetMethodName("String_Node_Str");
  fetchGroupManagerMapping.setReferenceClass(FetchGroupManager.class);
  fetchGroupManagerMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(fetchGroupManagerMapping);
  XMLCompositeObjectMapping changePolicyMapping=new XMLCompositeObjectMapping();
  changePolicyMapping.setAttributeName("String_Node_Str");
  changePolicyMapping.setReferenceClass(ObjectChangePolicy.class);
  changePolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(changePolicyMapping);
  XMLCompositeCollectionMapping propertiesMapping=new XMLCompositeCollectionMapping();
  propertiesMapping.setAttributeName("String_Node_Str");
  propertiesMapping.setReferenceClass(PropertyAssociation.class);
  propertiesMapping.setAttributeAccessor(new AttributeAccessor(){
    public Object getAttributeValueFromObject(    Object object){
      ClassDescriptor desc=(ClassDescriptor)object;
      Vector propertyAssociations=new NonSynchronizedVector();
      for (Iterator i=desc.getProperties().entrySet().iterator(); i.hasNext(); ) {
        Map.Entry me=(Map.Entry)i.next();
        PropertyAssociation propertyAssociation=new PropertyAssociation();
        propertyAssociation.setKey(me.getKey());
        propertyAssociation.setValue(me.getValue());
        propertyAssociations.add(propertyAssociation);
      }
      return propertyAssociations;
    }
    public void setAttributeValueInObject(    Object object,    Object value){
      ClassDescriptor desc=(ClassDescriptor)object;
      Vector propertyAssociations=(Vector)value;
      for (int i=0; i < propertyAssociations.size(); i++) {
        PropertyAssociation propertyAssociation=(PropertyAssociation)propertyAssociations.get(i);
        desc.getProperties().put(propertyAssociation.getKey(),propertyAssociation.getValue());
      }
    }
  }
);
  propertiesMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(propertiesMapping);
  return descriptor;
}

Fixed version (ground truth):
protected ClassDescriptor buildClassDescriptorDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ClassDescriptor.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  descriptor.getInheritancePolicy().setClassIndicatorField(new XMLField("String_Node_Str"));
  descriptor.getInheritancePolicy().addClassIndicator(ClassDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(RelationalDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(ObjectRelationalDataTypeDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(EISDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(XMLDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(ClassDescriptor.class,getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.getEventManager().setPostBuildSelector("String_Node_Str");
  XMLDirectMapping javaClassMapping=new XMLDirectMapping();
  javaClassMapping.setAttributeName("String_Node_Str");
  javaClassMapping.setGetMethodName("String_Node_Str");
  javaClassMapping.setSetMethodName("String_Node_Str");
  javaClassMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(javaClassMapping);
  XMLDirectMapping aliasMapping=new XMLDirectMapping();
  aliasMapping.setAttributeName("String_Node_Str");
  aliasMapping.setGetMethodName("String_Node_Str");
  aliasMapping.setSetMethodName("String_Node_Str");
  aliasMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(aliasMapping);
  XMLCompositeCollectionMapping primaryKeyFieldNamesMapping=new XMLCompositeCollectionMapping();
  primaryKeyFieldNamesMapping.setAttributeName("String_Node_Str");
  primaryKeyFieldNamesMapping.setReferenceClass(DatabaseField.class);
  primaryKeyFieldNamesMapping.setGetMethodName("String_Node_Str");
  primaryKeyFieldNamesMapping.setSetMethodName("String_Node_Str");
  primaryKeyFieldNamesMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  ((XMLField)primaryKeyFieldNamesMapping.getField()).setLeafElementType(fieldQname);
  primaryKeyFieldNamesMapping.useCollectionClass(ArrayList.class);
  descriptor.addMapping(primaryKeyFieldNamesMapping);
  XMLDirectMapping descriptorIsReadOnlyMapping=new XMLDirectMapping();
  descriptorIsReadOnlyMapping.setAttributeName("String_Node_Str");
  descriptorIsReadOnlyMapping.setGetMethodName("String_Node_Str");
  descriptorIsReadOnlyMapping.setSetMethodName("String_Node_Str");
  descriptorIsReadOnlyMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptorIsReadOnlyMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(descriptorIsReadOnlyMapping);
  XMLCompositeObjectMapping inheritancePolicyMapping=new XMLCompositeObjectMapping();
  inheritancePolicyMapping.setAttributeName("String_Node_Str");
  inheritancePolicyMapping.setGetMethodName("String_Node_Str");
  inheritancePolicyMapping.setSetMethodName("String_Node_Str");
  inheritancePolicyMapping.setReferenceClass(InheritancePolicy.class);
  inheritancePolicyMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(inheritancePolicyMapping);
  XMLCompositeObjectMapping eventManagerMapping=new XMLCompositeObjectMapping();
  eventManagerMapping.setAttributeName("String_Node_Str");
  eventManagerMapping.setGetMethodName("String_Node_Str");
  eventManagerMapping.setSetMethodName("String_Node_Str");
  eventManagerMapping.setReferenceClass(DescriptorEventManager.class);
  eventManagerMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(eventManagerMapping);
  XMLCompositeObjectMapping queryManagerMapping=new XMLCompositeObjectMapping();
  queryManagerMapping.setAttributeName("String_Node_Str");
  queryManagerMapping.setGetMethodName("String_Node_Str");
  queryManagerMapping.setSetMethodName("String_Node_Str");
  queryManagerMapping.setReferenceClass(DescriptorQueryManager.class);
  queryManagerMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(queryManagerMapping);
  XMLCompositeCollectionMapping aggregateCollectionMapping=new XMLCompositeCollectionMapping();
  aggregateCollectionMapping.useCollectionClass(NonSynchronizedVector.class);
  aggregateCollectionMapping.setAttributeName("String_Node_Str");
  aggregateCollectionMapping.setReferenceClass(DatabaseMapping.class);
  aggregateCollectionMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  aggregateCollectionMapping.setSetMethodName("String_Node_Str");
  aggregateCollectionMapping.setGetMethodName("String_Node_Str");
  descriptor.addMapping(aggregateCollectionMapping);
  XMLDirectMapping descriptorTypeMapping=new XMLDirectMapping();
  descriptorTypeMapping.setAttributeName("String_Node_Str");
  descriptorTypeMapping.setGetMethodName("String_Node_Str");
  descriptorTypeMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter descriptorTypeConverter=new ObjectTypeConverter();
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeConverter.addConversionValue("String_Node_Str","String_Node_Str");
  descriptorTypeMapping.setConverter(descriptorTypeConverter);
  descriptorTypeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(descriptorTypeMapping);
  XMLCompositeObjectMapping interfacePolicyMapping=new XMLCompositeObjectMapping();
  interfacePolicyMapping.setAttributeName("String_Node_Str");
  interfacePolicyMapping.setGetMethodName("String_Node_Str");
  interfacePolicyMapping.setSetMethodName("String_Node_Str");
  interfacePolicyMapping.setReferenceClass(InterfacePolicy.class);
  interfacePolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(interfacePolicyMapping);
  XMLCompositeObjectMapping lockingPolicyMapping=new XMLCompositeObjectMapping();
  lockingPolicyMapping.setAttributeName("String_Node_Str");
  lockingPolicyMapping.setGetMethodName("String_Node_Str");
  lockingPolicyMapping.setSetMethodName("String_Node_Str");
  lockingPolicyMapping.setReferenceClass(VersionLockingPolicy.class);
  lockingPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(lockingPolicyMapping);
  XMLDirectMapping sequenceNameMapping=new XMLDirectMapping();
  sequenceNameMapping.setAttributeName("String_Node_Str");
  sequenceNameMapping.setGetMethodName("String_Node_Str");
  sequenceNameMapping.setSetMethodName("String_Node_Str");
  sequenceNameMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(sequenceNameMapping);
  XMLCompositeObjectMapping sequenceFieldMapping=new XMLCompositeObjectMapping();
  sequenceFieldMapping.setAttributeName("String_Node_Str");
  sequenceFieldMapping.setGetMethodName("String_Node_Str");
  sequenceFieldMapping.setSetMethodName("String_Node_Str");
  sequenceFieldMapping.setReferenceClass(DatabaseField.class);
  sequenceFieldMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(sequenceFieldMapping);
  XMLDirectMapping identityMapClassMapping=new XMLDirectMapping();
  identityMapClassMapping.setAttributeName("String_Node_Str");
  identityMapClassMapping.setGetMethodName("String_Node_Str");
  identityMapClassMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter identityMapClassConverter=new ObjectTypeConverter();
  identityMapClassConverter.addConversionValue("String_Node_Str",NoIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",FullIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",CacheIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",WeakIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",SoftCacheWeakIdentityMap.class);
  identityMapClassConverter.addConversionValue("String_Node_Str",HardCacheWeakIdentityMap.class);
  identityMapClassMapping.setConverter(identityMapClassConverter);
  identityMapClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  identityMapClassMapping.setNullValue(SoftCacheWeakIdentityMap.class);
  descriptor.addMapping(identityMapClassMapping);
  XMLDirectMapping remoteIdentityMapClassMapping=new XMLDirectMapping();
  remoteIdentityMapClassMapping.setAttributeName("String_Node_Str");
  remoteIdentityMapClassMapping.setGetMethodName("String_Node_Str");
  remoteIdentityMapClassMapping.setSetMethodName("String_Node_Str");
  ObjectTypeConverter remoteIdentityMapClassConverter=new ObjectTypeConverter();
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",NoIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",FullIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",CacheIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",WeakIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",SoftCacheWeakIdentityMap.class);
  remoteIdentityMapClassConverter.addConversionValue("String_Node_Str",HardCacheWeakIdentityMap.class);
  remoteIdentityMapClassMapping.setConverter(remoteIdentityMapClassConverter);
  remoteIdentityMapClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  remoteIdentityMapClassMapping.setNullValue(SoftCacheWeakIdentityMap.class);
  descriptor.addMapping(remoteIdentityMapClassMapping);
  XMLDirectMapping identityMapSizeMapping=new XMLDirectMapping();
  identityMapSizeMapping.setAttributeName("String_Node_Str");
  identityMapSizeMapping.setGetMethodName("String_Node_Str");
  identityMapSizeMapping.setSetMethodName("String_Node_Str");
  identityMapSizeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  identityMapSizeMapping.setNullValue(Integer.valueOf(100));
  descriptor.addMapping(identityMapSizeMapping);
  XMLDirectMapping remoteIdentityMapSizeMapping=new XMLDirectMapping();
  remoteIdentityMapSizeMapping.setAttributeName("String_Node_Str");
  remoteIdentityMapSizeMapping.setGetMethodName("String_Node_Str");
  remoteIdentityMapSizeMapping.setSetMethodName("String_Node_Str");
  remoteIdentityMapSizeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  remoteIdentityMapSizeMapping.setNullValue(Integer.valueOf(100));
  descriptor.addMapping(remoteIdentityMapSizeMapping);
  XMLDirectMapping shouldAlwaysRefreshCacheMapping=new XMLDirectMapping();
  shouldAlwaysRefreshCacheMapping.setAttributeName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysRefreshCacheMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysRefreshCacheMapping);
  XMLDirectMapping shouldAlwaysRefreshCacheOnRemoteMapping=new XMLDirectMapping();
  shouldAlwaysRefreshCacheOnRemoteMapping.setAttributeName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysRefreshCacheOnRemoteMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysRefreshCacheOnRemoteMapping);
  XMLDirectMapping shouldOnlyRefreshCacheIfNewerVersionMapping=new XMLDirectMapping();
  shouldOnlyRefreshCacheIfNewerVersionMapping.setAttributeName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setGetMethodName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setSetMethodName("String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldOnlyRefreshCacheIfNewerVersionMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldOnlyRefreshCacheIfNewerVersionMapping);
  XMLDirectMapping shouldDisableCacheHitsMapping=new XMLDirectMapping();
  shouldDisableCacheHitsMapping.setAttributeName("String_Node_Str");
  shouldDisableCacheHitsMapping.setGetMethodName("String_Node_Str");
  shouldDisableCacheHitsMapping.setSetMethodName("String_Node_Str");
  shouldDisableCacheHitsMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldDisableCacheHitsMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldDisableCacheHitsMapping);
  XMLDirectMapping shouldDisableCacheHitsOnRemoteMapping=new XMLDirectMapping();
  shouldDisableCacheHitsOnRemoteMapping.setAttributeName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setGetMethodName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setSetMethodName("String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldDisableCacheHitsOnRemoteMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldDisableCacheHitsOnRemoteMapping);
  XMLDirectMapping shouldAlwaysConformResultsInUnitOfWorkMapping=new XMLDirectMapping();
  shouldAlwaysConformResultsInUnitOfWorkMapping.setAttributeName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setGetMethodName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setSetMethodName("String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  shouldAlwaysConformResultsInUnitOfWorkMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(shouldAlwaysConformResultsInUnitOfWorkMapping);
  XMLDirectMapping isIsolatedMapping=new XMLDirectMapping();
  isIsolatedMapping.setAttributeName("String_Node_Str");
  isIsolatedMapping.setGetMethodName("String_Node_Str");
  isIsolatedMapping.setSetMethodName("String_Node_Str");
  isIsolatedMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  isIsolatedMapping.setNullValue(Boolean.FALSE);
  descriptor.addMapping(isIsolatedMapping);
  XMLDirectMapping unitOfWorkCacheIsolationLevelMapping=new XMLDirectMapping();
  unitOfWorkCacheIsolationLevelMapping.setAttributeName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setGetMethodName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setSetMethodName("String_Node_Str");
  unitOfWorkCacheIsolationLevelMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  ObjectTypeConverter unitOfWorkCacheIsolationLevelConverter=new ObjectTypeConverter();
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.USE_SESSION_CACHE_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_NEW_DATA_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_CACHE_AFTER_TRANSACTION));
  unitOfWorkCacheIsolationLevelConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.ISOLATE_CACHE_ALWAYS));
  unitOfWorkCacheIsolationLevelMapping.setConverter(unitOfWorkCacheIsolationLevelConverter);
  unitOfWorkCacheIsolationLevelMapping.setNullValue(Integer.valueOf(ClassDescriptor.ISOLATE_NEW_DATA_AFTER_TRANSACTION));
  descriptor.addMapping(unitOfWorkCacheIsolationLevelMapping);
  XMLCompositeObjectMapping cacheInvalidationPolicyMapping=new XMLCompositeObjectMapping();
  cacheInvalidationPolicyMapping.setAttributeName("String_Node_Str");
  cacheInvalidationPolicyMapping.setReferenceClass(CacheInvalidationPolicy.class);
  cacheInvalidationPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(cacheInvalidationPolicyMapping);
  XMLDirectMapping cacheSyncTypeMapping=new XMLDirectMapping();
  cacheSyncTypeMapping.setAttributeName("String_Node_Str");
  cacheSyncTypeMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  ObjectTypeConverter cacheSyncTypeConverter=new ObjectTypeConverter();
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.INVALIDATE_CHANGED_OBJECTS));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.DO_NOT_SEND_CHANGES));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.SEND_NEW_OBJECTS_WITH_CHANGES));
  cacheSyncTypeConverter.addConversionValue("String_Node_Str",Integer.valueOf(ClassDescriptor.SEND_OBJECT_CHANGES));
  cacheSyncTypeMapping.setConverter(cacheSyncTypeConverter);
  cacheSyncTypeMapping.setNullValue(Integer.valueOf(ClassDescriptor.SEND_OBJECT_CHANGES));
  descriptor.addMapping(cacheSyncTypeMapping);
  XMLCompositeObjectMapping historyPolicyMapping=new XMLCompositeObjectMapping();
  historyPolicyMapping.setAttributeName("String_Node_Str");
  historyPolicyMapping.setGetMethodName("String_Node_Str");
  historyPolicyMapping.setSetMethodName("String_Node_Str");
  historyPolicyMapping.setReferenceClass(HistoryPolicy.class);
  historyPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(historyPolicyMapping);
  XMLCompositeObjectMapping returningPolicyMapping=new XMLCompositeObjectMapping();
  returningPolicyMapping.setAttributeName("String_Node_Str");
  returningPolicyMapping.setGetMethodName("String_Node_Str");
  returningPolicyMapping.setSetMethodName("String_Node_Str");
  returningPolicyMapping.setReferenceClass(ReturningPolicy.class);
  returningPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(returningPolicyMapping);
  XMLDirectMapping amendmentClassMapping=new XMLDirectMapping();
  amendmentClassMapping.setAttributeName("String_Node_Str");
  amendmentClassMapping.setGetMethodName("String_Node_Str");
  amendmentClassMapping.setSetMethodName("String_Node_Str");
  amendmentClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(amendmentClassMapping);
  XMLDirectMapping amendmentMethodNameMapping=new XMLDirectMapping();
  amendmentMethodNameMapping.setAttributeName("String_Node_Str");
  amendmentMethodNameMapping.setGetMethodName("String_Node_Str");
  amendmentMethodNameMapping.setSetMethodName("String_Node_Str");
  amendmentMethodNameMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(amendmentMethodNameMapping);
  XMLCompositeObjectMapping instantiationPolicyMapping=new XMLCompositeObjectMapping();
  instantiationPolicyMapping.setAttributeName("String_Node_Str");
  instantiationPolicyMapping.setGetMethodName("String_Node_Str");
  instantiationPolicyMapping.setSetMethodName("String_Node_Str");
  instantiationPolicyMapping.setReferenceClass(InstantiationPolicy.class);
  instantiationPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(instantiationPolicyMapping);
  XMLCompositeObjectMapping copyPolicyMapping=new XMLCompositeObjectMapping();
  copyPolicyMapping.setAttributeName("String_Node_Str");
  copyPolicyMapping.setGetMethodName("String_Node_Str");
  copyPolicyMapping.setSetMethodName("String_Node_Str");
  copyPolicyMapping.setReferenceClass(AbstractCopyPolicy.class);
  copyPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(copyPolicyMapping);
  XMLCompositeCollectionMapping queryKeysMapping=new XMLCompositeCollectionMapping();
  queryKeysMapping.setAttributeName("String_Node_Str");
  queryKeysMapping.setReferenceClass(QueryKey.class);
  queryKeysMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str" + getPrimaryNamespaceXPath()+ "String_Node_Str");
  queryKeysMapping.setSetMethodName("String_Node_Str");
  queryKeysMapping.setGetMethodName("String_Node_Str");
  queryKeysMapping.useMapClass(HashMap.class,"String_Node_Str");
  descriptor.addMapping(queryKeysMapping);
  XMLCompositeObjectMapping cmpPolicyMapping=new XMLCompositeObjectMapping();
  cmpPolicyMapping.setAttributeName("String_Node_Str");
  cmpPolicyMapping.setGetMethodName("String_Node_Str");
  cmpPolicyMapping.setSetMethodName("String_Node_Str");
  cmpPolicyMapping.setReferenceClass(CMPPolicy.class);
  cmpPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(cmpPolicyMapping);
  XMLCompositeObjectMapping fetchGroupManagerMapping=new XMLCompositeObjectMapping();
  fetchGroupManagerMapping.setAttributeName("String_Node_Str");
  fetchGroupManagerMapping.setGetMethodName("String_Node_Str");
  fetchGroupManagerMapping.setSetMethodName("String_Node_Str");
  fetchGroupManagerMapping.setReferenceClass(FetchGroupManager.class);
  fetchGroupManagerMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(fetchGroupManagerMapping);
  XMLCompositeObjectMapping changePolicyMapping=new XMLCompositeObjectMapping();
  changePolicyMapping.setAttributeName("String_Node_Str");
  changePolicyMapping.setReferenceClass(ObjectChangePolicy.class);
  changePolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(changePolicyMapping);
  XMLCompositeCollectionMapping propertiesMapping=new XMLCompositeCollectionMapping();
  propertiesMapping.setAttributeName("String_Node_Str");
  propertiesMapping.setReferenceClass(PropertyAssociation.class);
  propertiesMapping.setAttributeAccessor(new AttributeAccessor(){
    public Object getAttributeValueFromObject(    Object object){
      ClassDescriptor desc=(ClassDescriptor)object;
      Vector propertyAssociations=new NonSynchronizedVector();
      for (Iterator i=desc.getProperties().entrySet().iterator(); i.hasNext(); ) {
        Map.Entry me=(Map.Entry)i.next();
        PropertyAssociation propertyAssociation=new PropertyAssociation();
        propertyAssociation.setKey(me.getKey());
        propertyAssociation.setValue(me.getValue());
        propertyAssociations.add(propertyAssociation);
      }
      return propertyAssociations;
    }
    public void setAttributeValueInObject(    Object object,    Object value){
      ClassDescriptor desc=(ClassDescriptor)object;
      Vector propertyAssociations=(Vector)value;
      for (int i=0; i < propertyAssociations.size(); i++) {
        PropertyAssociation propertyAssociation=(PropertyAssociation)propertyAssociations.get(i);
        desc.getProperties().put(propertyAssociation.getKey(),propertyAssociation.getValue());
      }
    }
  }
);
  propertiesMapping.setXPath(getSecondaryNamespaceXPath() + "String_Node_Str" + getSecondaryNamespaceXPath()+ "String_Node_Str");
  descriptor.addMapping(propertiesMapping);
  return descriptor;
}