org.plasma.sdo.access.provider.jdo.Key Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.19 at 03:35:27 PM EST
//
package org.plasma.sdo.access.provider.jdo;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}embedded" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}column" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}foreign-key" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}index" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}unique" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}extension" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://java.sun.com/xml/ns/jdo/jdo}attlist.key"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"embedded",
"columns",
"foreignKey",
"index",
"uniqueElement",
"extensions"
})
@XmlRootElement(name = "key")
public class Key {
protected Embedded embedded;
@XmlElement(name = "column")
protected List columns;
@XmlElement(name = "foreign-key")
protected ForeignKey foreignKey;
protected Index index;
@XmlElement(name = "unique")
protected Unique uniqueElement;
@XmlElement(name = "extension")
protected List extensions;
@XmlAttribute(name = "column")
@XmlSchemaType(name = "anySimpleType")
protected String column;
@XmlAttribute(name = "table")
@XmlSchemaType(name = "anySimpleType")
protected String table;
@XmlAttribute(name = "delete-action")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String deleteAction;
@XmlAttribute(name = "update-action")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String updateAction;
@XmlAttribute(name = "indexed")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String indexed;
@XmlAttribute(name = "unique")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String unique;
@XmlAttribute(name = "mapped-by")
@XmlSchemaType(name = "anySimpleType")
protected String mappedBy;
/**
* Gets the value of the embedded property.
*
* @return
* possible object is
* {@link Embedded }
*
*/
public Embedded getEmbedded() {
return embedded;
}
/**
* Sets the value of the embedded property.
*
* @param value
* allowed object is
* {@link Embedded }
*
*/
public void setEmbedded(Embedded value) {
this.embedded = value;
}
/**
* Gets the value of the columns 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 columns property.
*
*
* For example, to add a new item, do as follows:
*
* getColumns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Column }
*
*
*/
public List getColumns() {
if (columns == null) {
columns = new ArrayList();
}
return this.columns;
}
/**
* Gets the value of the foreignKey property.
*
* @return
* possible object is
* {@link ForeignKey }
*
*/
public ForeignKey getForeignKey() {
return foreignKey;
}
/**
* Sets the value of the foreignKey property.
*
* @param value
* allowed object is
* {@link ForeignKey }
*
*/
public void setForeignKey(ForeignKey value) {
this.foreignKey = value;
}
/**
* Gets the value of the index property.
*
* @return
* possible object is
* {@link Index }
*
*/
public Index getIndex() {
return index;
}
/**
* Sets the value of the index property.
*
* @param value
* allowed object is
* {@link Index }
*
*/
public void setIndex(Index value) {
this.index = value;
}
/**
* Gets the value of the uniqueElement property.
*
* @return
* possible object is
* {@link Unique }
*
*/
public Unique getUniqueElement() {
return uniqueElement;
}
/**
* Sets the value of the uniqueElement property.
*
* @param value
* allowed object is
* {@link Unique }
*
*/
public void setUniqueElement(Unique value) {
this.uniqueElement = value;
}
/**
* Gets the value of the extensions 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 extensions property.
*
*
* For example, to add a new item, do as follows:
*
* getExtensions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtensions() {
if (extensions == null) {
extensions = new ArrayList();
}
return this.extensions;
}
/**
* 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 table property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTable() {
return table;
}
/**
* Sets the value of the table property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTable(String value) {
this.table = 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 updateAction property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUpdateAction() {
return updateAction;
}
/**
* Sets the value of the updateAction property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUpdateAction(String value) {
this.updateAction = value;
}
/**
* Gets the value of the indexed property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIndexed() {
return indexed;
}
/**
* Sets the value of the indexed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIndexed(String value) {
this.indexed = value;
}
/**
* Gets the value of the unique property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnique() {
return unique;
}
/**
* Sets the value of the unique property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnique(String value) {
this.unique = value;
}
/**
* Gets the value of the mappedBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMappedBy() {
return mappedBy;
}
/**
* Sets the value of the mappedBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMappedBy(String value) {
this.mappedBy = value;
}
}