Index: org/exolab/castor/builder/factory/SourceFactory.java =================================================================== --- org/exolab/castor/builder/factory/SourceFactory.java (Revision 6938) +++ org/exolab/castor/builder/factory/SourceFactory.java (Arbeitskopie) @@ -814,7 +814,7 @@ } //-- create Bound Properties code - if (state.hasBoundProperties()) { + if (state.hasBoundProperties() && !enumeration) { createPropertyChangeMethods(jClass); } Index: org/exolab/castor/builder/factory/EnumerationFactory.java =================================================================== --- org/exolab/castor/builder/factory/EnumerationFactory.java (Revision 6938) +++ org/exolab/castor/builder/factory/EnumerationFactory.java (Arbeitskopie) @@ -260,7 +260,8 @@ //-- add internal type field = new JField(JType.INT, "type"); - field.setInitString("-1"); + field.getModifiers().setFinal(true); + // field.setInitString("-1"); jClass.addField(field); //-- add internal stringValue