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-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-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="resource-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
037: * <element name="url" 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="resource-refType",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",propOrder={"refName","pattern","resourceLink","url"})
049: public class ResourceRefType {
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="resource-link",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
056: protected String resourceLink;
057: @XmlElement(name="url",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
058: protected String url;
059:
060: /**
061: * Gets the value of the refName property.
062: *
063: * @return
064: * possible object is
065: * {@link String }
066: *
067: */
068: public String getRefName() {
069: return refName;
070: }
071:
072: /**
073: * Sets the value of the refName property.
074: *
075: * @param value
076: * allowed object is
077: * {@link String }
078: *
079: */
080: public void setRefName(String value) {
081: this .refName = value;
082: }
083:
084: /**
085: * Gets the value of the pattern property.
086: *
087: * @return
088: * possible object is
089: * {@link PatternType }
090: *
091: */
092: public PatternType getPattern() {
093: return pattern;
094: }
095:
096: /**
097: * Sets the value of the pattern property.
098: *
099: * @param value
100: * allowed object is
101: * {@link PatternType }
102: *
103: */
104: public void setPattern(PatternType value) {
105: this .pattern = value;
106: }
107:
108: /**
109: * Gets the value of the resourceLink property.
110: *
111: * @return
112: * possible object is
113: * {@link String }
114: *
115: */
116: public String getResourceLink() {
117: return resourceLink;
118: }
119:
120: /**
121: * Sets the value of the resourceLink property.
122: *
123: * @param value
124: * allowed object is
125: * {@link String }
126: *
127: */
128: public void setResourceLink(String value) {
129: this .resourceLink = value;
130: }
131:
132: /**
133: * Gets the value of the url property.
134: *
135: * @return
136: * possible object is
137: * {@link String }
138: *
139: */
140: public String getUrl() {
141: return url;
142: }
143:
144: /**
145: * Sets the value of the url property.
146: *
147: * @param value
148: * allowed object is
149: * {@link String }
150: *
151: */
152: public void setUrl(String value) {
153: this.url = value;
154: }
155:
156: }
|