Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementsImpl.java')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementsImpl.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementsImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementsImpl.java
new file mode 100644
index 0000000000..396197a831
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementsImpl.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2013 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.internal.context.oxm;
+
+import org.eclipse.jpt.jaxb.eclipselink.core.ELJaxbMappingKeys;
+import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmJavaAttribute;
+import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmXmlElements;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements;
+
+public class OxmXmlElementsImpl
+ extends AbstractOxmAttributeMapping<EXmlElements>
+ implements OxmXmlElements {
+
+ public OxmXmlElementsImpl(OxmJavaAttribute parent, EXmlElements eJavaAttribute) {
+ super(parent, eJavaAttribute);
+ }
+
+
+ public String getKey() {
+ return ELJaxbMappingKeys.XML_ELEMENTS_ATTRIBUTE_MAPPING_KEY;
+ }
+
+ @Override
+ public boolean isParticleMapping() {
+ return true;
+ }
+}

Back to the top