/******************************************************************************* * Copyright 2017 Capital One Services, LLC and Bitwise, Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ package hydrograph.engine.jaxb.inputtypes; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import hydrograph.engine.jaxb.commontypes.ElementValueIntegerType; import hydrograph.engine.jaxb.commontypes.ElementValueStringType; import hydrograph.engine.jaxb.iteradata.TypeInputTeradataBase; /** * <p>Java class for teradata complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="teradata"> * <complexContent> * <extension base="{hydrograph/engine/jaxb/iteradata}type-input-teradata-base"> * <sequence> * <element name="databaseName" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * <element name="hostName" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * <element name="port" type="{hydrograph/engine/jaxb/commontypes}element-value-integer-type"/> * <element name="jdbcDriver" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * <choice> * <element name="tableName" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type" minOccurs="0"/> * <sequence> * <element name="selectQuery" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type" minOccurs="0"/> * <element name="countQuery" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type" minOccurs="0"/> * </sequence> * </choice> * <element name="exportOptions" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * <element name="username" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * <element name="password" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "teradata", namespace = "hydrograph/engine/jaxb/inputtypes", propOrder = { "databaseName", "hostName", "port", "jdbcDriver", "tableName", "selectQuery", "countQuery", "exportOptions", "username", "password" }) public class Teradata extends TypeInputTeradataBase { @XmlElement(required = true) protected ElementValueStringType databaseName; @XmlElement(required = true) protected ElementValueStringType hostName; @XmlElement(required = true) protected ElementValueIntegerType port; @XmlElement(required = true) protected ElementValueStringType jdbcDriver; protected ElementValueStringType tableName; protected ElementValueStringType selectQuery; protected ElementValueStringType countQuery; @XmlElement(required = true) protected ElementValueStringType exportOptions; @XmlElement(required = true) protected ElementValueStringType username; @XmlElement(required = true) protected ElementValueStringType password; /** * Gets the value of the databaseName property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getDatabaseName() { return databaseName; } /** * Sets the value of the databaseName property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setDatabaseName(ElementValueStringType value) { this.databaseName = value; } /** * Gets the value of the hostName property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getHostName() { return hostName; } /** * Sets the value of the hostName property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setHostName(ElementValueStringType value) { this.hostName = value; } /** * Gets the value of the port property. * * @return * possible object is * {@link ElementValueIntegerType } * */ public ElementValueIntegerType getPort() { return port; } /** * Sets the value of the port property. * * @param value * allowed object is * {@link ElementValueIntegerType } * */ public void setPort(ElementValueIntegerType value) { this.port = value; } /** * Gets the value of the jdbcDriver property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getJdbcDriver() { return jdbcDriver; } /** * Sets the value of the jdbcDriver property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setJdbcDriver(ElementValueStringType value) { this.jdbcDriver = value; } /** * Gets the value of the tableName property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getTableName() { return tableName; } /** * Sets the value of the tableName property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setTableName(ElementValueStringType value) { this.tableName = value; } /** * Gets the value of the selectQuery property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getSelectQuery() { return selectQuery; } /** * Sets the value of the selectQuery property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setSelectQuery(ElementValueStringType value) { this.selectQuery = value; } /** * Gets the value of the countQuery property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getCountQuery() { return countQuery; } /** * Sets the value of the countQuery property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setCountQuery(ElementValueStringType value) { this.countQuery = value; } /** * Gets the value of the exportOptions property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getExportOptions() { return exportOptions; } /** * Sets the value of the exportOptions property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setExportOptions(ElementValueStringType value) { this.exportOptions = value; } /** * Gets the value of the username property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getUsername() { return username; } /** * Sets the value of the username property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setUsername(ElementValueStringType value) { this.username = value; } /** * Gets the value of the password property. * * @return * possible object is * {@link ElementValueStringType } * */ public ElementValueStringType getPassword() { return password; } /** * Sets the value of the password property. * * @param value * allowed object is * {@link ElementValueStringType } * */ public void setPassword(ElementValueStringType value) { this.password = value; } }