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()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public 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
UniqueConstraint
public java.lang.Integer getAllocationSize()
Integer
public void setAllocationSize(java.lang.Integer value)
value
- allowed object is
Integer
public java.lang.String getCatalog()
String
public void setCatalog(java.lang.String value)
value
- allowed object is
String
public java.lang.Integer getInitialValue()
Integer
public void setInitialValue(java.lang.Integer value)
value
- allowed object is
Integer
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getPkColumnName()
String
public void setPkColumnName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getPkColumnValue()
String
public void setPkColumnValue(java.lang.String value)
value
- allowed object is
String
public java.lang.String getSchema()
String
public void setSchema(java.lang.String value)
value
- allowed object is
String
public java.lang.String getTable()
String
public void setTable(java.lang.String value)
value
- allowed object is
String
public java.lang.String getValueColumnName()
String
public void setValueColumnName(java.lang.String value)
value
- allowed object is
String