//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.11.23 at 05:12:12 PM EST
//
package com.tesora.dve.sql.raw.jaxb;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TargetTableType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TargetTableType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="decl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="distvect" type="{}DistributionType" minOccurs="0"/>
* <element name="key" type="{}KeyType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="temp" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="group" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TargetTableType", propOrder = {
"decl",
"distvect",
"key"
})
public class TargetTableType {
protected String decl;
protected DistributionType distvect;
protected List<KeyType> key;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "temp", required = true)
protected boolean temp;
@XmlAttribute(name = "group", required = true)
protected String group;
/**
* Gets the value of the decl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDecl() {
return decl;
}
/**
* Sets the value of the decl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDecl(String value) {
this.decl = value;
}
/**
* Gets the value of the distvect property.
*
* @return
* possible object is
* {@link DistributionType }
*
*/
public DistributionType getDistvect() {
return distvect;
}
/**
* Sets the value of the distvect property.
*
* @param value
* allowed object is
* {@link DistributionType }
*
*/
public void setDistvect(DistributionType value) {
this.distvect = value;
}
/**
* Gets the value of the key property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the key property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKey().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link KeyType }
*
*
*/
public List<KeyType> getKey() {
if (key == null) {
key = new ArrayList<KeyType>();
}
return this.key;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the temp property.
*
*/
public boolean isTemp() {
return temp;
}
/**
* Sets the value of the temp property.
*
*/
public void setTemp(boolean value) {
this.temp = value;
}
/**
* Gets the value of the group property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGroup() {
return group;
}
/**
* Sets the value of the group property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGroup(String value) {
this.group = value;
}
}