001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.oejb2;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlType;
022:
023: /**
024: * <p>Java class for message-destinationType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="message-destinationType">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element name="message-destination-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
034: * <choice>
035: * <element name="pattern" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType"/>
036: * <sequence>
037: * <element name="admin-object-module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
038: * <element name="admin-object-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
039: * </sequence>
040: * </choice>
041: * </sequence>
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="message-destinationType",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",propOrder={"messageDestinationName","pattern","adminObjectModule","adminObjectLink"})
051: public class MessageDestinationType {
052:
053: @XmlElement(name="message-destination-name",required=true)
054: protected String messageDestinationName;
055: protected PatternType pattern;
056: @XmlElement(name="admin-object-module")
057: protected String adminObjectModule;
058: @XmlElement(name="admin-object-link")
059: protected String adminObjectLink;
060:
061: /**
062: * Gets the value of the messageDestinationName property.
063: *
064: * @return
065: * possible object is
066: * {@link String }
067: *
068: */
069: public String getMessageDestinationName() {
070: return messageDestinationName;
071: }
072:
073: /**
074: * Sets the value of the messageDestinationName property.
075: *
076: * @param value
077: * allowed object is
078: * {@link String }
079: *
080: */
081: public void setMessageDestinationName(String value) {
082: this .messageDestinationName = value;
083: }
084:
085: /**
086: * Gets the value of the pattern property.
087: *
088: * @return
089: * possible object is
090: * {@link PatternType }
091: *
092: */
093: public PatternType getPattern() {
094: return pattern;
095: }
096:
097: /**
098: * Sets the value of the pattern property.
099: *
100: * @param value
101: * allowed object is
102: * {@link PatternType }
103: *
104: */
105: public void setPattern(PatternType value) {
106: this .pattern = value;
107: }
108:
109: /**
110: * Gets the value of the adminObjectModule property.
111: *
112: * @return
113: * possible object is
114: * {@link String }
115: *
116: */
117: public String getAdminObjectModule() {
118: return adminObjectModule;
119: }
120:
121: /**
122: * Sets the value of the adminObjectModule property.
123: *
124: * @param value
125: * allowed object is
126: * {@link String }
127: *
128: */
129: public void setAdminObjectModule(String value) {
130: this .adminObjectModule = value;
131: }
132:
133: /**
134: * Gets the value of the adminObjectLink property.
135: *
136: * @return
137: * possible object is
138: * {@link String }
139: *
140: */
141: public String getAdminObjectLink() {
142: return adminObjectLink;
143: }
144:
145: /**
146: * Sets the value of the adminObjectLink property.
147: *
148: * @param value
149: * allowed object is
150: * {@link String }
151: *
152: */
153: public void setAdminObjectLink(String value) {
154: this.adminObjectLink = value;
155: }
156:
157: }
|