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.wls;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAttribute;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlID;
023: import javax.xml.bind.annotation.XmlType;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for query-method complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="query-method">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="method-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * <element name="method-params" type="{http://www.bea.com/ns/weblogic/90}method-params"/>
039: * </sequence>
040: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
041: * </restriction>
042: * </complexContent>
043: * </complexType>
044: * </pre>
045: *
046: *
047: */
048: @XmlAccessorType(XmlAccessType.FIELD)
049: @XmlType(name="query-method",propOrder={"methodName","methodParams"})
050: public class QueryMethod {
051:
052: @XmlElement(name="method-name",required=true)
053: protected String methodName;
054: @XmlElement(name="method-params",required=true)
055: protected MethodParams methodParams;
056: @XmlAttribute
057: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
058: @XmlID
059: protected String id;
060:
061: /**
062: * Gets the value of the methodName property.
063: *
064: * @return
065: * possible object is
066: * {@link String }
067: *
068: */
069: public String getMethodName() {
070: return methodName;
071: }
072:
073: /**
074: * Sets the value of the methodName property.
075: *
076: * @param value
077: * allowed object is
078: * {@link String }
079: *
080: */
081: public void setMethodName(String value) {
082: this .methodName = value;
083: }
084:
085: /**
086: * Gets the value of the methodParams property.
087: *
088: * @return
089: * possible object is
090: * {@link MethodParams }
091: *
092: */
093: public MethodParams getMethodParams() {
094: return methodParams;
095: }
096:
097: /**
098: * Sets the value of the methodParams property.
099: *
100: * @param value
101: * allowed object is
102: * {@link MethodParams }
103: *
104: */
105: public void setMethodParams(MethodParams value) {
106: this .methodParams = value;
107: }
108:
109: /**
110: * Gets the value of the id property.
111: *
112: * @return
113: * possible object is
114: * {@link String }
115: *
116: */
117: public String getId() {
118: return id;
119: }
120:
121: /**
122: * Sets the value of the id property.
123: *
124: * @param value
125: * allowed object is
126: * {@link String }
127: *
128: */
129: public void setId(String value) {
130: this.id = value;
131: }
132:
133: }
|