org.jvnet.hyperjaxb3.hibernate.mapping.CollectionId Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.01.30 at 01:23:09 PM CET
//
package org.jvnet.hyperjaxb3.hibernate.mapping;
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;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"meta",
"column",
"generator"
})
@XmlRootElement(name = "collection-id")
public class CollectionId {
@XmlAttribute(name = "column", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String columnName;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String type;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String length;
protected List meta;
protected List column;
@XmlElement(required = true)
protected Generator generator;
/**
* Gets the value of the columnName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumnName() {
return columnName;
}
/**
* Sets the value of the columnName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumnName(String value) {
this.columnName = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the length property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLength(String value) {
this.length = value;
}
/**
* Gets the value of the meta 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 meta property.
*
*
* For example, to add a new item, do as follows:
*
* getMeta().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Meta }
*
*
*/
public List getMeta() {
if (meta == null) {
meta = new ArrayList();
}
return this.meta;
}
/**
* Gets the value of the column 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 column property.
*
*
* For example, to add a new item, do as follows:
*
* getColumn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Column }
*
*
*/
public List getColumn() {
if (column == null) {
column = new ArrayList();
}
return this.column;
}
/**
* Gets the value of the generator property.
*
* @return
* possible object is
* {@link Generator }
*
*/
public Generator getGenerator() {
return generator;
}
/**
* Sets the value of the generator property.
*
* @param value
* allowed object is
* {@link Generator }
*
*/
public void setGenerator(Generator value) {
this.generator = value;
}
}