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 ejb-refType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="ejb-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: * <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}corbaNameGroup"/>
037: * <element name="ejb-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * </choice>
039: * </sequence>
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="ejb-refType",propOrder={"refName","pattern","nsCorbaloc","name","css","cssLink","ejbLink"})
049: public class EjbRefType {
050:
051: @XmlElement(name="ref-name",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",required=true)
052: protected String refName;
053: @XmlElement(name="pattern",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
054: protected PatternType pattern;
055: @XmlElement(name="ns-corbaloc",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
056: protected String nsCorbaloc;
057: @XmlElement(name="name",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
058: protected String name;
059: @XmlElement(name="css",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
060: protected PatternType css;
061: @XmlElement(name="css-link",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
062: protected String cssLink;
063: @XmlElement(name="ejb-link",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
064: protected String ejbLink;
065:
066: /**
067: * Gets the value of the refName property.
068: *
069: * @return
070: * possible object is
071: * {@link String }
072: *
073: */
074: public String getRefName() {
075: return refName;
076: }
077:
078: /**
079: * Sets the value of the refName property.
080: *
081: * @param value
082: * allowed object is
083: * {@link String }
084: *
085: */
086: public void setRefName(String value) {
087: this .refName = value;
088: }
089:
090: /**
091: * Gets the value of the pattern property.
092: *
093: * @return
094: * possible object is
095: * {@link PatternType }
096: *
097: */
098: public PatternType getPattern() {
099: return pattern;
100: }
101:
102: /**
103: * Sets the value of the pattern property.
104: *
105: * @param value
106: * allowed object is
107: * {@link PatternType }
108: *
109: */
110: public void setPattern(PatternType value) {
111: this .pattern = value;
112: }
113:
114: /**
115: * Gets the value of the nsCorbaloc property.
116: *
117: * @return
118: * possible object is
119: * {@link String }
120: *
121: */
122: public String getNsCorbaloc() {
123: return nsCorbaloc;
124: }
125:
126: /**
127: * Sets the value of the nsCorbaloc property.
128: *
129: * @param value
130: * allowed object is
131: * {@link String }
132: *
133: */
134: public void setNsCorbaloc(String value) {
135: this .nsCorbaloc = value;
136: }
137:
138: /**
139: * Gets the value of the name property.
140: *
141: * @return
142: * possible object is
143: * {@link String }
144: *
145: */
146: public String getName() {
147: return name;
148: }
149:
150: /**
151: * Sets the value of the name property.
152: *
153: * @param value
154: * allowed object is
155: * {@link String }
156: *
157: */
158: public void setName(String value) {
159: this .name = value;
160: }
161:
162: /**
163: * Gets the value of the css property.
164: *
165: * @return
166: * possible object is
167: * {@link PatternType }
168: *
169: */
170: public PatternType getCss() {
171: return css;
172: }
173:
174: /**
175: * Sets the value of the css property.
176: *
177: * @param value
178: * allowed object is
179: * {@link PatternType }
180: *
181: */
182: public void setCss(PatternType value) {
183: this .css = value;
184: }
185:
186: /**
187: * Gets the value of the cssLink property.
188: *
189: * @return
190: * possible object is
191: * {@link String }
192: *
193: */
194: public String getCssLink() {
195: return cssLink;
196: }
197:
198: /**
199: * Sets the value of the cssLink property.
200: *
201: * @param value
202: * allowed object is
203: * {@link String }
204: *
205: */
206: public void setCssLink(String value) {
207: this .cssLink = value;
208: }
209:
210: /**
211: * Gets the value of the ejbLink property.
212: *
213: * @return
214: * possible object is
215: * {@link String }
216: *
217: */
218: public String getEjbLink() {
219: return ejbLink;
220: }
221:
222: /**
223: * Sets the value of the ejbLink property.
224: *
225: * @param value
226: * allowed object is
227: * {@link String }
228: *
229: */
230: public void setEjbLink(String value) {
231: this.ejbLink = value;
232: }
233:
234: }
|