Class TableGenerator
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.TableGenerator
-
public class TableGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerallocationSizeprotected Stringcatalogprotected Stringdescriptionprotected List<Index>indexprotected IntegerinitialValueprotected Stringnameprotected StringpkColumnNameprotected StringpkColumnValueprotected Stringschemaprotected Stringtableprotected List<UniqueConstraint>uniqueConstraintprotected StringvalueColumnName
-
Constructor Summary
Constructors Constructor Description TableGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAllocationSize()Gets the value of the allocationSize property.StringgetCatalog()Gets the value of the catalog property.StringgetDescription()Gets the value of the description property.List<Index>getIndex()Gets the value of the index property.IntegergetInitialValue()Gets the value of the initialValue property.StringgetName()Gets the value of the name property.StringgetPkColumnName()Gets the value of the pkColumnName property.StringgetPkColumnValue()Gets the value of the pkColumnValue property.StringgetSchema()Gets the value of the schema property.StringgetTable()Gets the value of the table property.List<UniqueConstraint>getUniqueConstraint()Gets the value of the uniqueConstraint property.StringgetValueColumnName()Gets the value of the valueColumnName property.voidsetAllocationSize(Integer value)Sets the value of the allocationSize property.voidsetCatalog(String value)Sets the value of the catalog property.voidsetDescription(String value)Sets the value of the description property.voidsetInitialValue(Integer value)Sets the value of the initialValue property.voidsetName(String value)Sets the value of the name property.voidsetPkColumnName(String value)Sets the value of the pkColumnName property.voidsetPkColumnValue(String value)Sets the value of the pkColumnValue property.voidsetSchema(String value)Sets the value of the schema property.voidsetTable(String value)Sets the value of the table property.voidsetValueColumnName(String value)Sets the value of the valueColumnName property.
-
-
-
Field Detail
-
description
protected String description
-
uniqueConstraint
protected List<UniqueConstraint> uniqueConstraint
-
name
protected String name
-
table
protected String table
-
catalog
protected String catalog
-
schema
protected String schema
-
pkColumnName
protected String pkColumnName
-
valueColumnName
protected String valueColumnName
-
pkColumnValue
protected String pkColumnValue
-
initialValue
protected Integer initialValue
-
allocationSize
protected Integer allocationSize
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getUniqueConstraint
public List<UniqueConstraint> getUniqueConstraint()
Gets the value of the uniqueConstraint 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
setmethod 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
-
getIndex
public List<Index> getIndex()
Gets the value of the index 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
setmethod for the index property.For example, to add a new item, do as follows:
getIndex().add(newItem);Objects of the following type(s) are allowed in the list
Index
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTable
public String getTable()
Gets the value of the table property.- Returns:
- possible object is
String
-
setTable
public void setTable(String value)
Sets the value of the table property.- Parameters:
value- allowed object isString
-
getCatalog
public String getCatalog()
Gets the value of the catalog property.- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(String value)
Sets the value of the catalog property.- Parameters:
value- allowed object isString
-
getSchema
public String getSchema()
Gets the value of the schema property.- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Parameters:
value- allowed object isString
-
getPkColumnName
public String getPkColumnName()
Gets the value of the pkColumnName property.- Returns:
- possible object is
String
-
setPkColumnName
public void setPkColumnName(String value)
Sets the value of the pkColumnName property.- Parameters:
value- allowed object isString
-
getValueColumnName
public String getValueColumnName()
Gets the value of the valueColumnName property.- Returns:
- possible object is
String
-
setValueColumnName
public void setValueColumnName(String value)
Sets the value of the valueColumnName property.- Parameters:
value- allowed object isString
-
getPkColumnValue
public String getPkColumnValue()
Gets the value of the pkColumnValue property.- Returns:
- possible object is
String
-
setPkColumnValue
public void setPkColumnValue(String value)
Sets the value of the pkColumnValue property.- Parameters:
value- allowed object isString
-
getInitialValue
public Integer getInitialValue()
Gets the value of the initialValue property.- Returns:
- possible object is
Integer
-
setInitialValue
public void setInitialValue(Integer value)
Sets the value of the initialValue property.- Parameters:
value- allowed object isInteger
-
getAllocationSize
public Integer getAllocationSize()
Gets the value of the allocationSize property.- Returns:
- possible object is
Integer
-
-