Class JaxbTableGenerator
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbTableGenerator
-
- All Implemented Interfaces:
Serializable
,SchemaAware
public class JaxbTableGenerator extends Object implements Serializable, SchemaAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
allocationSize
protected String
catalog
protected String
check
protected String
comment
protected String
description
protected List<JaxbIndex>
index
protected Integer
initialValue
protected String
name
protected String
pkColumnName
protected String
pkColumnValue
protected String
schema
protected String
table
protected List<JaxbUniqueConstraint>
uniqueConstraint
protected String
valueColumnName
-
Constructor Summary
Constructors Constructor Description JaxbTableGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAllocationSize()
Gets the value of the allocationSize property.String
getCatalog()
Gets the value of the catalog property.String
getCheck()
Gets the value of the check property.String
getComment()
Gets the value of the comment property.String
getDescription()
Gets the value of the description property.List<JaxbIndex>
getIndex()
Gets the value of the index 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<JaxbUniqueConstraint>
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
setCheck(String value)
Sets the value of the check property.void
setComment(String value)
Sets the value of the comment 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.
-
-
-
Field Detail
-
description
protected String description
-
comment
protected String comment
-
check
protected String check
-
uniqueConstraint
protected List<JaxbUniqueConstraint> 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
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
getCheck
public String getCheck()
Gets the value of the check property.- Returns:
- possible object is
String
-
setCheck
public void setCheck(String value)
Sets the value of the check property.- Parameters:
value
- allowed object isString
-
getUniqueConstraint
public 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 Jakarta XML Binding object. This is why there is not a
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
JaxbUniqueConstraint
-
getIndex
public 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 Jakarta XML Binding object. This is why there is not a
set
method 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 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.- Specified by:
getCatalog
in interfaceSchemaAware
- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(String value)
Sets the value of the catalog property.- Specified by:
setCatalog
in interfaceSchemaAware
- Parameters:
value
- allowed object isString
-
getSchema
public String getSchema()
Gets the value of the schema property.- Specified by:
getSchema
in interfaceSchemaAware
- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Specified by:
setSchema
in interfaceSchemaAware
- 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
-
-