http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java index 62667c4..2a079be 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java @@ -1,334 +1,334 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import 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.common.Description; -import org.apache.openejb.jee.was.v6.xmi.Extension; - -/** - * The exclude list element defines a set of methods which the Assembler marks - * to be uncallable. It contains one or more methods. - * <p/> - * If the method permission relation contains methods that are in the exclude - * list, the Deployer must consider those methods to be uncallable. - * <p/> - * <p/> - * <p/> - * Java class for ExcludeList complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="ExcludeList"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="methodElements" type="{ejb.xmi}MethodElement"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="descriptions" type="{common.xmi}Description"/> - * </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="description" 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 = "ExcludeList", propOrder = {"methodElements", "descriptions", - "extensions"}) -public class ExcludeList { - - protected List<MethodElement> methodElements; - protected List<Description> descriptions; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected String description; - @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 methodElements 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 methodElements property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getMethodElements().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link MethodElement } - */ - public List<MethodElement> getMethodElements() { - if (methodElements == null) { - methodElements = new ArrayList<MethodElement>(); - } - return this.methodElements; - } - - /** - * Gets the value of the descriptions 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 descriptions property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getDescriptions().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Description } - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new ArrayList<Description>(); - } - return this.descriptions; - } - - /** - * 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 description property. - * - * @return possible object is {@link String } - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value allowed object is {@link String } - */ - public void setDescription(final String value) { - this.description = 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.ejb; + +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.common.Description; +import org.apache.openejb.jee.was.v6.xmi.Extension; + +/** + * The exclude list element defines a set of methods which the Assembler marks + * to be uncallable. It contains one or more methods. + * <p/> + * If the method permission relation contains methods that are in the exclude + * list, the Deployer must consider those methods to be uncallable. + * <p/> + * <p/> + * <p/> + * Java class for ExcludeList complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="ExcludeList"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="methodElements" type="{ejb.xmi}MethodElement"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="descriptions" type="{common.xmi}Description"/> + * </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="description" 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 = "ExcludeList", propOrder = {"methodElements", "descriptions", + "extensions"}) +public class ExcludeList { + + protected List<MethodElement> methodElements; + protected List<Description> descriptions; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected String description; + @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 methodElements 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 methodElements property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getMethodElements().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link MethodElement } + */ + public List<MethodElement> getMethodElements() { + if (methodElements == null) { + methodElements = new ArrayList<MethodElement>(); + } + return this.methodElements; + } + + /** + * Gets the value of the descriptions 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 descriptions property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getDescriptions().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Description } + */ + public List<Description> getDescriptions() { + if (descriptions == null) { + descriptions = new ArrayList<Description>(); + } + return this.descriptions; + } + + /** + * 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 description property. + * + * @return possible object is {@link String } + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value allowed object is {@link String } + */ + public void setDescription(final String value) { + this.description = 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/ejb/MessageDriven.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDriven.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDriven.java index 19af29d..408ad1f 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDriven.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDriven.java @@ -1,333 +1,333 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import 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.java.JavaClass; - -/** - * The message-driven element declares a message-driven bean. The declaration - * consists of: - * <p/> - * - an optional description - an optional display name - an optional icon - * element that contains a small and a large icon file name. - a name assigned - * to the enterprise bean in the deployment descriptor - the message-driven - * bean's implementation class - an optional declaration of the bean's messaging - * type - the message-driven bean's transaction management type - an optional - * declaration of the bean's message-destination-type - an optional declaration - * of the bean's message-destination-link - an optional declaration of the - * message-driven bean's activation configuration properties - an optional - * declaration of the bean's environment entries - an optional declaration of - * the bean's EJB references - an optional declaration of the bean's local EJB - * references - an optional declaration of the bean's web service references - - * an optional declaration of the security identity to be used for the execution - * of the bean's methods - an optional declaration of the bean's resource - * manager connection factory references - an optional declaration of the bean's - * resource environment references. - an optional declaration of the bean's - * message destination references - * <p/> - * <p/> - * <p/> - * Java class for MessageDriven complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="MessageDriven"> - * <complexContent> - * <extension base="{ejb.xmi}EnterpriseBean"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="destination" type="{ejb.xmi}MessageDrivenDestination"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="activationConfig" type="{ejb.xmi}ActivationConfig"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="messageDestination" type="{java.xmi}JavaClass"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="messagingType" type="{java.xmi}JavaClass"/> - * </choice> - * </choice> - * <attribute name="acknowledgeMode" type="{ejb.xmi}AcknowledgeMode" /> - * <attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="messageDestination" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="messageSelector" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="messagingType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="transactionType" type="{ejb.xmi}TransactionType" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MessageDriven", propOrder = {"destinations", - "activationConfigs", "messageDestinations", "messagingTypes"}) -public class MessageDriven extends EnterpriseBean { - - @XmlElement(name = "destination") - protected List<MessageDrivenDestination> destinations; - @XmlElement(name = "activationConfig") - protected List<ActivationConfig> activationConfigs; - @XmlElement(name = "messageDestination") - protected List<JavaClass> messageDestinations; - @XmlElement(name = "messagingType") - protected List<JavaClass> messagingTypes; - @XmlAttribute - protected AcknowledgeModeEnum acknowledgeMode; - @XmlAttribute - protected String link; - @XmlAttribute - protected String messageDestination; - @XmlAttribute - protected String messageSelector; - @XmlAttribute - protected String messagingType; - @XmlAttribute - protected TransactionEnum transactionType; - - /** - * Gets the value of the destinations 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 destinations property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getDestinations().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link MessageDrivenDestination } - */ - public List<MessageDrivenDestination> getDestinations() { - if (destinations == null) { - destinations = new ArrayList<MessageDrivenDestination>(); - } - return this.destinations; - } - - /** - * Gets the value of the activationConfigs 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 activationConfigs property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getActivationConfigs().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link ActivationConfig } - */ - public List<ActivationConfig> getActivationConfigs() { - if (activationConfigs == null) { - activationConfigs = new ArrayList<ActivationConfig>(); - } - return this.activationConfigs; - } - - /** - * Gets the value of the messageDestinations 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 messageDestinations property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getMessageDestinations().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getMessageDestinations() { - if (messageDestinations == null) { - messageDestinations = new ArrayList<JavaClass>(); - } - return this.messageDestinations; - } - - /** - * Gets the value of the messagingTypes 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 messagingTypes property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getMessagingTypes().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link JavaClass } - */ - public List<JavaClass> getMessagingTypes() { - if (messagingTypes == null) { - messagingTypes = new ArrayList<JavaClass>(); - } - return this.messagingTypes; - } - - /** - * Gets the value of the acknowledgeMode property. - * - * @return possible object is {@link AcknowledgeModeEnum } - */ - public AcknowledgeModeEnum getAcknowledgeMode() { - return acknowledgeMode; - } - - /** - * Sets the value of the acknowledgeMode property. - * - * @param value allowed object is {@link AcknowledgeModeEnum } - */ - public void setAcknowledgeMode(final AcknowledgeModeEnum value) { - this.acknowledgeMode = value; - } - - /** - * Gets the value of the link property. - * - * @return possible object is {@link String } - */ - public String getLink() { - return link; - } - - /** - * Sets the value of the link property. - * - * @param value allowed object is {@link String } - */ - public void setLink(final String value) { - this.link = value; - } - - /** - * Gets the value of the messageDestination property. - * - * @return possible object is {@link String } - */ - public String getMessageDestination() { - return messageDestination; - } - - /** - * Sets the value of the messageDestination property. - * - * @param value allowed object is {@link String } - */ - public void setMessageDestination(final String value) { - this.messageDestination = value; - } - - /** - * Gets the value of the messageSelector property. - * - * @return possible object is {@link String } - */ - public String getMessageSelector() { - return messageSelector; - } - - /** - * Sets the value of the messageSelector property. - * - * @param value allowed object is {@link String } - */ - public void setMessageSelector(final String value) { - this.messageSelector = value; - } - - /** - * Gets the value of the messagingType property. - * - * @return possible object is {@link String } - */ - public String getMessagingType() { - return messagingType; - } - - /** - * Sets the value of the messagingType property. - * - * @param value allowed object is {@link String } - */ - public void setMessagingType(final String value) { - this.messagingType = value; - } - - /** - * Gets the value of the transactionType property. - * - * @return possible object is {@link TransactionEnum } - */ - public TransactionEnum getTransactionType() { - return transactionType; - } - - /** - * Sets the value of the transactionType property. - * - * @param value allowed object is {@link TransactionEnum } - */ - public void setTransactionType(final TransactionEnum value) { - this.transactionType = 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.ejb; + +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.java.JavaClass; + +/** + * The message-driven element declares a message-driven bean. The declaration + * consists of: + * <p/> + * - an optional description - an optional display name - an optional icon + * element that contains a small and a large icon file name. - a name assigned + * to the enterprise bean in the deployment descriptor - the message-driven + * bean's implementation class - an optional declaration of the bean's messaging + * type - the message-driven bean's transaction management type - an optional + * declaration of the bean's message-destination-type - an optional declaration + * of the bean's message-destination-link - an optional declaration of the + * message-driven bean's activation configuration properties - an optional + * declaration of the bean's environment entries - an optional declaration of + * the bean's EJB references - an optional declaration of the bean's local EJB + * references - an optional declaration of the bean's web service references - + * an optional declaration of the security identity to be used for the execution + * of the bean's methods - an optional declaration of the bean's resource + * manager connection factory references - an optional declaration of the bean's + * resource environment references. - an optional declaration of the bean's + * message destination references + * <p/> + * <p/> + * <p/> + * Java class for MessageDriven complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="MessageDriven"> + * <complexContent> + * <extension base="{ejb.xmi}EnterpriseBean"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="destination" type="{ejb.xmi}MessageDrivenDestination"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="activationConfig" type="{ejb.xmi}ActivationConfig"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="messageDestination" type="{java.xmi}JavaClass"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="messagingType" type="{java.xmi}JavaClass"/> + * </choice> + * </choice> + * <attribute name="acknowledgeMode" type="{ejb.xmi}AcknowledgeMode" /> + * <attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="messageDestination" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="messageSelector" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="messagingType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="transactionType" type="{ejb.xmi}TransactionType" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MessageDriven", propOrder = {"destinations", + "activationConfigs", "messageDestinations", "messagingTypes"}) +public class MessageDriven extends EnterpriseBean { + + @XmlElement(name = "destination") + protected List<MessageDrivenDestination> destinations; + @XmlElement(name = "activationConfig") + protected List<ActivationConfig> activationConfigs; + @XmlElement(name = "messageDestination") + protected List<JavaClass> messageDestinations; + @XmlElement(name = "messagingType") + protected List<JavaClass> messagingTypes; + @XmlAttribute + protected AcknowledgeModeEnum acknowledgeMode; + @XmlAttribute + protected String link; + @XmlAttribute + protected String messageDestination; + @XmlAttribute + protected String messageSelector; + @XmlAttribute + protected String messagingType; + @XmlAttribute + protected TransactionEnum transactionType; + + /** + * Gets the value of the destinations 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 destinations property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getDestinations().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link MessageDrivenDestination } + */ + public List<MessageDrivenDestination> getDestinations() { + if (destinations == null) { + destinations = new ArrayList<MessageDrivenDestination>(); + } + return this.destinations; + } + + /** + * Gets the value of the activationConfigs 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 activationConfigs property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getActivationConfigs().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link ActivationConfig } + */ + public List<ActivationConfig> getActivationConfigs() { + if (activationConfigs == null) { + activationConfigs = new ArrayList<ActivationConfig>(); + } + return this.activationConfigs; + } + + /** + * Gets the value of the messageDestinations 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 messageDestinations property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getMessageDestinations().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getMessageDestinations() { + if (messageDestinations == null) { + messageDestinations = new ArrayList<JavaClass>(); + } + return this.messageDestinations; + } + + /** + * Gets the value of the messagingTypes 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 messagingTypes property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getMessagingTypes().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link JavaClass } + */ + public List<JavaClass> getMessagingTypes() { + if (messagingTypes == null) { + messagingTypes = new ArrayList<JavaClass>(); + } + return this.messagingTypes; + } + + /** + * Gets the value of the acknowledgeMode property. + * + * @return possible object is {@link AcknowledgeModeEnum } + */ + public AcknowledgeModeEnum getAcknowledgeMode() { + return acknowledgeMode; + } + + /** + * Sets the value of the acknowledgeMode property. + * + * @param value allowed object is {@link AcknowledgeModeEnum } + */ + public void setAcknowledgeMode(final AcknowledgeModeEnum value) { + this.acknowledgeMode = value; + } + + /** + * Gets the value of the link property. + * + * @return possible object is {@link String } + */ + public String getLink() { + return link; + } + + /** + * Sets the value of the link property. + * + * @param value allowed object is {@link String } + */ + public void setLink(final String value) { + this.link = value; + } + + /** + * Gets the value of the messageDestination property. + * + * @return possible object is {@link String } + */ + public String getMessageDestination() { + return messageDestination; + } + + /** + * Sets the value of the messageDestination property. + * + * @param value allowed object is {@link String } + */ + public void setMessageDestination(final String value) { + this.messageDestination = value; + } + + /** + * Gets the value of the messageSelector property. + * + * @return possible object is {@link String } + */ + public String getMessageSelector() { + return messageSelector; + } + + /** + * Sets the value of the messageSelector property. + * + * @param value allowed object is {@link String } + */ + public void setMessageSelector(final String value) { + this.messageSelector = value; + } + + /** + * Gets the value of the messagingType property. + * + * @return possible object is {@link String } + */ + public String getMessagingType() { + return messagingType; + } + + /** + * Sets the value of the messagingType property. + * + * @param value allowed object is {@link String } + */ + public void setMessagingType(final String value) { + this.messagingType = value; + } + + /** + * Gets the value of the transactionType property. + * + * @return possible object is {@link TransactionEnum } + */ + public TransactionEnum getTransactionType() { + return transactionType; + } + + /** + * Sets the value of the transactionType property. + * + * @param value allowed object is {@link TransactionEnum } + */ + public void setTransactionType(final TransactionEnum value) { + this.transactionType = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java index 63dfb25..8262d7e 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java @@ -1,287 +1,287 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import 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; - -/** - * The message-driven-destination element provides advice to the Deployer as to - * whether a message-driven bean is intended for a Queue or a Topic. The - * declaration consists of: the type of the message-driven bean's intended - * destination and an optional declaration of whether a durable or non-durable - * subscription should be used if the destination-type is javax.jms.Topic. - * <p/> - * <p/> - * <p/> - * Java class for MessageDrivenDestination complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <pre> - * <complexType name="MessageDrivenDestination"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute name="subscriptionDurability" type="{ejb.xmi}SubscriptionDurabilityKind" /> - * <attribute name="type" type="{ejb.xmi}DestinationType" /> - * <attribute ref="{http://www.omg.org/XMI}id"/> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MessageDrivenDestination", propOrder = {"extensions"}) -public class MessageDrivenDestination { - - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected SubscriptionDurabilityEnum subscriptionDurability; - @XmlAttribute(name = "type") - protected DestinationEnum destinationType; - @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 subscriptionDurability property. - * - * @return possible object is {@link SubscriptionDurabilityEnum } - */ - public SubscriptionDurabilityEnum getSubscriptionDurability() { - return subscriptionDurability; - } - - /** - * Sets the value of the subscriptionDurability property. - * - * @param value allowed object is {@link SubscriptionDurabilityEnum } - */ - public void setSubscriptionDurability(final SubscriptionDurabilityEnum value) { - this.subscriptionDurability = value; - } - - /** - * Gets the value of the destinationType property. - * - * @return possible object is {@link DestinationEnum } - */ - public DestinationEnum getDestinationType() { - return destinationType; - } - - /** - * Sets the value of the destinationType property. - * - * @param value allowed object is {@link DestinationEnum } - */ - public void setDestinationType(final DestinationEnum value) { - this.destinationType = 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.ejb; + +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; + +/** + * The message-driven-destination element provides advice to the Deployer as to + * whether a message-driven bean is intended for a Queue or a Topic. The + * declaration consists of: the type of the message-driven bean's intended + * destination and an optional declaration of whether a durable or non-durable + * subscription should be used if the destination-type is javax.jms.Topic. + * <p/> + * <p/> + * <p/> + * Java class for MessageDrivenDestination complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <pre> + * <complexType name="MessageDrivenDestination"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute name="subscriptionDurability" type="{ejb.xmi}SubscriptionDurabilityKind" /> + * <attribute name="type" type="{ejb.xmi}DestinationType" /> + * <attribute ref="{http://www.omg.org/XMI}id"/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MessageDrivenDestination", propOrder = {"extensions"}) +public class MessageDrivenDestination { + + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected SubscriptionDurabilityEnum subscriptionDurability; + @XmlAttribute(name = "type") + protected DestinationEnum destinationType; + @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 subscriptionDurability property. + * + * @return possible object is {@link SubscriptionDurabilityEnum } + */ + public SubscriptionDurabilityEnum getSubscriptionDurability() { + return subscriptionDurability; + } + + /** + * Sets the value of the subscriptionDurability property. + * + * @param value allowed object is {@link SubscriptionDurabilityEnum } + */ + public void setSubscriptionDurability(final SubscriptionDurabilityEnum value) { + this.subscriptionDurability = value; + } + + /** + * Gets the value of the destinationType property. + * + * @return possible object is {@link DestinationEnum } + */ + public DestinationEnum getDestinationType() { + return destinationType; + } + + /** + * Sets the value of the destinationType property. + * + * @param value allowed object is {@link DestinationEnum } + */ + public void setDestinationType(final DestinationEnum value) { + this.destinationType = 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; + } + +}