org.plasma.text.ddl.Fk Maven / Gradle / Ivy
Show all versions of plasma-metamodel Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.11 at 01:59:49 PM MST
//
package org.plasma.text.ddl;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for fk complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="fk">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://plasma.org/text/ddl}join" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="delete-action" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="to-table" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="to-schema" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "fk", propOrder = {
"joins"
})
@XmlRootElement(name = "fk")
public class Fk {
@XmlElement(name = "join")
protected List joins;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "delete-action", required = true)
protected String deleteAction;
@XmlAttribute(name = "to-table", required = true)
protected String toTable;
@XmlAttribute(name = "to-schema", required = true)
protected String toSchema;
@XmlAttribute(name = "column")
protected String column;
/**
* Gets the value of the joins property.
*
*
* 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 set
method for the joins property.
*
*
* For example, to add a new item, do as follows:
*
* getJoins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Join }
*
*
*/
public List getJoins() {
if (joins == null) {
joins = new ArrayList();
}
return this.joins;
}
/**
* 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 deleteAction property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeleteAction() {
return deleteAction;
}
/**
* Sets the value of the deleteAction property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeleteAction(String value) {
this.deleteAction = value;
}
/**
* Gets the value of the toTable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getToTable() {
return toTable;
}
/**
* Sets the value of the toTable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setToTable(String value) {
this.toTable = value;
}
/**
* Gets the value of the toSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getToSchema() {
return toSchema;
}
/**
* Sets the value of the toSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setToSchema(String value) {
this.toSchema = value;
}
/**
* 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;
}
}