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-local-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-local-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="ejb-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
037: * </choice>
038: * </sequence>
039: * </restriction>
040: * </complexContent>
041: * </complexType>
042: * </pre>
043: *
044: *
045: */
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="ejb-local-refType",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",propOrder={"refName","pattern","ejbLink"})
048: public class EjbLocalRefType {
049:
050: @XmlElement(name="ref-name",required=true)
051: protected String refName;
052: @XmlElement(name="pattern")
053: protected PatternType pattern;
054: @XmlElement(name="ejb-link")
055: protected String ejbLink;
056:
057: /**
058: * Gets the value of the refName property.
059: *
060: * @return
061: * possible object is
062: * {@link String }
063: *
064: */
065: public String getRefName() {
066: return refName;
067: }
068:
069: /**
070: * Sets the value of the refName property.
071: *
072: * @param value
073: * allowed object is
074: * {@link String }
075: *
076: */
077: public void setRefName(String value) {
078: this .refName = value;
079: }
080:
081: /**
082: * Gets the value of the pattern property.
083: *
084: * @return
085: * possible object is
086: * {@link PatternType }
087: *
088: */
089: public PatternType getPattern() {
090: return pattern;
091: }
092:
093: /**
094: * Sets the value of the pattern property.
095: *
096: * @param value
097: * allowed object is
098: * {@link PatternType }
099: *
100: */
101: public void setPattern(PatternType value) {
102: this .pattern = value;
103: }
104:
105: /**
106: * Gets the value of the ejbLink property.
107: *
108: * @return
109: * possible object is
110: * {@link String }
111: *
112: */
113: public String getEjbLink() {
114: return ejbLink;
115: }
116:
117: /**
118: * Sets the value of the ejbLink property.
119: *
120: * @param value
121: * allowed object is
122: * {@link String }
123: *
124: */
125: public void setEjbLink(String value) {
126: this.ejbLink = value;
127: }
128:
129: }
|