// // 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: 2013.11.01 at 06:28:31 PM EDT // package com.tesora.dve.tools.analyzer.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 KeysType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="KeysType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="primaryKey" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="foreignKey" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="refTable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="refColumn" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "KeysType", propOrder = { "primaryKey", "foreignKey" }) public class KeysType { protected List<KeysType.PrimaryKey> primaryKey; protected List<KeysType.ForeignKey> foreignKey; /** * Gets the value of the primaryKey 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 primaryKey property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPrimaryKey().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeysType.PrimaryKey } * * */ public List<KeysType.PrimaryKey> getPrimaryKey() { if (primaryKey == null) { primaryKey = new ArrayList<KeysType.PrimaryKey>(); } return this.primaryKey; } /** * Gets the value of the foreignKey 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 foreignKey property. * * <p> * For example, to add a new item, do as follows: * <pre> * getForeignKey().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeysType.ForeignKey } * * */ public List<KeysType.ForeignKey> getForeignKey() { if (foreignKey == null) { foreignKey = new ArrayList<KeysType.ForeignKey>(); } return this.foreignKey; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="refTable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="refColumn" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class ForeignKey { @XmlAttribute(name = "column", required = true) protected String column; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "sequence", required = true) protected int sequence; @XmlAttribute(name = "refTable", required = true) protected String refTable; @XmlAttribute(name = "refColumn", required = true) protected String refColumn; /** * Gets the value of the column property. * * @return * possible object is * {@link String } * */ public String getColumn() { return column; } /** * Sets the value of the column property. * * @param value * allowed object is * {@link String } * */ public void setColumn(String value) { this.column = value; } /** * 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 sequence property. * */ public int getSequence() { return sequence; } /** * Sets the value of the sequence property. * */ public void setSequence(int value) { this.sequence = value; } /** * Gets the value of the refTable property. * * @return * possible object is * {@link String } * */ public String getRefTable() { return refTable; } /** * Sets the value of the refTable property. * * @param value * allowed object is * {@link String } * */ public void setRefTable(String value) { this.refTable = value; } /** * Gets the value of the refColumn property. * * @return * possible object is * {@link String } * */ public String getRefColumn() { return refColumn; } /** * Sets the value of the refColumn property. * * @param value * allowed object is * {@link String } * */ public void setRefColumn(String value) { this.refColumn = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class PrimaryKey { @XmlAttribute(name = "column", required = true) protected String column; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "sequence", required = true) protected int sequence; /** * Gets the value of the column property. * * @return * possible object is * {@link String } * */ public String getColumn() { return column; } /** * Sets the value of the column property. * * @param value * allowed object is * {@link String } * */ public void setColumn(String value) { this.column = value; } /** * 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 sequence property. * */ public int getSequence() { return sequence; } /** * Sets the value of the sequence property. * */ public void setSequence(int value) { this.sequence = value; } } }