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 gbean-locatorType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="gbean-locatorType">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <choice>
034: * <element name="pattern" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType"/>
035: * <element name="gbean-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
036: * </choice>
037: * </sequence>
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlAccessorType(XmlAccessType.FIELD)
046: @XmlType(name="gbean-locatorType",propOrder={"pattern","gbeanLink"})
047: public class GbeanLocatorType {
048:
049: protected PatternType pattern;
050: @XmlElement(name="gbean-link")
051: protected String gbeanLink;
052:
053: /**
054: * Gets the value of the pattern property.
055: *
056: * @return
057: * possible object is
058: * {@link PatternType }
059: *
060: */
061: public PatternType getPattern() {
062: return pattern;
063: }
064:
065: /**
066: * Sets the value of the pattern property.
067: *
068: * @param value
069: * allowed object is
070: * {@link PatternType }
071: *
072: */
073: public void setPattern(PatternType value) {
074: this .pattern = value;
075: }
076:
077: /**
078: * Gets the value of the gbeanLink property.
079: *
080: * @return
081: * possible object is
082: * {@link String }
083: *
084: */
085: public String getGbeanLink() {
086: return gbeanLink;
087: }
088:
089: /**
090: * Sets the value of the gbeanLink property.
091: *
092: * @param value
093: * allowed object is
094: * {@link String }
095: *
096: */
097: public void setGbeanLink(String value) {
098: this.gbeanLink = value;
099: }
100:
101: }
|