http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java index 93e8e83..030da9a 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java @@ -1,189 +1,189 @@ -/** - * 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.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EAnnotation complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EAnnotation"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="contents" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="references" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/> - * </choice> - * </choice> - * <attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EAnnotation", propOrder = {"details", "contents", - "eObjectReferences"}) -public class EAnnotation extends EModelElement { - - protected List<EStringToStringMapEntry> details; - protected List<EObject> contents; - @XmlElement(name = "references") - protected List<EObject> eObjectReferences; - @XmlAttribute - protected String references; - @XmlAttribute - protected String source; - - /** - * Gets the value of the details property. - * <p/> - * <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 details property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getDetails().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link EStringToStringMapEntry } - */ - public List<EStringToStringMapEntry> getDetails() { - if (details == null) { - details = new ArrayList<EStringToStringMapEntry>(); - } - return this.details; - } - - /** - * Gets the value of the contents property. - * <p/> - * <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 contents property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getContents().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link EObject } - */ - public List<EObject> getContents() { - if (contents == null) { - contents = new ArrayList<EObject>(); - } - return this.contents; - } - - /** - * Gets the value of the eObjectReferences property. - * <p/> - * <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 eObjectReferences property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEObjectReferences().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link EObject } - */ - public List<EObject> getEObjectReferences() { - if (eObjectReferences == null) { - eObjectReferences = new ArrayList<EObject>(); - } - return this.eObjectReferences; - } - - /** - * Gets the value of the references property. - * - * @return possible object is {@link String } - */ - public String getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value allowed object is {@link String } - */ - public void setReferences(final String value) { - this.references = value; - } - - /** - * Gets the value of the source property. - * - * @return possible object is {@link String } - */ - public String getSource() { - return source; - } - - /** - * Sets the value of the source property. - * - * @param value allowed object is {@link String } - */ - public void setSource(final String value) { - this.source = value; - } - -} +/** + * 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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EAnnotation complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EAnnotation"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="contents" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="references" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/> + * </choice> + * </choice> + * <attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EAnnotation", propOrder = {"details", "contents", + "eObjectReferences"}) +public class EAnnotation extends EModelElement { + + protected List<EStringToStringMapEntry> details; + protected List<EObject> contents; + @XmlElement(name = "references") + protected List<EObject> eObjectReferences; + @XmlAttribute + protected String references; + @XmlAttribute + protected String source; + + /** + * Gets the value of the details property. + * <p/> + * <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 details property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getDetails().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link EStringToStringMapEntry } + */ + public List<EStringToStringMapEntry> getDetails() { + if (details == null) { + details = new ArrayList<EStringToStringMapEntry>(); + } + return this.details; + } + + /** + * Gets the value of the contents property. + * <p/> + * <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 contents property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getContents().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link EObject } + */ + public List<EObject> getContents() { + if (contents == null) { + contents = new ArrayList<EObject>(); + } + return this.contents; + } + + /** + * Gets the value of the eObjectReferences property. + * <p/> + * <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 eObjectReferences property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEObjectReferences().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link EObject } + */ + public List<EObject> getEObjectReferences() { + if (eObjectReferences == null) { + eObjectReferences = new ArrayList<EObject>(); + } + return this.eObjectReferences; + } + + /** + * Gets the value of the references property. + * + * @return possible object is {@link String } + */ + public String getReferences() { + return references; + } + + /** + * Sets the value of the references property. + * + * @param value allowed object is {@link String } + */ + public void setReferences(final String value) { + this.references = value; + } + + /** + * Gets the value of the source property. + * + * @return possible object is {@link String } + */ + public String getSource() { + return source; + } + + /** + * Sets the value of the source property. + * + * @param value allowed object is {@link String } + */ + public void setSource(final String value) { + this.source = value; + } + +}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java index fc91167..2cd47c3 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java @@ -1,67 +1,67 @@ -/** - * 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 EAttribute complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EAttribute"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"> - * <attribute name="iD" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EAttribute") -public class EAttribute extends EStructuralFeature { - - @XmlAttribute(name = "iD") - protected Boolean id; - - /** - * Gets the value of the id property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value allowed object is {@link Boolean } - */ - public void setID(final Boolean value) { - this.id = value; - } - -} +/** + * 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 EAttribute complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EAttribute"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"> + * <attribute name="iD" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EAttribute") +public class EAttribute extends EStructuralFeature { + + @XmlAttribute(name = "iD") + protected Boolean id; + + /** + * Gets the value of the id property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isID() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is {@link Boolean } + */ + public void setID(final Boolean value) { + this.id = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java index 672b13b..d515575 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java @@ -1,211 +1,211 @@ -/** - * 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.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EClass complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EClass"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="eSuperTypes" type="{http://www.eclipse.org/emf/2002/Ecore}EClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="eOperations" type="{http://www.eclipse.org/emf/2002/Ecore}EOperation"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="eStructuralFeatures" type="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"/> - * </choice> - * </choice> - * <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="eSuperTypes" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="interface" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EClass", propOrder = {"eClassESuperTypes", "eOperations", - "eStructuralFeatures"}) -public class EClass extends EClassifier { - - @XmlElement(name = "eSuperTypes") - protected List<EClass> eClassESuperTypes; - protected List<EOperation> eOperations; - protected List<EStructuralFeature> eStructuralFeatures; - @XmlAttribute(name = "abstract") - protected Boolean isAbstract; - @XmlAttribute - protected String eSuperTypes; - @XmlAttribute(name = "interface") - protected Boolean isInterface; - - /** - * Gets the value of the eClassESuperTypes property. - * <p/> - * <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 eClassESuperTypes property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEClassESuperTypes().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link EClass } - */ - public List<EClass> getEClassESuperTypes() { - if (eClassESuperTypes == null) { - eClassESuperTypes = new ArrayList<EClass>(); - } - return this.eClassESuperTypes; - } - - /** - * Gets the value of the eOperations property. - * <p/> - * <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 eOperations property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEOperations().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link EOperation } - */ - public List<EOperation> getEOperations() { - if (eOperations == null) { - eOperations = new ArrayList<EOperation>(); - } - return this.eOperations; - } - - /** - * Gets the value of the eStructuralFeatures property. - * <p/> - * <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 eStructuralFeatures property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEStructuralFeatures().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link EStructuralFeature } - */ - public List<EStructuralFeature> getEStructuralFeatures() { - if (eStructuralFeatures == null) { - eStructuralFeatures = new ArrayList<EStructuralFeature>(); - } - return this.eStructuralFeatures; - } - - /** - * Gets the value of the isAbstract property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsAbstract() { - return isAbstract; - } - - /** - * Sets the value of the isAbstract property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsAbstract(final Boolean value) { - this.isAbstract = value; - } - - /** - * Gets the value of the eSuperTypes property. - * - * @return possible object is {@link String } - */ - public String getESuperTypes() { - return eSuperTypes; - } - - /** - * Sets the value of the eSuperTypes property. - * - * @param value allowed object is {@link String } - */ - public void setESuperTypes(final String value) { - this.eSuperTypes = value; - } - - /** - * Gets the value of the isInterface property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsInterface() { - return isInterface; - } - - /** - * Sets the value of the isInterface property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsInterface(final Boolean value) { - this.isInterface = value; - } - -} +/** + * 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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EClass complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EClass"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="eSuperTypes" type="{http://www.eclipse.org/emf/2002/Ecore}EClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="eOperations" type="{http://www.eclipse.org/emf/2002/Ecore}EOperation"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="eStructuralFeatures" type="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"/> + * </choice> + * </choice> + * <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="eSuperTypes" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="interface" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EClass", propOrder = {"eClassESuperTypes", "eOperations", + "eStructuralFeatures"}) +public class EClass extends EClassifier { + + @XmlElement(name = "eSuperTypes") + protected List<EClass> eClassESuperTypes; + protected List<EOperation> eOperations; + protected List<EStructuralFeature> eStructuralFeatures; + @XmlAttribute(name = "abstract") + protected Boolean isAbstract; + @XmlAttribute + protected String eSuperTypes; + @XmlAttribute(name = "interface") + protected Boolean isInterface; + + /** + * Gets the value of the eClassESuperTypes property. + * <p/> + * <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 eClassESuperTypes property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEClassESuperTypes().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link EClass } + */ + public List<EClass> getEClassESuperTypes() { + if (eClassESuperTypes == null) { + eClassESuperTypes = new ArrayList<EClass>(); + } + return this.eClassESuperTypes; + } + + /** + * Gets the value of the eOperations property. + * <p/> + * <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 eOperations property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEOperations().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link EOperation } + */ + public List<EOperation> getEOperations() { + if (eOperations == null) { + eOperations = new ArrayList<EOperation>(); + } + return this.eOperations; + } + + /** + * Gets the value of the eStructuralFeatures property. + * <p/> + * <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 eStructuralFeatures property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEStructuralFeatures().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link EStructuralFeature } + */ + public List<EStructuralFeature> getEStructuralFeatures() { + if (eStructuralFeatures == null) { + eStructuralFeatures = new ArrayList<EStructuralFeature>(); + } + return this.eStructuralFeatures; + } + + /** + * Gets the value of the isAbstract property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsAbstract() { + return isAbstract; + } + + /** + * Sets the value of the isAbstract property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsAbstract(final Boolean value) { + this.isAbstract = value; + } + + /** + * Gets the value of the eSuperTypes property. + * + * @return possible object is {@link String } + */ + public String getESuperTypes() { + return eSuperTypes; + } + + /** + * Sets the value of the eSuperTypes property. + * + * @param value allowed object is {@link String } + */ + public void setESuperTypes(final String value) { + this.eSuperTypes = value; + } + + /** + * Gets the value of the isInterface property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsInterface() { + return isInterface; + } + + /** + * Sets the value of the isInterface property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsInterface(final Boolean value) { + this.isInterface = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java index 6fa59b3..eb40a0c 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java @@ -1,67 +1,67 @@ -/** - * 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 EClassifier complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EClassifier"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement"> - * <attribute name="instanceClassName" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EClassifier") -public class EClassifier extends ENamedElement { - - @XmlAttribute - protected String instanceClassName; - - /** - * Gets the value of the instanceClassName property. - * - * @return possible object is {@link String } - */ - public String getInstanceClassName() { - return instanceClassName; - } - - /** - * Sets the value of the instanceClassName property. - * - * @param value allowed object is {@link String } - */ - public void setInstanceClassName(final String value) { - this.instanceClassName = value; - } - -} +/** + * 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 EClassifier complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EClassifier"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement"> + * <attribute name="instanceClassName" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EClassifier") +public class EClassifier extends ENamedElement { + + @XmlAttribute + protected String instanceClassName; + + /** + * Gets the value of the instanceClassName property. + * + * @return possible object is {@link String } + */ + public String getInstanceClassName() { + return instanceClassName; + } + + /** + * Sets the value of the instanceClassName property. + * + * @param value allowed object is {@link String } + */ + public void setInstanceClassName(final String value) { + this.instanceClassName = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java index a5af2f1..2cae410 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java @@ -1,67 +1,67 @@ -/** - * 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 EDataType complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EDataType"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"> - * <attribute name="serializable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EDataType") -public class EDataType extends EClassifier { - - @XmlAttribute - protected Boolean serializable; - - /** - * Gets the value of the serializable property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isSerializable() { - return serializable; - } - - /** - * Sets the value of the serializable property. - * - * @param value allowed object is {@link Boolean } - */ - public void setSerializable(final Boolean value) { - this.serializable = value; - } - -} +/** + * 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 EDataType complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EDataType"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"> + * <attribute name="serializable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EDataType") +public class EDataType extends EClassifier { + + @XmlAttribute + protected Boolean serializable; + + /** + * Gets the value of the serializable property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isSerializable() { + return serializable; + } + + /** + * Sets the value of the serializable property. + * + * @param value allowed object is {@link Boolean } + */ + public void setSerializable(final Boolean value) { + this.serializable = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java index 3f3ddad..e23cffd 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java @@ -1,79 +1,79 @@ -/** - * 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; -import java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EEnum complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getELiterals().add(newItem); - * </pre> - * <p/> - * <p/> - * <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; - } - -} +/** + * 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; +import java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EEnum complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getELiterals().add(newItem); + * </pre> + * <p/> + * <p/> + * <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; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java index 8e44e49..6a670e1 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java @@ -1,67 +1,67 @@ -/** - * 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/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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(final Integer value) { - this.value = value; - } - -} +/** + * 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/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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(final Integer value) { + this.value = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java index 0022da0..f1234d9 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java @@ -1,44 +1,44 @@ -/** - * 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/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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 { - -} +/** + * 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/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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 { + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java index 1264951..6180a1a 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java @@ -1,79 +1,79 @@ -/** - * 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; -import java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EModelElement complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEAnnotations().add(newItem); - * </pre> - * <p/> - * <p/> - * <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; - } - -} +/** + * 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; +import java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EModelElement complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEAnnotations().add(newItem); + * </pre> + * <p/> + * <p/> + * <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; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java index 0b56151..d3d383d 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java @@ -1,67 +1,67 @@ -/** - * 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/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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(final String value) { - this.name = value; - } - -} +/** + * 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/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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(final String value) { + this.name = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java index a9874db..37ee652 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java @@ -1,238 +1,238 @@ -/** - * 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 org.apache.openejb.jee.was.v6.xmi.Extension; - -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 java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EObject complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getExtensions().add(newItem); - * </pre> - * <p/> - * <p/> - * <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(final 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(final 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(final 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(final 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(final 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(final 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(final String value) { - this.uuid = value; - } - -} +/** + * 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 org.apache.openejb.jee.was.v6.xmi.Extension; + +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 java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EObject complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getExtensions().add(newItem); + * </pre> + * <p/> + * <p/> + * <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(final 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(final 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(final 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(final 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(final 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(final 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(final String value) { + this.uuid = value; + } + +}