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.jba.cmp;
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.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://jboss.org}method-name"/>
035: * <element ref="{http://jboss.org}method-params"/>
036: * </sequence>
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="",propOrder={"methodName","methodParams"})
046: @XmlRootElement(name="query-method")
047: public class QueryMethod {
048:
049: @XmlElement(name="method-name",required=true)
050: protected MethodName methodName;
051: @XmlElement(name="method-params",required=true)
052: protected MethodParams methodParams;
053:
054: /**
055: * Gets the value of the methodName property.
056: *
057: * @return
058: * possible object is
059: * {@link MethodName }
060: *
061: */
062: public MethodName getMethodName() {
063: return methodName;
064: }
065:
066: /**
067: * Sets the value of the methodName property.
068: *
069: * @param value
070: * allowed object is
071: * {@link MethodName }
072: *
073: */
074: public void setMethodName(MethodName value) {
075: this .methodName = value;
076: }
077:
078: /**
079: * Gets the value of the methodParams property.
080: *
081: * @return
082: * possible object is
083: * {@link MethodParams }
084: *
085: */
086: public MethodParams getMethodParams() {
087: return methodParams;
088: }
089:
090: /**
091: * Sets the value of the methodParams property.
092: *
093: * @param value
094: * allowed object is
095: * {@link MethodParams }
096: *
097: */
098: public void setMethodParams(MethodParams value) {
099: this.methodParams = value;
100: }
101:
102: }
|