/*******************************************************************************
* 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.isparkredshift.TypeInputSparkredshiftBase;
/**
* <p>Java class for sparkredshift complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="sparkredshift">
* <complexContent>
* <extension base="{hydrograph/engine/jaxb/isparkredshift}type-input-sparkredshift-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" minOccurs="0"/>
* <element name="userName" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/>
* <element name="password" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type"/>
* <element name="schemaName" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type" minOccurs="0"/>
* <element name="temps3dir" 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"/>
* <element name="countQuery" type="{hydrograph/engine/jaxb/commontypes}element-value-string-type" minOccurs="0"/>
* </sequence>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sparkredshift", namespace = "hydrograph/engine/jaxb/inputtypes", propOrder = {
"databaseName",
"hostName",
"port",
"userName",
"password",
"schemaName",
"temps3Dir",
"tableName",
"selectQuery",
"countQuery"
})
public class Sparkredshift
extends TypeInputSparkredshiftBase
{
@XmlElement(required = true)
protected ElementValueStringType databaseName;
@XmlElement(required = true)
protected ElementValueStringType hostName;
protected ElementValueIntegerType port;
@XmlElement(required = true)
protected ElementValueStringType userName;
@XmlElement(required = true)
protected ElementValueStringType password;
protected ElementValueStringType schemaName;
@XmlElement(name = "temps3dir", required = true)
protected ElementValueStringType temps3Dir;
protected ElementValueStringType tableName;
protected ElementValueStringType selectQuery;
protected ElementValueStringType countQuery;
/**
* 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 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;
}
/**
* Gets the value of the schemaName property.
*
* @return
* possible object is
* {@link ElementValueStringType }
*
*/
public ElementValueStringType getSchemaName() {
return schemaName;
}
/**
* Sets the value of the schemaName property.
*
* @param value
* allowed object is
* {@link ElementValueStringType }
*
*/
public void setSchemaName(ElementValueStringType value) {
this.schemaName = value;
}
/**
* Gets the value of the temps3Dir property.
*
* @return
* possible object is
* {@link ElementValueStringType }
*
*/
public ElementValueStringType getTemps3Dir() {
return temps3Dir;
}
/**
* Sets the value of the temps3Dir property.
*
* @param value
* allowed object is
* {@link ElementValueStringType }
*
*/
public void setTemps3Dir(ElementValueStringType value) {
this.temps3Dir = 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;
}
}