org.apache.openejb.jee.jpa
Class TableGenerator

java.lang.Object
  extended by org.apache.openejb.jee.jpa.TableGenerator

public class TableGenerator
extends java.lang.Object


Field Summary
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.util.List<UniqueConstraint> uniqueConstraint
           
protected  java.lang.String valueColumnName
           
 
Constructor Summary
TableGenerator()
           
 
Method Summary
 java.lang.Integer getAllocationSize()
          Gets the value of the allocationSize property.
 java.lang.String getCatalog()
          Gets the value of the catalog 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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniqueConstraint

protected java.util.List<UniqueConstraint> uniqueConstraint

allocationSize

protected java.lang.Integer allocationSize

catalog

protected java.lang.String catalog

initialValue

protected java.lang.Integer initialValue

name

protected java.lang.String name

pkColumnName

protected java.lang.String pkColumnName

pkColumnValue

protected java.lang.String pkColumnValue

schema

protected java.lang.String schema

table

protected java.lang.String table

valueColumnName

protected java.lang.String valueColumnName
Constructor Detail

TableGenerator

public TableGenerator()
Method Detail

getUniqueConstraint

public java.util.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 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


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 is Integer

getCatalog

public java.lang.String getCatalog()
Gets the value of the catalog property.

Returns:
possible object is String

setCatalog

public void setCatalog(java.lang.String value)
Sets the value of the catalog property.

Parameters:
value - allowed object is String

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 is Integer

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 is String

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 is String

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 is String

getSchema

public java.lang.String getSchema()
Gets the value of the schema property.

Returns:
possible object is String

setSchema

public void setSchema(java.lang.String value)
Sets the value of the schema property.

Parameters:
value - allowed object is String

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 is String

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 is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.