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}distinct" minOccurs="0"/>
035: * <sequence minOccurs="0">
036: * <element ref="{http://jboss.org}ejb-name"/>
037: * <element ref="{http://jboss.org}field-name" minOccurs="0"/>
038: * </sequence>
039: * <element ref="{http://jboss.org}alias" minOccurs="0"/>
040: * <element ref="{http://jboss.org}additional-columns" minOccurs="0"/>
041: * </sequence>
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="",propOrder={"distinct","ejbName","fieldName","alias","additionalColumns"})
051: @XmlRootElement(name="select")
052: public class Select {
053:
054: protected Distinct distinct;
055: @XmlElement(name="ejb-name")
056: protected EjbName ejbName;
057: @XmlElement(name="field-name")
058: protected FieldName fieldName;
059: protected Alias alias;
060: @XmlElement(name="additional-columns")
061: protected AdditionalColumns additionalColumns;
062:
063: /**
064: * Gets the value of the distinct property.
065: *
066: * @return
067: * possible object is
068: * {@link Distinct }
069: *
070: */
071: public Distinct getDistinct() {
072: return distinct;
073: }
074:
075: /**
076: * Sets the value of the distinct property.
077: *
078: * @param value
079: * allowed object is
080: * {@link Distinct }
081: *
082: */
083: public void setDistinct(Distinct value) {
084: this .distinct = value;
085: }
086:
087: /**
088: * Gets the value of the ejbName property.
089: *
090: * @return
091: * possible object is
092: * {@link EjbName }
093: *
094: */
095: public EjbName getEjbName() {
096: return ejbName;
097: }
098:
099: /**
100: * Sets the value of the ejbName property.
101: *
102: * @param value
103: * allowed object is
104: * {@link EjbName }
105: *
106: */
107: public void setEjbName(EjbName value) {
108: this .ejbName = value;
109: }
110:
111: /**
112: * Gets the value of the fieldName property.
113: *
114: * @return
115: * possible object is
116: * {@link FieldName }
117: *
118: */
119: public FieldName getFieldName() {
120: return fieldName;
121: }
122:
123: /**
124: * Sets the value of the fieldName property.
125: *
126: * @param value
127: * allowed object is
128: * {@link FieldName }
129: *
130: */
131: public void setFieldName(FieldName value) {
132: this .fieldName = value;
133: }
134:
135: /**
136: * Gets the value of the alias property.
137: *
138: * @return
139: * possible object is
140: * {@link Alias }
141: *
142: */
143: public Alias getAlias() {
144: return alias;
145: }
146:
147: /**
148: * Sets the value of the alias property.
149: *
150: * @param value
151: * allowed object is
152: * {@link Alias }
153: *
154: */
155: public void setAlias(Alias value) {
156: this .alias = value;
157: }
158:
159: /**
160: * Gets the value of the additionalColumns property.
161: *
162: * @return
163: * possible object is
164: * {@link AdditionalColumns }
165: *
166: */
167: public AdditionalColumns getAdditionalColumns() {
168: return additionalColumns;
169: }
170:
171: /**
172: * Sets the value of the additionalColumns property.
173: *
174: * @param value
175: * allowed object is
176: * {@link AdditionalColumns }
177: *
178: */
179: public void setAdditionalColumns(AdditionalColumns value) {
180: this.additionalColumns = value;
181: }
182:
183: }
|