http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java index f6888d3..7868383 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java @@ -1,138 +1,138 @@ -/** - * 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 EOperation complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEParameters().add(newItem); - * </pre> - * <p/> - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEClassifierEExceptions().add(newItem); - * </pre> - * <p/> - * <p/> - * <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(final String value) { - this.eExceptions = 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 EOperation complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEParameters().add(newItem); + * </pre> + * <p/> + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEClassifierEExceptions().add(newItem); + * </pre> + * <p/> + * <p/> + * <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(final String value) { + this.eExceptions = 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/EPackage.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java index 10fcc86..b6b271e 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java @@ -1,155 +1,155 @@ -/** - * 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; -import java.util.ArrayList; -import java.util.List; - -/** - * <p/> - * Java class for EPackage complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEClassifiers().add(newItem); - * </pre> - * <p/> - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getESubpackages().add(newItem); - * </pre> - * <p/> - * <p/> - * <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(final 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(final String value) { - this.nsURI = 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; +import java.util.ArrayList; +import java.util.List; + +/** + * <p/> + * Java class for EPackage complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEClassifiers().add(newItem); + * </pre> + * <p/> + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getESubpackages().add(newItem); + * </pre> + * <p/> + * <p/> + * <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(final 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(final String value) { + this.nsURI = 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/EParameter.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java index 10f41cd..0443daf 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.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 EParameter complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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 { - -} +/** + * 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/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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 { + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java index 14893a8..3300a57 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java @@ -1,145 +1,145 @@ -/** - * 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 EReference complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEReferenceEOpposites().add(newItem); - * </pre> - * <p/> - * <p/> - * <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(final 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(final 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(final Boolean value) { - this.resolveProxies = 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 EReference complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEReferenceEOpposites().add(newItem); + * </pre> + * <p/> + * <p/> + * <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(final 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(final 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(final Boolean value) { + this.resolveProxies = 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/EStringToStringMapEntry.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java index 3b18130..f456ccb 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java @@ -1,280 +1,280 @@ -/** - * 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 EStringToStringMapEntry complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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 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(final 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(final 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(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 EStringToStringMapEntry complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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 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(final 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(final 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(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; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java index a2062ae..d0f8845 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java @@ -1,172 +1,172 @@ -/** - * 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/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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(final 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(final 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(final 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(final 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(final 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(final Boolean value) { - this.isVolatile = 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 EStructuralFeature complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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(final 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(final 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(final 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(final 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(final 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(final Boolean value) { + this.isVolatile = 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/ETypedElement.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java index 900c3e2..1348f1a 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java @@ -1,187 +1,187 @@ -/** - * 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 ETypedElement complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <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/> - * <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/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEClassifierETypes().add(newItem); - * </pre> - * <p/> - * <p/> - * <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(final 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(final 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(final 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(final 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(final Integer value) { - this.upperBound = 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 ETypedElement complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <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/> + * <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/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEClassifierETypes().add(newItem); + * </pre> + * <p/> + * <p/> + * <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(final 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(final 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(final 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(final 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(final Integer value) { + this.upperBound = value; + } + +}