public class TableGenerator
extends java.lang.Object
Java class for table-generator complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="table-generator">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="unique-constraint" type="{http://java.sun.com/xml/ns/persistence/orm}unique-constraint" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pk-column-name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value-column-name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pk-column-value" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="initial-value" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="allocation-size" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
allocationSize |
protected java.lang.String |
catalog |
protected java.lang.String |
description |
protected java.lang.Integer |
initialValue |
protected java.lang.String |
name |
protected java.lang.String |
pkColumnName |
protected java.lang.String |
pkColumnValue |
protected java.lang.String |
schema |
protected java.lang.String |
table |
protected java.util.List<UniqueConstraint> |
uniqueConstraint |
protected java.lang.String |
valueColumnName |
| Constructor and Description |
|---|
TableGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getAllocationSize()
Gets the value of the allocationSize property.
|
java.lang.String |
getCatalog()
Gets the value of the catalog property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.lang.Integer |
getInitialValue()
Gets the value of the initialValue property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getPkColumnName()
Gets the value of the pkColumnName property.
|
java.lang.String |
getPkColumnValue()
Gets the value of the pkColumnValue property.
|
java.lang.String |
getSchema()
Gets the value of the schema property.
|
java.lang.String |
getTable()
Gets the value of the table property.
|
java.util.List<UniqueConstraint> |
getUniqueConstraint()
Gets the value of the uniqueConstraint property.
|
java.lang.String |
getValueColumnName()
Gets the value of the valueColumnName property.
|
void |
setAllocationSize(java.lang.Integer value)
Sets the value of the allocationSize property.
|
void |
setCatalog(java.lang.String value)
Sets the value of the catalog property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setInitialValue(java.lang.Integer value)
Sets the value of the initialValue property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setPkColumnName(java.lang.String value)
Sets the value of the pkColumnName property.
|
void |
setPkColumnValue(java.lang.String value)
Sets the value of the pkColumnValue property.
|
void |
setSchema(java.lang.String value)
Sets the value of the schema property.
|
void |
setTable(java.lang.String value)
Sets the value of the table property.
|
void |
setValueColumnName(java.lang.String value)
Sets the value of the valueColumnName property.
|
protected java.lang.String description
protected java.util.List<UniqueConstraint> uniqueConstraint
protected java.lang.Integer allocationSize
protected java.lang.String catalog
protected java.lang.Integer initialValue
protected java.lang.String name
protected java.lang.String pkColumnName
protected java.lang.String pkColumnValue
protected java.lang.String schema
protected java.lang.String table
protected java.lang.String valueColumnName
public java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<UniqueConstraint> getUniqueConstraint()
set method for the uniqueConstraint property.
For example, to add a new item, do as follows:
getUniqueConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
UniqueConstraintpublic java.lang.Integer getAllocationSize()
Integerpublic void setAllocationSize(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.String getCatalog()
Stringpublic void setCatalog(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Integer getInitialValue()
Integerpublic void setInitialValue(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPkColumnName()
Stringpublic void setPkColumnName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPkColumnValue()
Stringpublic void setPkColumnValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSchema()
Stringpublic void setSchema(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTable()
Stringpublic void setTable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getValueColumnName()
Stringpublic void setValueColumnName(java.lang.String value)
value - allowed object is
String