net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl
Class TableGeneratorImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.TableGeneratorImpl
All Implemented Interfaces:
Serializable, Cloneable, TableGenerator

public class TableGeneratorImpl
extends Object
implements Serializable, Cloneable, TableGenerator

See Also:
Serialized Form

Field Summary
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  UniqueConstraint[] uniqueConstraint
           
protected  String valueColumnName
           
 
Constructor Summary
TableGeneratorImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.TableGeneratorImpl instance.
TableGeneratorImpl(TableGeneratorImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.TableGeneratorImpl instance by copying a given instance.
 
Method Summary
 TableGeneratorImpl clone()
          Creates and returns a copy of this object.
protected  void copyUniqueConstraint(UniqueConstraint[] source)
          Copies all values of property UniqueConstraint.
 Integer getAllocationSize()
          Gets the value of the allocationSize property.
 String getCatalog()
          Gets the value of the catalog 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.
 UniqueConstraint[] getUniqueConstraint()
           
 UniqueConstraint getUniqueConstraint(int idx)
           
 int getUniqueConstraintLength()
           
 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 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.
 UniqueConstraint setUniqueConstraint(int idx, UniqueConstraint value)
           
 void setUniqueConstraint(UniqueConstraint[] values)
           
 void setValueColumnName(String value)
          Sets the value of the valueColumnName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniqueConstraint

protected 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
Constructor Detail

TableGeneratorImpl

public TableGeneratorImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.TableGeneratorImpl instance.


TableGeneratorImpl

public TableGeneratorImpl(TableGeneratorImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.TableGeneratorImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getUniqueConstraint

public UniqueConstraint[] getUniqueConstraint()
Specified by:
getUniqueConstraint in interface TableGenerator
Returns:
array of UniqueConstraint

getUniqueConstraint

public UniqueConstraint getUniqueConstraint(int idx)
Specified by:
getUniqueConstraint in interface TableGenerator
Returns:
one of UniqueConstraint

getUniqueConstraintLength

public int getUniqueConstraintLength()
Specified by:
getUniqueConstraintLength in interface TableGenerator

setUniqueConstraint

public void setUniqueConstraint(UniqueConstraint[] values)
Specified by:
setUniqueConstraint in interface TableGenerator
Parameters:
values - allowed objects are UniqueConstraint

setUniqueConstraint

public UniqueConstraint setUniqueConstraint(int idx,
                                            UniqueConstraint value)
Specified by:
setUniqueConstraint in interface TableGenerator
value - allowed object is UniqueConstraint

getName

public String getName()
Description copied from interface: TableGenerator
Gets the value of the name property.

Specified by:
getName in interface TableGenerator
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: TableGenerator
Sets the value of the name property.

Specified by:
setName in interface TableGenerator
Parameters:
value - allowed object is String

getTable

public String getTable()
Description copied from interface: TableGenerator
Gets the value of the table property.

Specified by:
getTable in interface TableGenerator
Returns:
possible object is String

setTable

public void setTable(String value)
Description copied from interface: TableGenerator
Sets the value of the table property.

Specified by:
setTable in interface TableGenerator
Parameters:
value - allowed object is String

getCatalog

public String getCatalog()
Description copied from interface: TableGenerator
Gets the value of the catalog property.

Specified by:
getCatalog in interface TableGenerator
Returns:
possible object is String

setCatalog

public void setCatalog(String value)
Description copied from interface: TableGenerator
Sets the value of the catalog property.

Specified by:
setCatalog in interface TableGenerator
Parameters:
value - allowed object is String

getSchema

public String getSchema()
Description copied from interface: TableGenerator
Gets the value of the schema property.

Specified by:
getSchema in interface TableGenerator
Returns:
possible object is String

setSchema

public void setSchema(String value)
Description copied from interface: TableGenerator
Sets the value of the schema property.

Specified by:
setSchema in interface TableGenerator
Parameters:
value - allowed object is String

getPkColumnName

public String getPkColumnName()
Description copied from interface: TableGenerator
Gets the value of the pkColumnName property.

Specified by:
getPkColumnName in interface TableGenerator
Returns:
possible object is String

setPkColumnName

public void setPkColumnName(String value)
Description copied from interface: TableGenerator
Sets the value of the pkColumnName property.

Specified by:
setPkColumnName in interface TableGenerator
Parameters:
value - allowed object is String

getValueColumnName

public String getValueColumnName()
Description copied from interface: TableGenerator
Gets the value of the valueColumnName property.

Specified by:
getValueColumnName in interface TableGenerator
Returns:
possible object is String

setValueColumnName

public void setValueColumnName(String value)
Description copied from interface: TableGenerator
Sets the value of the valueColumnName property.

Specified by:
setValueColumnName in interface TableGenerator
Parameters:
value - allowed object is String

getPkColumnValue

public String getPkColumnValue()
Description copied from interface: TableGenerator
Gets the value of the pkColumnValue property.

Specified by:
getPkColumnValue in interface TableGenerator
Returns:
possible object is String

setPkColumnValue

public void setPkColumnValue(String value)
Description copied from interface: TableGenerator
Sets the value of the pkColumnValue property.

Specified by:
setPkColumnValue in interface TableGenerator
Parameters:
value - allowed object is String

getInitialValue

public Integer getInitialValue()
Description copied from interface: TableGenerator
Gets the value of the initialValue property.

Specified by:
getInitialValue in interface TableGenerator
Returns:
possible object is Integer

setInitialValue

public void setInitialValue(Integer value)
Description copied from interface: TableGenerator
Sets the value of the initialValue property.

Specified by:
setInitialValue in interface TableGenerator
Parameters:
value - allowed object is Integer

getAllocationSize

public Integer getAllocationSize()
Description copied from interface: TableGenerator
Gets the value of the allocationSize property.

Specified by:
getAllocationSize in interface TableGenerator
Returns:
possible object is Integer

setAllocationSize

public void setAllocationSize(Integer value)
Description copied from interface: TableGenerator
Sets the value of the allocationSize property.

Specified by:
setAllocationSize in interface TableGenerator
Parameters:
value - allowed object is Integer

copyUniqueConstraint

protected void copyUniqueConstraint(UniqueConstraint[] source)
Copies all values of property UniqueConstraint.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public TableGeneratorImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.