Class JaxbTableGenerator
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbTableGenerator
-
- All Implemented Interfaces:
java.io.Serializable,SchemaAware
public class JaxbTableGenerator extends java.lang.Object implements java.io.Serializable, SchemaAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.IntegerallocationSizeprotected java.lang.Stringcatalogprotected java.lang.Stringdescriptionprotected java.util.List<JaxbIndex>indexprotected java.lang.IntegerinitialValueprotected java.lang.Stringnameprotected java.lang.StringpkColumnNameprotected java.lang.StringpkColumnValueprotected java.lang.Stringschemaprotected java.lang.Stringtableprotected java.util.List<JaxbUniqueConstraint>uniqueConstraintprotected java.lang.StringvalueColumnName
-
Constructor Summary
Constructors Constructor Description JaxbTableGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAllocationSize()Gets the value of the allocationSize property.java.lang.StringgetCatalog()Gets the value of the catalog property.java.lang.StringgetDescription()Gets the value of the description property.java.util.List<JaxbIndex>getIndex()Gets the value of the index property.java.lang.IntegergetInitialValue()Gets the value of the initialValue property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetPkColumnName()Gets the value of the pkColumnName property.java.lang.StringgetPkColumnValue()Gets the value of the pkColumnValue property.java.lang.StringgetSchema()Gets the value of the schema property.java.lang.StringgetTable()Gets the value of the table property.java.util.List<JaxbUniqueConstraint>getUniqueConstraint()Gets the value of the uniqueConstraint property.java.lang.StringgetValueColumnName()Gets the value of the valueColumnName property.voidsetAllocationSize(java.lang.Integer value)Sets the value of the allocationSize property.voidsetCatalog(java.lang.String value)Sets the value of the catalog property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetInitialValue(java.lang.Integer value)Sets the value of the initialValue property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetPkColumnName(java.lang.String value)Sets the value of the pkColumnName property.voidsetPkColumnValue(java.lang.String value)Sets the value of the pkColumnValue property.voidsetSchema(java.lang.String value)Sets the value of the schema property.voidsetTable(java.lang.String value)Sets the value of the table property.voidsetValueColumnName(java.lang.String value)Sets the value of the valueColumnName property.
-
-
-
Field Detail
-
description
protected java.lang.String description
-
uniqueConstraint
protected java.util.List<JaxbUniqueConstraint> uniqueConstraint
-
index
protected java.util.List<JaxbIndex> index
-
name
protected java.lang.String name
-
table
protected java.lang.String table
-
catalog
protected java.lang.String catalog
-
schema
protected java.lang.String schema
-
pkColumnName
protected java.lang.String pkColumnName
-
valueColumnName
protected java.lang.String valueColumnName
-
pkColumnValue
protected java.lang.String pkColumnValue
-
initialValue
protected java.lang.Integer initialValue
-
allocationSize
protected java.lang.Integer allocationSize
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getUniqueConstraint
public java.util.List<JaxbUniqueConstraint> 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
JaxbUniqueConstraint
-
getIndex
public java.util.List<JaxbIndex> 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
JaxbIndex
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTable
public java.lang.String getTable()
Gets the value of the table property.- Returns:
- possible object is
String
-
setTable
public void setTable(java.lang.String value)
Sets the value of the table property.- Parameters:
value- allowed object isString
-
getCatalog
public java.lang.String getCatalog()
Gets the value of the catalog property.- Specified by:
getCatalogin interfaceSchemaAware- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(java.lang.String value)
Sets the value of the catalog property.- Specified by:
setCatalogin interfaceSchemaAware- Parameters:
value- allowed object isString
-
getSchema
public java.lang.String getSchema()
Gets the value of the schema property.- Specified by:
getSchemain interfaceSchemaAware- Returns:
- possible object is
String
-
setSchema
public void setSchema(java.lang.String value)
Sets the value of the schema property.- Specified by:
setSchemain interfaceSchemaAware- Parameters:
value- allowed object isString
-
getPkColumnName
public java.lang.String getPkColumnName()
Gets the value of the pkColumnName property.- Returns:
- possible object is
String
-
setPkColumnName
public void setPkColumnName(java.lang.String value)
Sets the value of the pkColumnName property.- Parameters:
value- allowed object isString
-
getValueColumnName
public java.lang.String getValueColumnName()
Gets the value of the valueColumnName property.- Returns:
- possible object is
String
-
setValueColumnName
public void setValueColumnName(java.lang.String value)
Sets the value of the valueColumnName property.- Parameters:
value- allowed object isString
-
getPkColumnValue
public java.lang.String getPkColumnValue()
Gets the value of the pkColumnValue property.- Returns:
- possible object is
String
-
setPkColumnValue
public void setPkColumnValue(java.lang.String value)
Sets the value of the pkColumnValue property.- Parameters:
value- allowed object isString
-
getInitialValue
public java.lang.Integer getInitialValue()
Gets the value of the initialValue property.- Returns:
- possible object is
Integer
-
setInitialValue
public void setInitialValue(java.lang.Integer value)
Sets the value of the initialValue property.- Parameters:
value- allowed object isInteger
-
getAllocationSize
public java.lang.Integer getAllocationSize()
Gets the value of the allocationSize property.- Returns:
- possible object is
Integer
-
setAllocationSize
public void setAllocationSize(java.lang.Integer value)
Sets the value of the allocationSize property.- Parameters:
value- allowed object isInteger
-
-