collectionDescriptor.setCascadingStore(ObjectReferenceDescriptor.CASCADE_LINK);
collectionDescriptor.setCascadingStore(ObjectReferenceDescriptor.CASCADE_NONE);
    private static void generateManyToManyCollectionDescriptor(            CollectionDescriptor collectionDescriptor, Role role) {        String indirectionTableName = StringFormatter.splitCamelCaseString(role.getRelation().getName())                .replace(' ', '_').toUpperCase();        String fkToItemClass = "KEY_"                + StringFormatter.splitCamelCaseString(role.getType().getName()).replace(' ', '_')                        .toUpperCase();        String fkToThisClass = "KEY_"                + StringFormatter.splitCamelCaseString(role.getOtherRole().getType().getName()).replace(                        ' ', '_').toUpperCase();        if (fkToItemClass.equals(fkToThisClass)) {            fkToItemClass = fkToItemClass                    + "_"                    + StringFormatter.splitCamelCaseString(role.getName()).replace(' ', '_')                            .toUpperCase();            fkToThisClass = fkToThisClass                    + "_"                    + StringFormatter.splitCamelCaseString(role.getOtherRole().getName()).replace(' ',                            '_').toUpperCase();        }        collectionDescriptor.setIndirectionTable(indirectionTableName);        collectionDescriptor.addFkToItemClass(fkToItemClass);        collectionDescriptor.addFkToThisClass(fkToThisClass);        collectionDescriptor.setCascadingStore(ObjectReferenceDescriptor.CASCADE_LINK);        collectionDescriptor.setCascadingDelete(ObjectReferenceDescriptor.CASCADE_NONE);    }