http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java index 00f3eb2..ab706a3 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java @@ -1,313 +1,313 @@ -/** - * 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.java; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlIDREF; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; - -import org.apache.openejb.jee.was.v6.xmi.Extension; - -/** - * <p/> - * Java class for Block complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="Block"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="contents" type="{java.xmi}Block"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="source" 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 = "Block", propOrder = {"contents", "extensions"}) -public class Block { - - protected List<Block> contents; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected String name; - @XmlAttribute - protected String source; - @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 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 Block } - */ - public List<Block> getContents() { - if (contents == null) { - contents = new ArrayList<Block>(); - } - return this.contents; - } - - /** - * 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 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; - } - - /** - * 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; - } - - /** - * 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.java; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + +import org.apache.openejb.jee.was.v6.xmi.Extension; + +/** + * <p/> + * Java class for Block complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="Block"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="contents" type="{java.xmi}Block"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="source" 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 = "Block", propOrder = {"contents", "extensions"}) +public class Block { + + protected List<Block> contents; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected String name; + @XmlAttribute + protected String source; + @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 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 Block } + */ + public List<Block> getContents() { + if (contents == null) { + contents = new ArrayList<Block>(); + } + return this.contents; + } + + /** + * 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 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; + } + + /** + * 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; + } + + /** + * 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/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.java index 309a555..5a9b5d3 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.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.java; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -/** - * <p/> - * Java class for Comment complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="Comment"> - * <complexContent> - * <extension base="{java.xmi}Block"> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Comment") -public class Comment extends Block { - -} +/** + * 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.java; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + +/** + * <p/> + * Java class for Comment complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="Comment"> + * <complexContent> + * <extension base="{java.xmi}Block"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Comment") +public class Comment extends Block { + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java index 3e820d7..7fa1d05 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java @@ -1,188 +1,188 @@ -/** - * 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.java; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - -import org.apache.openejb.jee.was.v6.ecore.ETypedElement; - -/** - * <p/> - * Java class for Field complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="Field"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="initializer" type="{java.xmi}Block"/> - * </choice> - * <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="javaVisibility" type="{java.xmi}JavaVisibilityKind" /> - * <attribute name="static" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="transient" 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 = "Field", propOrder = {"initializers"}) -public class Field extends ETypedElement { - - @XmlElement(name = "initializer") - protected List<Block> initializers; - @XmlAttribute(name = "final") - protected Boolean isFinal; - @XmlAttribute - protected JavaVisibilityEnum javaVisibility; - @XmlAttribute(name = "static") - protected Boolean isStatic; - @XmlAttribute(name = "transient") - protected Boolean isTransient; - @XmlAttribute(name = "volatile") - protected Boolean isVolatile; - - /** - * Gets the value of the initializers 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 initializers property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getInitializers().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link Block } - */ - public List<Block> getInitializers() { - if (initializers == null) { - initializers = new ArrayList<Block>(); - } - return this.initializers; - } - - /** - * Gets the value of the isFinal property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsFinal() { - return isFinal; - } - - /** - * Sets the value of the isFinal property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsFinal(final Boolean value) { - this.isFinal = value; - } - - /** - * Gets the value of the javaVisibility property. - * - * @return possible object is {@link JavaVisibilityEnum } - */ - public JavaVisibilityEnum getJavaVisibility() { - return javaVisibility; - } - - /** - * Sets the value of the javaVisibility property. - * - * @param value allowed object is {@link JavaVisibilityEnum } - */ - public void setJavaVisibility(final JavaVisibilityEnum value) { - this.javaVisibility = value; - } - - /** - * Gets the value of the isStatic property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsStatic() { - return isStatic; - } - - /** - * Sets the value of the isStatic property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsStatic(final Boolean value) { - this.isStatic = 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 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.java; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import org.apache.openejb.jee.was.v6.ecore.ETypedElement; + +/** + * <p/> + * Java class for Field complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="Field"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="initializer" type="{java.xmi}Block"/> + * </choice> + * <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="javaVisibility" type="{java.xmi}JavaVisibilityKind" /> + * <attribute name="static" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="transient" 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 = "Field", propOrder = {"initializers"}) +public class Field extends ETypedElement { + + @XmlElement(name = "initializer") + protected List<Block> initializers; + @XmlAttribute(name = "final") + protected Boolean isFinal; + @XmlAttribute + protected JavaVisibilityEnum javaVisibility; + @XmlAttribute(name = "static") + protected Boolean isStatic; + @XmlAttribute(name = "transient") + protected Boolean isTransient; + @XmlAttribute(name = "volatile") + protected Boolean isVolatile; + + /** + * Gets the value of the initializers 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 initializers property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getInitializers().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link Block } + */ + public List<Block> getInitializers() { + if (initializers == null) { + initializers = new ArrayList<Block>(); + } + return this.initializers; + } + + /** + * Gets the value of the isFinal property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsFinal() { + return isFinal; + } + + /** + * Sets the value of the isFinal property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsFinal(final Boolean value) { + this.isFinal = value; + } + + /** + * Gets the value of the javaVisibility property. + * + * @return possible object is {@link JavaVisibilityEnum } + */ + public JavaVisibilityEnum getJavaVisibility() { + return javaVisibility; + } + + /** + * Sets the value of the javaVisibility property. + * + * @param value allowed object is {@link JavaVisibilityEnum } + */ + public void setJavaVisibility(final JavaVisibilityEnum value) { + this.javaVisibility = value; + } + + /** + * Gets the value of the isStatic property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsStatic() { + return isStatic; + } + + /** + * Sets the value of the isStatic property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsStatic(final Boolean value) { + this.isStatic = 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 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/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java index 9c07691..08a817f 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java @@ -1,314 +1,314 @@ -/** - * 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.java; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlIDREF; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; - -import org.apache.openejb.jee.was.v6.xmi.Extension; - -/** - * <p/> - * Java class for Initializer complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="Initializer"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="source" type="{java.xmi}Block"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute name="isStatic" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="source" 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 = "Initializer", propOrder = {"sources", "extensions"}) -public class Initializer { - - @XmlElement(name = "source") - protected List<Block> sources; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected Boolean isStatic; - @XmlAttribute - protected String source; - @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 sources 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 sources property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getSources().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link Block } - */ - public List<Block> getSources() { - if (sources == null) { - sources = new ArrayList<Block>(); - } - return this.sources; - } - - /** - * 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 isStatic property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsStatic() { - return isStatic; - } - - /** - * Sets the value of the isStatic property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsStatic(final Boolean value) { - this.isStatic = 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; - } - - /** - * 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.java; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + +import org.apache.openejb.jee.was.v6.xmi.Extension; + +/** + * <p/> + * Java class for Initializer complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="Initializer"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="source" type="{java.xmi}Block"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute name="isStatic" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="source" 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 = "Initializer", propOrder = {"sources", "extensions"}) +public class Initializer { + + @XmlElement(name = "source") + protected List<Block> sources; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected Boolean isStatic; + @XmlAttribute + protected String source; + @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 sources 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 sources property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getSources().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link Block } + */ + public List<Block> getSources() { + if (sources == null) { + sources = new ArrayList<Block>(); + } + return this.sources; + } + + /** + * 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 isStatic property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsStatic() { + return isStatic; + } + + /** + * Sets the value of the isStatic property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsStatic(final Boolean value) { + this.isStatic = 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; + } + + /** + * 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/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java index 73df2a7..7a7b787 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java @@ -1,514 +1,514 @@ -/** - * 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.java; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - -import org.apache.openejb.jee.was.v6.ecore.EClass; - -/** - * <p/> - * Java class for JavaClass complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="JavaClass"> - * <complexContent> - * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClass"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="implementsInterfaces" type="{java.xmi}JavaClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="classImport" type="{java.xmi}JavaClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="packageImports" type="{java.xmi}JavaPackage"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="fields" type="{java.xmi}Field"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="methods" type="{java.xmi}Method"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="initializers" type="{java.xmi}Initializer"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="declaredClasses" type="{java.xmi}JavaClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="declaringClass" type="{java.xmi}JavaClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="events" type="{java.xmi}JavaEvent"/> - * </choice> - * </choice> - * <attribute name="classImport" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="declaredClasses" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="declaringClass" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="implementsInterfaces" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="kind" type="{java.xmi}TypeKind" /> - * <attribute name="packageImports" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="public" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "JavaClass", propOrder = {"javaClassImplementsInterfaces", - "javaClassImports", "javaPackageImports", "fields", "methods", - "initializers", "javaDeclaredClasses", "javaDeclaringClasses", "events"}) -public class JavaClass extends EClass { - - @XmlElement(name = "implementsInterfaces") - protected List<JavaClass> javaClassImplementsInterfaces; - @XmlElement(name = "classImport") - protected List<JavaClass> javaClassImports; - @XmlElement(name = "packageImports") - protected List<JavaPackage> javaPackageImports; - protected List<Field> fields; - protected List<Method> methods; - protected List<Initializer> initializers; - @XmlElement(name = "declaredClasses") - protected List<JavaClass> javaDeclaredClasses; - @XmlElement(name = "declaringClass") - protected List<JavaClass> javaDeclaringClasses; - protected List<JavaEvent> events; - @XmlAttribute - protected String classImport; - @XmlAttribute - protected String declaredClasses; - @XmlAttribute - protected String declaringClass; - @XmlAttribute(name = "final") - protected Boolean isFinal; - @XmlAttribute - protected String implementsInterfaces; - @XmlAttribute - protected TypeKind kind; - @XmlAttribute - protected String packageImports; - @XmlAttribute(name = "public") - protected Boolean isPublic; - - /** - * Gets the value of the javaClassImplementsInterfaces 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 javaClassImplementsInterfaces property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getJavaClassImplementsInterfaces().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getJavaClassImplementsInterfaces() { - if (javaClassImplementsInterfaces == null) { - javaClassImplementsInterfaces = new ArrayList<JavaClass>(); - } - return this.javaClassImplementsInterfaces; - } - - /** - * Gets the value of the javaClassImports 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 javaClassImports property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getJavaClassImports().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getJavaClassImports() { - if (javaClassImports == null) { - javaClassImports = new ArrayList<JavaClass>(); - } - return this.javaClassImports; - } - - /** - * Gets the value of the javaPackageImports 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 javaPackageImports property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getJavaPackageImports().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaPackage } - */ - public List<JavaPackage> getJavaPackageImports() { - if (javaPackageImports == null) { - javaPackageImports = new ArrayList<JavaPackage>(); - } - return this.javaPackageImports; - } - - /** - * Gets the value of the fields 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 fields property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getFields().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link Field } - */ - public List<Field> getFields() { - if (fields == null) { - fields = new ArrayList<Field>(); - } - return this.fields; - } - - /** - * Gets the value of the methods 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 methods property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getMethods().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link Method } - */ - public List<Method> getMethods() { - if (methods == null) { - methods = new ArrayList<Method>(); - } - return this.methods; - } - - /** - * Gets the value of the initializers 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 initializers property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getInitializers().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Initializer } - */ - public List<Initializer> getInitializers() { - if (initializers == null) { - initializers = new ArrayList<Initializer>(); - } - return this.initializers; - } - - /** - * Gets the value of the javaDeclaredClasses 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 javaDeclaredClasses property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getJavaDeclaredClasses().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getJavaDeclaredClasses() { - if (javaDeclaredClasses == null) { - javaDeclaredClasses = new ArrayList<JavaClass>(); - } - return this.javaDeclaredClasses; - } - - /** - * Gets the value of the javaDeclaringClasses 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 javaDeclaringClasses property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getJavaDeclaringClasses().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getJavaDeclaringClasses() { - if (javaDeclaringClasses == null) { - javaDeclaringClasses = new ArrayList<JavaClass>(); - } - return this.javaDeclaringClasses; - } - - /** - * Gets the value of the events 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 events property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getEvents().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaEvent } - */ - public List<JavaEvent> getEvents() { - if (events == null) { - events = new ArrayList<JavaEvent>(); - } - return this.events; - } - - /** - * Gets the value of the classImport property. - * - * @return possible object is {@link String } - */ - public String getClassImport() { - return classImport; - } - - /** - * Sets the value of the classImport property. - * - * @param value allowed object is {@link String } - */ - public void setClassImport(final String value) { - this.classImport = value; - } - - /** - * Gets the value of the declaredClasses property. - * - * @return possible object is {@link String } - */ - public String getDeclaredClasses() { - return declaredClasses; - } - - /** - * Sets the value of the declaredClasses property. - * - * @param value allowed object is {@link String } - */ - public void setDeclaredClasses(final String value) { - this.declaredClasses = value; - } - - /** - * Gets the value of the declaringClass property. - * - * @return possible object is {@link String } - */ - public String getDeclaringClass() { - return declaringClass; - } - - /** - * Sets the value of the declaringClass property. - * - * @param value allowed object is {@link String } - */ - public void setDeclaringClass(final String value) { - this.declaringClass = value; - } - - /** - * Gets the value of the isFinal property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsFinal() { - return isFinal; - } - - /** - * Sets the value of the isFinal property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsFinal(final Boolean value) { - this.isFinal = value; - } - - /** - * Gets the value of the implementsInterfaces property. - * - * @return possible object is {@link String } - */ - public String getImplementsInterfaces() { - return implementsInterfaces; - } - - /** - * Sets the value of the implementsInterfaces property. - * - * @param value allowed object is {@link String } - */ - public void setImplementsInterfaces(final String value) { - this.implementsInterfaces = value; - } - - /** - * Gets the value of the kind property. - * - * @return possible object is {@link TypeKind } - */ - public TypeKind getKind() { - return kind; - } - - /** - * Sets the value of the kind property. - * - * @param value allowed object is {@link TypeKind } - */ - public void setKind(final TypeKind value) { - this.kind = value; - } - - /** - * Gets the value of the packageImports property. - * - * @return possible object is {@link String } - */ - public String getPackageImports() { - return packageImports; - } - - /** - * Sets the value of the packageImports property. - * - * @param value allowed object is {@link String } - */ - public void setPackageImports(final String value) { - this.packageImports = value; - } - - /** - * Gets the value of the isPublic property. - * - * @return possible object is {@link Boolean } - */ - public Boolean isIsPublic() { - return isPublic; - } - - /** - * Sets the value of the isPublic property. - * - * @param value allowed object is {@link Boolean } - */ - public void setIsPublic(final Boolean value) { - this.isPublic = 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.java; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import org.apache.openejb.jee.was.v6.ecore.EClass; + +/** + * <p/> + * Java class for JavaClass complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="JavaClass"> + * <complexContent> + * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClass"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="implementsInterfaces" type="{java.xmi}JavaClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="classImport" type="{java.xmi}JavaClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="packageImports" type="{java.xmi}JavaPackage"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="fields" type="{java.xmi}Field"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="methods" type="{java.xmi}Method"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="initializers" type="{java.xmi}Initializer"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="declaredClasses" type="{java.xmi}JavaClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="declaringClass" type="{java.xmi}JavaClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="events" type="{java.xmi}JavaEvent"/> + * </choice> + * </choice> + * <attribute name="classImport" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="declaredClasses" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="declaringClass" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="implementsInterfaces" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="kind" type="{java.xmi}TypeKind" /> + * <attribute name="packageImports" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="public" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "JavaClass", propOrder = {"javaClassImplementsInterfaces", + "javaClassImports", "javaPackageImports", "fields", "methods", + "initializers", "javaDeclaredClasses", "javaDeclaringClasses", "events"}) +public class JavaClass extends EClass { + + @XmlElement(name = "implementsInterfaces") + protected List<JavaClass> javaClassImplementsInterfaces; + @XmlElement(name = "classImport") + protected List<JavaClass> javaClassImports; + @XmlElement(name = "packageImports") + protected List<JavaPackage> javaPackageImports; + protected List<Field> fields; + protected List<Method> methods; + protected List<Initializer> initializers; + @XmlElement(name = "declaredClasses") + protected List<JavaClass> javaDeclaredClasses; + @XmlElement(name = "declaringClass") + protected List<JavaClass> javaDeclaringClasses; + protected List<JavaEvent> events; + @XmlAttribute + protected String classImport; + @XmlAttribute + protected String declaredClasses; + @XmlAttribute + protected String declaringClass; + @XmlAttribute(name = "final") + protected Boolean isFinal; + @XmlAttribute + protected String implementsInterfaces; + @XmlAttribute + protected TypeKind kind; + @XmlAttribute + protected String packageImports; + @XmlAttribute(name = "public") + protected Boolean isPublic; + + /** + * Gets the value of the javaClassImplementsInterfaces 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 javaClassImplementsInterfaces property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getJavaClassImplementsInterfaces().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getJavaClassImplementsInterfaces() { + if (javaClassImplementsInterfaces == null) { + javaClassImplementsInterfaces = new ArrayList<JavaClass>(); + } + return this.javaClassImplementsInterfaces; + } + + /** + * Gets the value of the javaClassImports 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 javaClassImports property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getJavaClassImports().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getJavaClassImports() { + if (javaClassImports == null) { + javaClassImports = new ArrayList<JavaClass>(); + } + return this.javaClassImports; + } + + /** + * Gets the value of the javaPackageImports 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 javaPackageImports property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getJavaPackageImports().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaPackage } + */ + public List<JavaPackage> getJavaPackageImports() { + if (javaPackageImports == null) { + javaPackageImports = new ArrayList<JavaPackage>(); + } + return this.javaPackageImports; + } + + /** + * Gets the value of the fields 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 fields property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getFields().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link Field } + */ + public List<Field> getFields() { + if (fields == null) { + fields = new ArrayList<Field>(); + } + return this.fields; + } + + /** + * Gets the value of the methods 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 methods property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getMethods().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link Method } + */ + public List<Method> getMethods() { + if (methods == null) { + methods = new ArrayList<Method>(); + } + return this.methods; + } + + /** + * Gets the value of the initializers 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 initializers property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getInitializers().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Initializer } + */ + public List<Initializer> getInitializers() { + if (initializers == null) { + initializers = new ArrayList<Initializer>(); + } + return this.initializers; + } + + /** + * Gets the value of the javaDeclaredClasses 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 javaDeclaredClasses property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getJavaDeclaredClasses().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getJavaDeclaredClasses() { + if (javaDeclaredClasses == null) { + javaDeclaredClasses = new ArrayList<JavaClass>(); + } + return this.javaDeclaredClasses; + } + + /** + * Gets the value of the javaDeclaringClasses 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 javaDeclaringClasses property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getJavaDeclaringClasses().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getJavaDeclaringClasses() { + if (javaDeclaringClasses == null) { + javaDeclaringClasses = new ArrayList<JavaClass>(); + } + return this.javaDeclaringClasses; + } + + /** + * Gets the value of the events 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 events property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getEvents().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaEvent } + */ + public List<JavaEvent> getEvents() { + if (events == null) { + events = new ArrayList<JavaEvent>(); + } + return this.events; + } + + /** + * Gets the value of the classImport property. + * + * @return possible object is {@link String } + */ + public String getClassImport() { + return classImport; + } + + /** + * Sets the value of the classImport property. + * + * @param value allowed object is {@link String } + */ + public void setClassImport(final String value) { + this.classImport = value; + } + + /** + * Gets the value of the declaredClasses property. + * + * @return possible object is {@link String } + */ + public String getDeclaredClasses() { + return declaredClasses; + } + + /** + * Sets the value of the declaredClasses property. + * + * @param value allowed object is {@link String } + */ + public void setDeclaredClasses(final String value) { + this.declaredClasses = value; + } + + /** + * Gets the value of the declaringClass property. + * + * @return possible object is {@link String } + */ + public String getDeclaringClass() { + return declaringClass; + } + + /** + * Sets the value of the declaringClass property. + * + * @param value allowed object is {@link String } + */ + public void setDeclaringClass(final String value) { + this.declaringClass = value; + } + + /** + * Gets the value of the isFinal property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsFinal() { + return isFinal; + } + + /** + * Sets the value of the isFinal property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsFinal(final Boolean value) { + this.isFinal = value; + } + + /** + * Gets the value of the implementsInterfaces property. + * + * @return possible object is {@link String } + */ + public String getImplementsInterfaces() { + return implementsInterfaces; + } + + /** + * Sets the value of the implementsInterfaces property. + * + * @param value allowed object is {@link String } + */ + public void setImplementsInterfaces(final String value) { + this.implementsInterfaces = value; + } + + /** + * Gets the value of the kind property. + * + * @return possible object is {@link TypeKind } + */ + public TypeKind getKind() { + return kind; + } + + /** + * Sets the value of the kind property. + * + * @param value allowed object is {@link TypeKind } + */ + public void setKind(final TypeKind value) { + this.kind = value; + } + + /** + * Gets the value of the packageImports property. + * + * @return possible object is {@link String } + */ + public String getPackageImports() { + return packageImports; + } + + /** + * Sets the value of the packageImports property. + * + * @param value allowed object is {@link String } + */ + public void setPackageImports(final String value) { + this.packageImports = value; + } + + /** + * Gets the value of the isPublic property. + * + * @return possible object is {@link Boolean } + */ + public Boolean isIsPublic() { + return isPublic; + } + + /** + * Sets the value of the isPublic property. + * + * @param value allowed object is {@link Boolean } + */ + public void setIsPublic(final Boolean value) { + this.isPublic = value; + } + +}