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