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 resource-env-refType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="resource-env-refType">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element name="ref-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: * <element name="message-destination-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
037: * <sequence>
038: * <element name="admin-object-module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="admin-object-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
040: * </sequence>
041: * </choice>
042: * </sequence>
043: * </restriction>
044: * </complexContent>
045: * </complexType>
046: * </pre>
047: *
048: *
049: */
050: @XmlAccessorType(XmlAccessType.FIELD)
051: @XmlType(name="resource-env-refType",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",propOrder={"refName","pattern","messageDestinationLink","adminObjectModule","adminObjectLink"})
052: public class ResourceEnvRefType {
053:
054: @XmlElement(name="ref-name",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",required=true)
055: protected String refName;
056: @XmlElement(name="pattern",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
057: protected PatternType pattern;
058: @XmlElement(name="message-destination-link",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
059: protected String messageDestinationLink;
060: @XmlElement(name="admin-object-module",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
061: protected String adminObjectModule;
062: @XmlElement(name="admin-object-link",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
063: protected String adminObjectLink;
064:
065: /**
066: * Gets the value of the refName property.
067: *
068: * @return
069: * possible object is
070: * {@link String }
071: *
072: */
073: public String getRefName() {
074: return refName;
075: }
076:
077: /**
078: * Sets the value of the refName property.
079: *
080: * @param value
081: * allowed object is
082: * {@link String }
083: *
084: */
085: public void setRefName(String value) {
086: this .refName = value;
087: }
088:
089: /**
090: * Gets the value of the pattern property.
091: *
092: * @return
093: * possible object is
094: * {@link PatternType }
095: *
096: */
097: public PatternType getPattern() {
098: return pattern;
099: }
100:
101: /**
102: * Sets the value of the pattern property.
103: *
104: * @param value
105: * allowed object is
106: * {@link PatternType }
107: *
108: */
109: public void setPattern(PatternType value) {
110: this .pattern = value;
111: }
112:
113: /**
114: * Gets the value of the messageDestinationLink property.
115: *
116: * @return
117: * possible object is
118: * {@link String }
119: *
120: */
121: public String getMessageDestinationLink() {
122: return messageDestinationLink;
123: }
124:
125: /**
126: * Sets the value of the messageDestinationLink property.
127: *
128: * @param value
129: * allowed object is
130: * {@link String }
131: *
132: */
133: public void setMessageDestinationLink(String value) {
134: this .messageDestinationLink = value;
135: }
136:
137: /**
138: * Gets the value of the adminObjectModule property.
139: *
140: * @return
141: * possible object is
142: * {@link String }
143: *
144: */
145: public String getAdminObjectModule() {
146: return adminObjectModule;
147: }
148:
149: /**
150: * Sets the value of the adminObjectModule property.
151: *
152: * @param value
153: * allowed object is
154: * {@link String }
155: *
156: */
157: public void setAdminObjectModule(String value) {
158: this .adminObjectModule = value;
159: }
160:
161: /**
162: * Gets the value of the adminObjectLink property.
163: *
164: * @return
165: * possible object is
166: * {@link String }
167: *
168: */
169: public String getAdminObjectLink() {
170: return adminObjectLink;
171: }
172:
173: /**
174: * Sets the value of the adminObjectLink property.
175: *
176: * @param value
177: * allowed object is
178: * {@link String }
179: *
180: */
181: public void setAdminObjectLink(String value) {
182: this.adminObjectLink = value;
183: }
184:
185: }
|