@@ -0,0 +1,1027 @@
+/*******************************************************************************%0D%0A * Copyright (c) 1998, 2010 Oracle. All rights reserved.%0D%0A * This program and the accompanying materials are made available under the%0D%0A * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0%0D%0A * which accompanies this distribution.%0D%0A * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html%0D%0A * and the Eclipse Distribution License is available at%0D%0A * http://www.eclipse.org/org/documents/edl-v10.php.%0D%0A *%0D%0A * Contributors:%0D%0A * dmccann - January 12/2010 - 2.0 - Initial implementation%0D%0A ******************************************************************************/%0D%0Apackage org.eclipse.persistence.testing.jaxb.externalizedmetadata.xmlenum;%0D%0A%0D%0Aimport javax.xml.bind.annotation.XmlEnum;%0D%0Aimport javax.xml.bind.annotation.XmlEnumValue;%0D%0A%0D%0A@XmlEnum(Integer.class) %0D%0Apublic enum Department %7B%0D%0A    @XmlEnumValue(%221%22) J2EE,%0D%0A    @XmlEnumValue(%222%22) RDBMS,%0D%0A    @XmlEnumValue(%223%22) SUPPORT%0D%0A%7D%0D%0A

Fix part 2 for bug# 299412 (JAXB Externalized Metadata: Need to support XmlEnum and XmlEnumValue) Added missing Department enum for test case