http://git-wip-us.apache.org/repos/asf/tomee/blob/5238cc81/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java index 37d8919..6d55de4 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java @@ -1,244 +1,244 @@ -/** - * 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.commonbnd; - -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; - -/** - * Represents authentication data used for providing authentication data for - * resources. The default authentication mechanism provided in the standard - * model is Basic Authentication; however, other authentication types such as - * certificates and tokens are expected to be extended off this type in the - * advanced and enterprise layers. - * <p/> - * <p/> - * Java class for AbstractAuthData complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="AbstractAuthData"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute ref="{http://www.omg.org/XMI}id"/> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AbstractAuthData", propOrder = {"extensions"}) -public class AbstractAuthData { - - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - protected String id; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected QName type; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String version; - @XmlAttribute - protected String href; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlIDREF - protected Object idref; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String label; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String uuid; - - /** - * Gets the value of the extensions property. - * <p/> - * <p/> - * This accessor method returns a reference to the live list, not a - * snapshot. Therefore any modification you make to the returned list will - * be present inside the JAXB object. This is why there is not a - * <CODE>set</CODE> method for the extensions property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getExtensions().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Extension } - */ - public List<Extension> getExtensions() { - if (extensions == null) { - extensions = new ArrayList<Extension>(); - } - return this.extensions; - } - - /** - * Gets the value of the id property. - * - * @return possible object is {@link String } - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value allowed object is {@link String } - */ - public void setId(final String value) { - this.id = value; - } - - /** - * Gets the value of the type property. - * - * @return possible object is {@link QName } - */ - public QName getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value allowed object is {@link QName } - */ - public void setType(final QName value) { - this.type = value; - } - - /** - * Gets the value of the version property. - * - * @return possible object is {@link String } - */ - public String getVersion() { - if (version == null) { - return "2.0"; - } else { - return version; - } - } - - /** - * Sets the value of the version property. - * - * @param value allowed object is {@link String } - */ - public void setVersion(final String value) { - this.version = value; - } - - /** - * Gets the value of the href property. - * - * @return possible object is {@link String } - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value allowed object is {@link String } - */ - public void setHref(final String value) { - this.href = value; - } - - /** - * Gets the value of the idref property. - * - * @return possible object is {@link Object } - */ - public Object getIdref() { - return idref; - } - - /** - * Sets the value of the idref property. - * - * @param value allowed object is {@link Object } - */ - public void setIdref(final Object value) { - this.idref = value; - } - - /** - * Gets the value of the label property. - * - * @return possible object is {@link String } - */ - public String getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value allowed object is {@link String } - */ - public void setLabel(final String value) { - this.label = value; - } - - /** - * Gets the value of the uuid property. - * - * @return possible object is {@link String } - */ - public String getUuid() { - return uuid; - } - - /** - * Sets the value of the uuid property. - * - * @param value allowed object is {@link String } - */ - public void setUuid(final String value) { - this.uuid = value; - } - -} +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.jee.was.v6.commonbnd; + +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; + +/** + * Represents authentication data used for providing authentication data for + * resources. The default authentication mechanism provided in the standard + * model is Basic Authentication; however, other authentication types such as + * certificates and tokens are expected to be extended off this type in the + * advanced and enterprise layers. + * <p/> + * <p/> + * Java class for AbstractAuthData complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="AbstractAuthData"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute ref="{http://www.omg.org/XMI}id"/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAuthData", propOrder = {"extensions"}) +public class AbstractAuthData { + + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected QName type; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String version; + @XmlAttribute + protected String href; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlIDREF + protected Object idref; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String label; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String uuid; + + /** + * Gets the value of the extensions property. + * <p/> + * <p/> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the extensions property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getExtensions().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Extension } + */ + public List<Extension> getExtensions() { + if (extensions == null) { + extensions = new ArrayList<Extension>(); + } + return this.extensions; + } + + /** + * Gets the value of the id property. + * + * @return possible object is {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is {@link String } + */ + public void setId(final String value) { + this.id = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link QName } + */ + public QName getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link QName } + */ + public void setType(final QName value) { + this.type = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + if (version == null) { + return "2.0"; + } else { + return version; + } + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(final String value) { + this.version = value; + } + + /** + * Gets the value of the href property. + * + * @return possible object is {@link String } + */ + public String getHref() { + return href; + } + + /** + * Sets the value of the href property. + * + * @param value allowed object is {@link String } + */ + public void setHref(final String value) { + this.href = value; + } + + /** + * Gets the value of the idref property. + * + * @return possible object is {@link Object } + */ + public Object getIdref() { + return idref; + } + + /** + * Sets the value of the idref property. + * + * @param value allowed object is {@link Object } + */ + public void setIdref(final Object value) { + this.idref = value; + } + + /** + * Gets the value of the label property. + * + * @return possible object is {@link String } + */ + public String getLabel() { + return label; + } + + /** + * Sets the value of the label property. + * + * @param value allowed object is {@link String } + */ + public void setLabel(final String value) { + this.label = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(final String value) { + this.uuid = value; + } + +}
http://git-wip-us.apache.org/repos/asf/tomee/blob/5238cc81/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java index 37b5d61..71a42d4 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java @@ -1,92 +1,92 @@ -/** - * 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.commonbnd; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -/** - * A basic type of Authentication which provides a userId and password for - * connecting to a resource. - * <p/> - * <p/> - * <p/> - * Java class for BasicAuthData complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="BasicAuthData"> - * <complexContent> - * <extension base="{commonbnd.xmi}AbstractAuthData"> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userId" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BasicAuthData") -public class BasicAuthData extends AbstractAuthData { - - @XmlAttribute - protected String password; - @XmlAttribute - protected String userId; - - /** - * Gets the value of the password property. - * - * @return possible object is {@link String } - */ - public String getPassword() { - return password; - } - - /** - * Sets the value of the password property. - * - * @param value allowed object is {@link String } - */ - public void setPassword(final String value) { - this.password = value; - } - - /** - * Gets the value of the userId property. - * - * @return possible object is {@link String } - */ - public String getUserId() { - return userId; - } - - /** - * Sets the value of the userId property. - * - * @param value allowed object is {@link String } - */ - public void setUserId(final String value) { - this.userId = 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.commonbnd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + +/** + * A basic type of Authentication which provides a userId and password for + * connecting to a resource. + * <p/> + * <p/> + * <p/> + * Java class for BasicAuthData complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="BasicAuthData"> + * <complexContent> + * <extension base="{commonbnd.xmi}AbstractAuthData"> + * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="userId" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BasicAuthData") +public class BasicAuthData extends AbstractAuthData { + + @XmlAttribute + protected String password; + @XmlAttribute + protected String userId; + + /** + * Gets the value of the password property. + * + * @return possible object is {@link String } + */ + public String getPassword() { + return password; + } + + /** + * Sets the value of the password property. + * + * @param value allowed object is {@link String } + */ + public void setPassword(final String value) { + this.password = value; + } + + /** + * Gets the value of the userId property. + * + * @return possible object is {@link String } + */ + public String getUserId() { + return userId; + } + + /** + * Sets the value of the userId property. + * + * @param value allowed object is {@link String } + */ + public void setUserId(final String value) { + this.userId = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/5238cc81/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java index 7f5600f..afbe826 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java @@ -1,315 +1,315 @@ -/** - * 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.commonbnd; - -import org.apache.openejb.jee.was.v6.common.EjbRef; -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 EjbRefBinding complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="EjbRefBinding"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="bindingEjbRef" type="{common.xmi}EjbRef"/> - * </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="bindingEjbRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="jndiName" 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 = "EjbRefBinding", propOrder = {"bindingEjbRefs", "extensions"}) -public class EjbRefBinding { - - @XmlElement(name = "bindingEjbRef") - protected List<EjbRef> bindingEjbRefs; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected String bindingEjbRef; - @XmlAttribute - protected String jndiName; - @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 bindingEjbRefs 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 bindingEjbRefs property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getBindingEjbRefs().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list {@link EjbRef } - */ - public List<EjbRef> getBindingEjbRefs() { - if (bindingEjbRefs == null) { - bindingEjbRefs = new ArrayList<EjbRef>(); - } - return this.bindingEjbRefs; - } - - /** - * 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 bindingEjbRef property. - * - * @return possible object is {@link String } - */ - public String getBindingEjbRef() { - return bindingEjbRef; - } - - /** - * Sets the value of the bindingEjbRef property. - * - * @param value allowed object is {@link String } - */ - public void setBindingEjbRef(final String value) { - this.bindingEjbRef = value; - } - - /** - * Gets the value of the jndiName property. - * - * @return possible object is {@link String } - */ - public String getJndiName() { - return jndiName; - } - - /** - * Sets the value of the jndiName property. - * - * @param value allowed object is {@link String } - */ - public void setJndiName(final String value) { - this.jndiName = 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.commonbnd; + +import org.apache.openejb.jee.was.v6.common.EjbRef; +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 EjbRefBinding complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="EjbRefBinding"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="bindingEjbRef" type="{common.xmi}EjbRef"/> + * </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="bindingEjbRef" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="jndiName" 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 = "EjbRefBinding", propOrder = {"bindingEjbRefs", "extensions"}) +public class EjbRefBinding { + + @XmlElement(name = "bindingEjbRef") + protected List<EjbRef> bindingEjbRefs; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected String bindingEjbRef; + @XmlAttribute + protected String jndiName; + @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 bindingEjbRefs 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 bindingEjbRefs property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getBindingEjbRefs().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list {@link EjbRef } + */ + public List<EjbRef> getBindingEjbRefs() { + if (bindingEjbRefs == null) { + bindingEjbRefs = new ArrayList<EjbRef>(); + } + return this.bindingEjbRefs; + } + + /** + * 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 bindingEjbRef property. + * + * @return possible object is {@link String } + */ + public String getBindingEjbRef() { + return bindingEjbRef; + } + + /** + * Sets the value of the bindingEjbRef property. + * + * @param value allowed object is {@link String } + */ + public void setBindingEjbRef(final String value) { + this.bindingEjbRef = value; + } + + /** + * Gets the value of the jndiName property. + * + * @return possible object is {@link String } + */ + public String getJndiName() { + return jndiName; + } + + /** + * Sets the value of the jndiName property. + * + * @param value allowed object is {@link String } + */ + public void setJndiName(final String value) { + this.jndiName = 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/5238cc81/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java index 67981d8..9b73767 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java @@ -1,317 +1,317 @@ -/** - * 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.commonbnd; - -import org.apache.openejb.jee.was.v6.common.MessageDestinationRef; -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 MessageDestinationRefBinding complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="MessageDestinationRefBinding"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="bindingMessageDestinationRef" type="{common.xmi}MessageDestinationRef"/> - * </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="bindingMessageDestinationRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="jndiName" 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 = "MessageDestinationRefBinding", propOrder = { - "bindingMessageDestinationRefs", "extensions"}) -public class MessageDestinationRefBinding { - - @XmlElement(name = "bindingMessageDestinationRef") - protected List<MessageDestinationRef> bindingMessageDestinationRefs; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected String bindingMessageDestinationRef; - @XmlAttribute - protected String jndiName; - @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 bindingMessageDestinationRefs 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 bindingMessageDestinationRefs property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getBindingMessageDestinationRefs().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link MessageDestinationRef } - */ - public List<MessageDestinationRef> getBindingMessageDestinationRefs() { - if (bindingMessageDestinationRefs == null) { - bindingMessageDestinationRefs = new ArrayList<MessageDestinationRef>(); - } - return this.bindingMessageDestinationRefs; - } - - /** - * 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 bindingMessageDestinationRef property. - * - * @return possible object is {@link String } - */ - public String getBindingMessageDestinationRef() { - return bindingMessageDestinationRef; - } - - /** - * Sets the value of the bindingMessageDestinationRef property. - * - * @param value allowed object is {@link String } - */ - public void setBindingMessageDestinationRef(final String value) { - this.bindingMessageDestinationRef = value; - } - - /** - * Gets the value of the jndiName property. - * - * @return possible object is {@link String } - */ - public String getJndiName() { - return jndiName; - } - - /** - * Sets the value of the jndiName property. - * - * @param value allowed object is {@link String } - */ - public void setJndiName(final String value) { - this.jndiName = 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.commonbnd; + +import org.apache.openejb.jee.was.v6.common.MessageDestinationRef; +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 MessageDestinationRefBinding complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="MessageDestinationRefBinding"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="bindingMessageDestinationRef" type="{common.xmi}MessageDestinationRef"/> + * </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="bindingMessageDestinationRef" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="jndiName" 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 = "MessageDestinationRefBinding", propOrder = { + "bindingMessageDestinationRefs", "extensions"}) +public class MessageDestinationRefBinding { + + @XmlElement(name = "bindingMessageDestinationRef") + protected List<MessageDestinationRef> bindingMessageDestinationRefs; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected String bindingMessageDestinationRef; + @XmlAttribute + protected String jndiName; + @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 bindingMessageDestinationRefs 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 bindingMessageDestinationRefs property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getBindingMessageDestinationRefs().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link MessageDestinationRef } + */ + public List<MessageDestinationRef> getBindingMessageDestinationRefs() { + if (bindingMessageDestinationRefs == null) { + bindingMessageDestinationRefs = new ArrayList<MessageDestinationRef>(); + } + return this.bindingMessageDestinationRefs; + } + + /** + * 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 bindingMessageDestinationRef property. + * + * @return possible object is {@link String } + */ + public String getBindingMessageDestinationRef() { + return bindingMessageDestinationRef; + } + + /** + * Sets the value of the bindingMessageDestinationRef property. + * + * @param value allowed object is {@link String } + */ + public void setBindingMessageDestinationRef(final String value) { + this.bindingMessageDestinationRef = value; + } + + /** + * Gets the value of the jndiName property. + * + * @return possible object is {@link String } + */ + public String getJndiName() { + return jndiName; + } + + /** + * Sets the value of the jndiName property. + * + * @param value allowed object is {@link String } + */ + public void setJndiName(final String value) { + this.jndiName = 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/5238cc81/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java index 3ad671f..a064676 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java @@ -1,186 +1,186 @@ -/** - * 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.commonbnd; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - -/** - * This object contains factory methods for each Java content interface and Java - * element interface generated in the org.apache.openejb.jee.was.v6.commonbnd - * package. - * <p/> - * An ObjectFactory allows you to programatically construct new instances of the - * Java representation for XML content. The Java representation of XML content - * can consist of schema derived interfaces and classes representing the binding - * of schema type definitions, element declarations and model groups. Factory - * methods for each of these are provided in this class. - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _Property_QNAME = new QName("commonbnd.xmi", - "Property"); - private final static QName _AbstractAuthData_QNAME = new QName( - "commonbnd.xmi", "AbstractAuthData"); - private final static QName _ResourceEnvRefBinding_QNAME = new QName( - "commonbnd.xmi", "ResourceEnvRefBinding"); - private final static QName _ResourceRefBinding_QNAME = new QName( - "commonbnd.xmi", "ResourceRefBinding"); - private final static QName _BasicAuthData_QNAME = new QName( - "commonbnd.xmi", "BasicAuthData"); - private final static QName _MessageDestinationRefBinding_QNAME = new QName( - "commonbnd.xmi", "MessageDestinationRefBinding"); - private final static QName _EjbRefBinding_QNAME = new QName( - "commonbnd.xmi", "EjbRefBinding"); - - /** - * Create a new ObjectFactory that can be used to create new instances of - * schema derived classes for package: - * org.apache.openejb.jee.was.v6.commonbnd - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link ResourceEnvRefBinding } - */ - public ResourceEnvRefBinding createResourceEnvRefBinding() { - return new ResourceEnvRefBinding(); - } - - /** - * Create an instance of {@link BasicAuthData } - */ - public BasicAuthData createBasicAuthData() { - return new BasicAuthData(); - } - - /** - * Create an instance of {@link MessageDestinationRefBinding } - */ - public MessageDestinationRefBinding createMessageDestinationRefBinding() { - return new MessageDestinationRefBinding(); - } - - /** - * Create an instance of {@link AbstractAuthData } - */ - public AbstractAuthData createAbstractAuthData() { - return new AbstractAuthData(); - } - - /** - * Create an instance of {@link Property } - */ - public Property createProperty() { - return new Property(); - } - - /** - * Create an instance of {@link ResourceRefBinding } - */ - public ResourceRefBinding createResourceRefBinding() { - return new ResourceRefBinding(); - } - - /** - * Create an instance of {@link EjbRefBinding } - */ - public EjbRefBinding createEjbRefBinding() { - return new EjbRefBinding(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Property }{@code - * >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "Property") - public JAXBElement<Property> createProperty(final Property value) { - return new JAXBElement<Property>(_Property_QNAME, Property.class, null, - value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link AbstractAuthData }{@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "AbstractAuthData") - public JAXBElement<AbstractAuthData> createAbstractAuthData( - final AbstractAuthData value) { - return new JAXBElement<AbstractAuthData>(_AbstractAuthData_QNAME, - AbstractAuthData.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link ResourceEnvRefBinding }{@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "ResourceEnvRefBinding") - public JAXBElement<ResourceEnvRefBinding> createResourceEnvRefBinding( - final ResourceEnvRefBinding value) { - return new JAXBElement<ResourceEnvRefBinding>( - _ResourceEnvRefBinding_QNAME, ResourceEnvRefBinding.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link ResourceRefBinding }{@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "ResourceRefBinding") - public JAXBElement<ResourceRefBinding> createResourceRefBinding( - final ResourceRefBinding value) { - return new JAXBElement<ResourceRefBinding>(_ResourceRefBinding_QNAME, - ResourceRefBinding.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BasicAuthData } - * {@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "BasicAuthData") - public JAXBElement<BasicAuthData> createBasicAuthData(final BasicAuthData value) { - return new JAXBElement<BasicAuthData>(_BasicAuthData_QNAME, - BasicAuthData.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link MessageDestinationRefBinding }{@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "MessageDestinationRefBinding") - public JAXBElement<MessageDestinationRefBinding> createMessageDestinationRefBinding( - final MessageDestinationRefBinding value) { - return new JAXBElement<MessageDestinationRefBinding>( - _MessageDestinationRefBinding_QNAME, - MessageDestinationRefBinding.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EjbRefBinding } - * {@code >} - */ - @XmlElementDecl(namespace = "commonbnd.xmi", name = "EjbRefBinding") - public JAXBElement<EjbRefBinding> createEjbRefBinding(final EjbRefBinding value) { - return new JAXBElement<EjbRefBinding>(_EjbRefBinding_QNAME, - EjbRefBinding.class, null, 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.commonbnd; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + +/** + * This object contains factory methods for each Java content interface and Java + * element interface generated in the org.apache.openejb.jee.was.v6.commonbnd + * package. + * <p/> + * An ObjectFactory allows you to programatically construct new instances of the + * Java representation for XML content. The Java representation of XML content + * can consist of schema derived interfaces and classes representing the binding + * of schema type definitions, element declarations and model groups. Factory + * methods for each of these are provided in this class. + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Property_QNAME = new QName("commonbnd.xmi", + "Property"); + private final static QName _AbstractAuthData_QNAME = new QName( + "commonbnd.xmi", "AbstractAuthData"); + private final static QName _ResourceEnvRefBinding_QNAME = new QName( + "commonbnd.xmi", "ResourceEnvRefBinding"); + private final static QName _ResourceRefBinding_QNAME = new QName( + "commonbnd.xmi", "ResourceRefBinding"); + private final static QName _BasicAuthData_QNAME = new QName( + "commonbnd.xmi", "BasicAuthData"); + private final static QName _MessageDestinationRefBinding_QNAME = new QName( + "commonbnd.xmi", "MessageDestinationRefBinding"); + private final static QName _EjbRefBinding_QNAME = new QName( + "commonbnd.xmi", "EjbRefBinding"); + + /** + * Create a new ObjectFactory that can be used to create new instances of + * schema derived classes for package: + * org.apache.openejb.jee.was.v6.commonbnd + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ResourceEnvRefBinding } + */ + public ResourceEnvRefBinding createResourceEnvRefBinding() { + return new ResourceEnvRefBinding(); + } + + /** + * Create an instance of {@link BasicAuthData } + */ + public BasicAuthData createBasicAuthData() { + return new BasicAuthData(); + } + + /** + * Create an instance of {@link MessageDestinationRefBinding } + */ + public MessageDestinationRefBinding createMessageDestinationRefBinding() { + return new MessageDestinationRefBinding(); + } + + /** + * Create an instance of {@link AbstractAuthData } + */ + public AbstractAuthData createAbstractAuthData() { + return new AbstractAuthData(); + } + + /** + * Create an instance of {@link Property } + */ + public Property createProperty() { + return new Property(); + } + + /** + * Create an instance of {@link ResourceRefBinding } + */ + public ResourceRefBinding createResourceRefBinding() { + return new ResourceRefBinding(); + } + + /** + * Create an instance of {@link EjbRefBinding } + */ + public EjbRefBinding createEjbRefBinding() { + return new EjbRefBinding(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Property }{@code + * >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "Property") + public JAXBElement<Property> createProperty(final Property value) { + return new JAXBElement<Property>(_Property_QNAME, Property.class, null, + value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link AbstractAuthData }{@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "AbstractAuthData") + public JAXBElement<AbstractAuthData> createAbstractAuthData( + final AbstractAuthData value) { + return new JAXBElement<AbstractAuthData>(_AbstractAuthData_QNAME, + AbstractAuthData.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link ResourceEnvRefBinding }{@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "ResourceEnvRefBinding") + public JAXBElement<ResourceEnvRefBinding> createResourceEnvRefBinding( + final ResourceEnvRefBinding value) { + return new JAXBElement<ResourceEnvRefBinding>( + _ResourceEnvRefBinding_QNAME, ResourceEnvRefBinding.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link ResourceRefBinding }{@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "ResourceRefBinding") + public JAXBElement<ResourceRefBinding> createResourceRefBinding( + final ResourceRefBinding value) { + return new JAXBElement<ResourceRefBinding>(_ResourceRefBinding_QNAME, + ResourceRefBinding.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BasicAuthData } + * {@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "BasicAuthData") + public JAXBElement<BasicAuthData> createBasicAuthData(final BasicAuthData value) { + return new JAXBElement<BasicAuthData>(_BasicAuthData_QNAME, + BasicAuthData.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link MessageDestinationRefBinding }{@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "MessageDestinationRefBinding") + public JAXBElement<MessageDestinationRefBinding> createMessageDestinationRefBinding( + final MessageDestinationRefBinding value) { + return new JAXBElement<MessageDestinationRefBinding>( + _MessageDestinationRefBinding_QNAME, + MessageDestinationRefBinding.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EjbRefBinding } + * {@code >} + */ + @XmlElementDecl(namespace = "commonbnd.xmi", name = "EjbRefBinding") + public JAXBElement<EjbRefBinding> createEjbRefBinding(final EjbRefBinding value) { + return new JAXBElement<EjbRefBinding>(_EjbRefBinding_QNAME, + EjbRefBinding.class, null, value); + } + +}
