public class TableGenerator extends 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 Integer |
allocationSize |
protected String |
catalog |
protected String |
description |
protected Integer |
initialValue |
protected String |
name |
protected String |
pkColumnName |
protected String |
pkColumnValue |
protected String |
schema |
protected String |
table |
protected List<UniqueConstraint> |
uniqueConstraint |
protected String |
valueColumnName |
| Constructor and Description |
|---|
TableGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAllocationSize()
Gets the value of the allocationSize property.
|
String |
getCatalog()
Gets the value of the catalog property.
|
String |
getDescription()
Gets the value of the description property.
|
Integer |
getInitialValue()
Gets the value of the initialValue property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPkColumnName()
Gets the value of the pkColumnName property.
|
String |
getPkColumnValue()
Gets the value of the pkColumnValue property.
|
String |
getSchema()
Gets the value of the schema property.
|
String |
getTable()
Gets the value of the table property.
|
List<UniqueConstraint> |
getUniqueConstraint()
Gets the value of the uniqueConstraint property.
|
String |
getValueColumnName()
Gets the value of the valueColumnName property.
|
void |
setAllocationSize(Integer value)
Sets the value of the allocationSize property.
|
void |
setCatalog(String value)
Sets the value of the catalog property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setInitialValue(Integer value)
Sets the value of the initialValue property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPkColumnName(String value)
Sets the value of the pkColumnName property.
|
void |
setPkColumnValue(String value)
Sets the value of the pkColumnValue property.
|
void |
setSchema(String value)
Sets the value of the schema property.
|
void |
setTable(String value)
Sets the value of the table property.
|
void |
setValueColumnName(String value)
Sets the value of the valueColumnName property.
|
protected String description
protected List<UniqueConstraint> uniqueConstraint
protected Integer allocationSize
protected String catalog
protected Integer initialValue
protected String name
protected String pkColumnName
protected String pkColumnValue
protected String schema
protected String table
protected String valueColumnName
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic 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 Integer getAllocationSize()
Integerpublic void setAllocationSize(Integer value)
value - allowed object is
Integerpublic String getCatalog()
Stringpublic void setCatalog(String value)
value - allowed object is
Stringpublic Integer getInitialValue()
Integerpublic void setInitialValue(Integer value)
value - allowed object is
Integerpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getPkColumnName()
Stringpublic void setPkColumnName(String value)
value - allowed object is
Stringpublic String getPkColumnValue()
Stringpublic void setPkColumnValue(String value)
value - allowed object is
Stringpublic String getSchema()
Stringpublic void setSchema(String value)
value - allowed object is
Stringpublic String getTable()
Stringpublic void setTable(String value)
value - allowed object is
Stringpublic String getValueColumnName()
StringCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.