You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by mn...@apache.org on 2009/11/05 00:48:42 UTC
svn commit: r832913 [5/12] - in
/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was:
./ v6/ v6/common/ v6/commonbnd/ v6/ecore/ v6/ejb/ v6/ejbbnd/ v6/java/
v6/webservice/ v6/webservice/clientbnd/ v6/wsclient/ v6/xmi/
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,83 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EEnum complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EEnum">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EDataType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eLiterals" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumLiteral"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EEnum", propOrder = { "eLiterals" })
+public class EEnum extends EDataType {
+
+ protected List<EEnumLiteral> eLiterals;
+
+ /**
+ * Gets the value of the eLiterals property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eLiterals property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getELiterals().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EEnumLiteral }
+ *
+ *
+ */
+ public List<EEnumLiteral> getELiterals() {
+ if (eLiterals == null) {
+ eLiterals = new ArrayList<EEnumLiteral>();
+ }
+ return this.eLiterals;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,72 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EEnumLiteral complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EEnumLiteral">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EEnumLiteral")
+public class EEnumLiteral extends ENamedElement {
+
+ @XmlAttribute
+ protected Integer value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return possible object is {@link Integer }
+ *
+ */
+ public Integer getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is {@link Integer }
+ *
+ */
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EFactory complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EFactory">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EFactory")
+public class EFactory extends EModelElement {
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,83 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EModelElement complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EModelElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EObject">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eAnnotations" type="{http://www.eclipse.org/emf/2002/Ecore}EAnnotation"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EModelElement", propOrder = { "eAnnotations" })
+public class EModelElement extends EObject {
+
+ protected List<EAnnotation> eAnnotations;
+
+ /**
+ * Gets the value of the eAnnotations property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eAnnotations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEAnnotations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EAnnotation }
+ *
+ *
+ */
+ public List<EAnnotation> getEAnnotations() {
+ if (eAnnotations == null) {
+ eAnnotations = new ArrayList<EAnnotation>();
+ }
+ return this.eAnnotations;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,72 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for ENamedElement complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="ENamedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ENamedElement")
+public class ENamedElement extends EModelElement {
+
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,262 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * <p>
+ * Java class for EObject complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EObject">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EObject", propOrder = { "extensions" })
+public class EObject {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the extensions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new ArrayList<Extension>();
+ }
+ return this.extensions;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,147 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EOperation complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EOperation">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eParameters" type="{http://www.eclipse.org/emf/2002/Ecore}EParameter"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eExceptions" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * </choice>
+ * <attribute name="eExceptions" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EOperation", propOrder = { "eParameters",
+ "eClassifierEExceptions" })
+public class EOperation extends ETypedElement {
+
+ protected List<EParameter> eParameters;
+ @XmlElement(name = "eExceptions")
+ protected List<EClassifier> eClassifierEExceptions;
+ @XmlAttribute
+ protected String eExceptions;
+
+ /**
+ * Gets the value of the eParameters property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eParameters property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEParameters().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EParameter }
+ *
+ *
+ */
+ public List<EParameter> getEParameters() {
+ if (eParameters == null) {
+ eParameters = new ArrayList<EParameter>();
+ }
+ return this.eParameters;
+ }
+
+ /**
+ * Gets the value of the eClassifierEExceptions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eClassifierEExceptions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEClassifierEExceptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<EClassifier> getEClassifierEExceptions() {
+ if (eClassifierEExceptions == null) {
+ eClassifierEExceptions = new ArrayList<EClassifier>();
+ }
+ return this.eClassifierEExceptions;
+ }
+
+ /**
+ * Gets the value of the eExceptions property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getEExceptions() {
+ return eExceptions;
+ }
+
+ /**
+ * Sets the value of the eExceptions property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setEExceptions(String value) {
+ this.eExceptions = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,167 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EPackage complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EPackage">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eClassifiers" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eSubpackages" type="{http://www.eclipse.org/emf/2002/Ecore}EPackage"/>
+ * </choice>
+ * </choice>
+ * <attribute name="nsPrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="nsURI" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EPackage", propOrder = { "eClassifiers", "eSubpackages" })
+public class EPackage extends ENamedElement {
+
+ protected List<EClassifier> eClassifiers;
+ protected List<EPackage> eSubpackages;
+ @XmlAttribute
+ protected String nsPrefix;
+ @XmlAttribute
+ protected String nsURI;
+
+ /**
+ * Gets the value of the eClassifiers property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eClassifiers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEClassifiers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<EClassifier> getEClassifiers() {
+ if (eClassifiers == null) {
+ eClassifiers = new ArrayList<EClassifier>();
+ }
+ return this.eClassifiers;
+ }
+
+ /**
+ * Gets the value of the eSubpackages property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eSubpackages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getESubpackages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link EPackage }
+ *
+ *
+ */
+ public List<EPackage> getESubpackages() {
+ if (eSubpackages == null) {
+ eSubpackages = new ArrayList<EPackage>();
+ }
+ return this.eSubpackages;
+ }
+
+ /**
+ * Gets the value of the nsPrefix property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getNsPrefix() {
+ return nsPrefix;
+ }
+
+ /**
+ * Sets the value of the nsPrefix property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setNsPrefix(String value) {
+ this.nsPrefix = value;
+ }
+
+ /**
+ * Gets the value of the nsURI property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getNsURI() {
+ return nsURI;
+ }
+
+ /**
+ * Sets the value of the nsURI property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setNsURI(String value) {
+ this.nsURI = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EParameter complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EParameter">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EParameter")
+public class EParameter extends ETypedElement {
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,158 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EReference complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EReference">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eOpposite" type="{http://www.eclipse.org/emf/2002/Ecore}EReference"/>
+ * </choice>
+ * <attribute name="containment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eOpposite" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="resolveProxies" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EReference", propOrder = { "eReferenceEOpposites" })
+public class EReference extends EStructuralFeature {
+
+ @XmlElement(name = "eOpposite")
+ protected List<EReference> eReferenceEOpposites;
+ @XmlAttribute
+ protected Boolean containment;
+ @XmlAttribute
+ protected String eOpposite;
+ @XmlAttribute
+ protected Boolean resolveProxies;
+
+ /**
+ * Gets the value of the eReferenceEOpposites property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eReferenceEOpposites property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEReferenceEOpposites().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EReference }
+ *
+ *
+ */
+ public List<EReference> getEReferenceEOpposites() {
+ if (eReferenceEOpposites == null) {
+ eReferenceEOpposites = new ArrayList<EReference>();
+ }
+ return this.eReferenceEOpposites;
+ }
+
+ /**
+ * Gets the value of the containment property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isContainment() {
+ return containment;
+ }
+
+ /**
+ * Sets the value of the containment property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setContainment(Boolean value) {
+ this.containment = value;
+ }
+
+ /**
+ * Gets the value of the eOpposite property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getEOpposite() {
+ return eOpposite;
+ }
+
+ /**
+ * Sets the value of the eOpposite property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setEOpposite(String value) {
+ this.eOpposite = value;
+ }
+
+ /**
+ * Gets the value of the resolveProxies property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isResolveProxies() {
+ return resolveProxies;
+ }
+
+ /**
+ * Sets the value of the resolveProxies property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setResolveProxies(Boolean value) {
+ this.resolveProxies = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,310 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * <p>
+ * Java class for EStringToStringMapEntry complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EStringToStringMapEntry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EStringToStringMapEntry", propOrder = { "extensions" })
+public class EStringToStringMapEntry {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String key;
+ @XmlAttribute
+ protected String value;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the extensions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new ArrayList<Extension>();
+ }
+ return this.extensions;
+ }
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,192 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for EStructuralFeature complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EStructuralFeature">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <attribute name="changeable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="defaultValueLiteral" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="derived" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="transient" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="unsettable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="volatile" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EStructuralFeature")
+public class EStructuralFeature extends ETypedElement {
+
+ @XmlAttribute
+ protected Boolean changeable;
+ @XmlAttribute
+ protected String defaultValueLiteral;
+ @XmlAttribute
+ protected Boolean derived;
+ @XmlAttribute(name = "transient")
+ protected Boolean isTransient;
+ @XmlAttribute
+ protected Boolean unsettable;
+ @XmlAttribute(name = "volatile")
+ protected Boolean isVolatile;
+
+ /**
+ * Gets the value of the changeable property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isChangeable() {
+ return changeable;
+ }
+
+ /**
+ * Sets the value of the changeable property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setChangeable(Boolean value) {
+ this.changeable = value;
+ }
+
+ /**
+ * Gets the value of the defaultValueLiteral property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getDefaultValueLiteral() {
+ return defaultValueLiteral;
+ }
+
+ /**
+ * Sets the value of the defaultValueLiteral property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setDefaultValueLiteral(String value) {
+ this.defaultValueLiteral = value;
+ }
+
+ /**
+ * Gets the value of the derived property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isDerived() {
+ return derived;
+ }
+
+ /**
+ * Sets the value of the derived property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setDerived(Boolean value) {
+ this.derived = value;
+ }
+
+ /**
+ * Gets the value of the isTransient property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isIsTransient() {
+ return isTransient;
+ }
+
+ /**
+ * Sets the value of the isTransient property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setIsTransient(Boolean value) {
+ this.isTransient = value;
+ }
+
+ /**
+ * Gets the value of the unsettable property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isUnsettable() {
+ return unsettable;
+ }
+
+ /**
+ * Sets the value of the unsettable property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setUnsettable(Boolean value) {
+ this.unsettable = value;
+ }
+
+ /**
+ * Gets the value of the isVolatile property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isIsVolatile() {
+ return isVolatile;
+ }
+
+ /**
+ * Sets the value of the isVolatile property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setIsVolatile(Boolean value) {
+ this.isVolatile = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,206 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for ETypedElement complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="ETypedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <attribute name="eType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="lowerBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="ordered" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="upperBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ETypedElement", propOrder = { "eClassifierETypes" })
+public class ETypedElement extends ENamedElement {
+
+ @XmlElement(name = "eType")
+ protected List<EClassifier> eClassifierETypes;
+ @XmlAttribute
+ protected String eType;
+ @XmlAttribute
+ protected Integer lowerBound;
+ @XmlAttribute
+ protected Boolean ordered;
+ @XmlAttribute
+ protected Boolean unique;
+ @XmlAttribute
+ protected Integer upperBound;
+
+ /**
+ * Gets the value of the eClassifierETypes property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the eClassifierETypes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getEClassifierETypes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<EClassifier> getEClassifierETypes() {
+ if (eClassifierETypes == null) {
+ eClassifierETypes = new ArrayList<EClassifier>();
+ }
+ return this.eClassifierETypes;
+ }
+
+ /**
+ * Gets the value of the eType property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getEType() {
+ return eType;
+ }
+
+ /**
+ * Sets the value of the eType property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setEType(String value) {
+ this.eType = value;
+ }
+
+ /**
+ * Gets the value of the lowerBound property.
+ *
+ * @return possible object is {@link Integer }
+ *
+ */
+ public Integer getLowerBound() {
+ return lowerBound;
+ }
+
+ /**
+ * Sets the value of the lowerBound property.
+ *
+ * @param value
+ * allowed object is {@link Integer }
+ *
+ */
+ public void setLowerBound(Integer value) {
+ this.lowerBound = value;
+ }
+
+ /**
+ * Gets the value of the ordered property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isOrdered() {
+ return ordered;
+ }
+
+ /**
+ * Sets the value of the ordered property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setOrdered(Boolean value) {
+ this.ordered = value;
+ }
+
+ /**
+ * Gets the value of the unique property.
+ *
+ * @return possible object is {@link Boolean }
+ *
+ */
+ public Boolean isUnique() {
+ return unique;
+ }
+
+ /**
+ * Sets the value of the unique property.
+ *
+ * @param value
+ * allowed object is {@link Boolean }
+ *
+ */
+ public void setUnique(Boolean value) {
+ this.unique = value;
+ }
+
+ /**
+ * Gets the value of the upperBound property.
+ *
+ * @return possible object is {@link Integer }
+ *
+ */
+ public Integer getUpperBound() {
+ return upperBound;
+ }
+
+ /**
+ * Sets the value of the upperBound property.
+ *
+ * @param value
+ * allowed object is {@link Integer }
+ *
+ */
+ public void setUpperBound(Integer value) {
+ this.upperBound = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,425 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ecore;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the org.apache.openejb.jee.was.v6.ecore
+ * package.
+ * <p>
+ * An ObjectFactory allows you to programatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
+ * can consist of schema derived interfaces and classes representing the binding
+ * of schema type definitions, element declarations and model groups. Factory
+ * methods for each of these are provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ETypedElement_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "ETypedElement");
+ private final static QName _EFactory_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EFactory");
+ private final static QName _EOperation_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EOperation");
+ private final static QName _EClassifier_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EClassifier");
+ private final static QName _EStringToStringMapEntry_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EStringToStringMapEntry");
+ private final static QName _EObject_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EObject");
+ private final static QName _EAttribute_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EAttribute");
+ private final static QName _EModelElement_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EModelElement");
+ private final static QName _EEnum_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EEnum");
+ private final static QName _EEnumLiteral_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EEnumLiteral");
+ private final static QName _EReference_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EReference");
+ private final static QName _EStructuralFeature_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature");
+ private final static QName _EAnnotation_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EAnnotation");
+ private final static QName _ENamedElement_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "ENamedElement");
+ private final static QName _EParameter_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EParameter");
+ private final static QName _EDataType_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EDataType");
+ private final static QName _EClass_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EClass");
+ private final static QName _EPackage_QNAME = new QName(
+ "http://www.eclipse.org/emf/2002/Ecore", "EPackage");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of
+ * schema derived classes for package: org.apache.openejb.jee.was.v6.ecore
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EFactory }
+ *
+ */
+ public EFactory createEFactory() {
+ return new EFactory();
+ }
+
+ /**
+ * Create an instance of {@link EStringToStringMapEntry }
+ *
+ */
+ public EStringToStringMapEntry createEStringToStringMapEntry() {
+ return new EStringToStringMapEntry();
+ }
+
+ /**
+ * Create an instance of {@link EOperation }
+ *
+ */
+ public EOperation createEOperation() {
+ return new EOperation();
+ }
+
+ /**
+ * Create an instance of {@link EAnnotation }
+ *
+ */
+ public EAnnotation createEAnnotation() {
+ return new EAnnotation();
+ }
+
+ /**
+ * Create an instance of {@link EClassifier }
+ *
+ */
+ public EClassifier createEClassifier() {
+ return new EClassifier();
+ }
+
+ /**
+ * Create an instance of {@link EClass }
+ *
+ */
+ public EClass createEClass() {
+ return new EClass();
+ }
+
+ /**
+ * Create an instance of {@link ETypedElement }
+ *
+ */
+ public ETypedElement createETypedElement() {
+ return new ETypedElement();
+ }
+
+ /**
+ * Create an instance of {@link EParameter }
+ *
+ */
+ public EParameter createEParameter() {
+ return new EParameter();
+ }
+
+ /**
+ * Create an instance of {@link EStructuralFeature }
+ *
+ */
+ public EStructuralFeature createEStructuralFeature() {
+ return new EStructuralFeature();
+ }
+
+ /**
+ * Create an instance of {@link EEnumLiteral }
+ *
+ */
+ public EEnumLiteral createEEnumLiteral() {
+ return new EEnumLiteral();
+ }
+
+ /**
+ * Create an instance of {@link EReference }
+ *
+ */
+ public EReference createEReference() {
+ return new EReference();
+ }
+
+ /**
+ * Create an instance of {@link EEnum }
+ *
+ */
+ public EEnum createEEnum() {
+ return new EEnum();
+ }
+
+ /**
+ * Create an instance of {@link ENamedElement }
+ *
+ */
+ public ENamedElement createENamedElement() {
+ return new ENamedElement();
+ }
+
+ /**
+ * Create an instance of {@link EModelElement }
+ *
+ */
+ public EModelElement createEModelElement() {
+ return new EModelElement();
+ }
+
+ /**
+ * Create an instance of {@link EPackage }
+ *
+ */
+ public EPackage createEPackage() {
+ return new EPackage();
+ }
+
+ /**
+ * Create an instance of {@link EDataType }
+ *
+ */
+ public EDataType createEDataType() {
+ return new EDataType();
+ }
+
+ /**
+ * Create an instance of {@link EObject }
+ *
+ */
+ public EObject createEObject() {
+ return new EObject();
+ }
+
+ /**
+ * Create an instance of {@link EAttribute }
+ *
+ */
+ public EAttribute createEAttribute() {
+ return new EAttribute();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ETypedElement }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ETypedElement")
+ public JAXBElement<ETypedElement> createETypedElement(ETypedElement value) {
+ return new JAXBElement<ETypedElement>(_ETypedElement_QNAME,
+ ETypedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EFactory }{@code
+ * >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EFactory")
+ public JAXBElement<EFactory> createEFactory(EFactory value) {
+ return new JAXBElement<EFactory>(_EFactory_QNAME, EFactory.class, null,
+ value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EOperation }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EOperation")
+ public JAXBElement<EOperation> createEOperation(EOperation value) {
+ return new JAXBElement<EOperation>(_EOperation_QNAME, EOperation.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClassifier }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClassifier")
+ public JAXBElement<EClassifier> createEClassifier(EClassifier value) {
+ return new JAXBElement<EClassifier>(_EClassifier_QNAME,
+ EClassifier.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link EStringToStringMapEntry }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStringToStringMapEntry")
+ public JAXBElement<EStringToStringMapEntry> createEStringToStringMapEntry(
+ EStringToStringMapEntry value) {
+ return new JAXBElement<EStringToStringMapEntry>(
+ _EStringToStringMapEntry_QNAME, EStringToStringMapEntry.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code
+ * >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EObject")
+ public JAXBElement<EObject> createEObject(EObject value) {
+ return new JAXBElement<EObject>(_EObject_QNAME, EObject.class, null,
+ value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAttribute }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAttribute")
+ public JAXBElement<EAttribute> createEAttribute(EAttribute value) {
+ return new JAXBElement<EAttribute>(_EAttribute_QNAME, EAttribute.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EModelElement }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EModelElement")
+ public JAXBElement<EModelElement> createEModelElement(EModelElement value) {
+ return new JAXBElement<EModelElement>(_EModelElement_QNAME,
+ EModelElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnum }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnum")
+ public JAXBElement<EEnum> createEEnum(EEnum value) {
+ return new JAXBElement<EEnum>(_EEnum_QNAME, EEnum.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnumLiteral }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnumLiteral")
+ public JAXBElement<EEnumLiteral> createEEnumLiteral(EEnumLiteral value) {
+ return new JAXBElement<EEnumLiteral>(_EEnumLiteral_QNAME,
+ EEnumLiteral.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EReference }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EReference")
+ public JAXBElement<EReference> createEReference(EReference value) {
+ return new JAXBElement<EReference>(_EReference_QNAME, EReference.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link EStructuralFeature }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStructuralFeature")
+ public JAXBElement<EStructuralFeature> createEStructuralFeature(
+ EStructuralFeature value) {
+ return new JAXBElement<EStructuralFeature>(_EStructuralFeature_QNAME,
+ EStructuralFeature.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAnnotation }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAnnotation")
+ public JAXBElement<EAnnotation> createEAnnotation(EAnnotation value) {
+ return new JAXBElement<EAnnotation>(_EAnnotation_QNAME,
+ EAnnotation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ENamedElement }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ENamedElement")
+ public JAXBElement<ENamedElement> createENamedElement(ENamedElement value) {
+ return new JAXBElement<ENamedElement>(_ENamedElement_QNAME,
+ ENamedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EParameter }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EParameter")
+ public JAXBElement<EParameter> createEParameter(EParameter value) {
+ return new JAXBElement<EParameter>(_EParameter_QNAME, EParameter.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EDataType }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EDataType")
+ public JAXBElement<EDataType> createEDataType(EDataType value) {
+ return new JAXBElement<EDataType>(_EDataType_QNAME, EDataType.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClass }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClass")
+ public JAXBElement<EClass> createEClass(EClass value) {
+ return new JAXBElement<EClass>(_EClass_QNAME, EClass.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EPackage }{@code
+ * >}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EPackage")
+ public JAXBElement<EPackage> createEPackage(EPackage value) {
+ return new JAXBElement<EPackage>(_EPackage_QNAME, EPackage.class, null,
+ value);
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.eclipse.org/emf/2002/Ecore")
+package org.apache.openejb.jee.was.v6.ecore;
+
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.ejb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * <p>
+ * Java class for AcknowledgeMode.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ *
+ * <pre>
+ * <simpleType name="AcknowledgeMode">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ * <enumeration value="AutoAcknowledge"/>
+ * <enumeration value="DupsOkAcknowledge"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlEnum
+public enum AcknowledgeModeEnum {
+
+ @XmlEnumValue("AutoAcknowledge")
+ AUTO_ACKNOWLEDGE("AutoAcknowledge"), @XmlEnumValue("DupsOkAcknowledge")
+ DUPS_OK_ACKNOWLEDGE("DupsOkAcknowledge");
+ private final String value;
+
+ AcknowledgeModeEnum(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static AcknowledgeModeEnum fromValue(String v) {
+ for (AcknowledgeModeEnum c : AcknowledgeModeEnum.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
+
+}