net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.persistence.orm
Class TableGenerator

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

public class TableGenerator
extends Object
implements Serializable, Cloneable

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
TableGenerator()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.persistence.orm.TableGenerator instance.
TableGenerator(TableGenerator o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.persistence.orm.TableGenerator instance by copying a given instance.
 
Method Summary
 TableGenerator 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

TableGenerator

public TableGenerator()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.persistence.orm.TableGenerator instance.


TableGenerator

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

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

getUniqueConstraint

public UniqueConstraint[] getUniqueConstraint()
Returns:
array of UniqueConstraint

getUniqueConstraint

public UniqueConstraint getUniqueConstraint(int idx)
Returns:
one of UniqueConstraint

getUniqueConstraintLength

public int getUniqueConstraintLength()

setUniqueConstraint

public void setUniqueConstraint(UniqueConstraint[] values)
Parameters:
values - allowed objects are UniqueConstraint

setUniqueConstraint

public UniqueConstraint setUniqueConstraint(int idx,
                                            UniqueConstraint value)
Parameters:
value - allowed object is UniqueConstraint

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

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

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

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

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

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

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

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

getAllocationSize

public Integer getAllocationSize()
Gets the value of the allocationSize property.

Returns:
possible object is Integer

setAllocationSize

public void setAllocationSize(Integer value)
Sets the value of the allocationSize property.

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 TableGenerator 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.