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.XmlRootElement;
021: import javax.xml.bind.annotation.XmlType;
022:
023: /**
024: * <p>Java class for anonymous complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType>
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element ref="{http://jboss.org}select" minOccurs="0"/>
034: * <element ref="{http://jboss.org}from" minOccurs="0"/>
035: * <element ref="{http://jboss.org}where" minOccurs="0"/>
036: * <element ref="{http://jboss.org}order" minOccurs="0"/>
037: * <element ref="{http://jboss.org}other" minOccurs="0"/>
038: * </sequence>
039: * </restriction>
040: * </complexContent>
041: * </complexType>
042: * </pre>
043: *
044: *
045: */
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="",propOrder={"select","from","where","order","other"})
048: @XmlRootElement(name="declared-sql")
049: public class DeclaredSql {
050:
051: protected Select select;
052: protected From from;
053: protected Where where;
054: protected Order order;
055: protected Other other;
056:
057: /**
058: * Gets the value of the select property.
059: *
060: * @return
061: * possible object is
062: * {@link Select }
063: *
064: */
065: public Select getSelect() {
066: return select;
067: }
068:
069: /**
070: * Sets the value of the select property.
071: *
072: * @param value
073: * allowed object is
074: * {@link Select }
075: *
076: */
077: public void setSelect(Select value) {
078: this .select = value;
079: }
080:
081: /**
082: * Gets the value of the from property.
083: *
084: * @return
085: * possible object is
086: * {@link From }
087: *
088: */
089: public From getFrom() {
090: return from;
091: }
092:
093: /**
094: * Sets the value of the from property.
095: *
096: * @param value
097: * allowed object is
098: * {@link From }
099: *
100: */
101: public void setFrom(From value) {
102: this .from = value;
103: }
104:
105: /**
106: * Gets the value of the where property.
107: *
108: * @return
109: * possible object is
110: * {@link Where }
111: *
112: */
113: public Where getWhere() {
114: return where;
115: }
116:
117: /**
118: * Sets the value of the where property.
119: *
120: * @param value
121: * allowed object is
122: * {@link Where }
123: *
124: */
125: public void setWhere(Where value) {
126: this .where = value;
127: }
128:
129: /**
130: * Gets the value of the order property.
131: *
132: * @return
133: * possible object is
134: * {@link Order }
135: *
136: */
137: public Order getOrder() {
138: return order;
139: }
140:
141: /**
142: * Sets the value of the order property.
143: *
144: * @param value
145: * allowed object is
146: * {@link Order }
147: *
148: */
149: public void setOrder(Order value) {
150: this .order = value;
151: }
152:
153: /**
154: * Gets the value of the other property.
155: *
156: * @return
157: * possible object is
158: * {@link Other }
159: *
160: */
161: public Other getOther() {
162: return other;
163: }
164:
165: /**
166: * Sets the value of the other property.
167: *
168: * @param value
169: * allowed object is
170: * {@link Other }
171: *
172: */
173: public void setOther(Other value) {
174: this.other = value;
175: }
176:
177: }
|