net.sourceforge.jpaxjc.ns.persistence.orm
Class TableGenerator

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.TableGenerator
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class TableGenerator
extends Object
implements Cloneable


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  List<UniqueConstraint> uniqueConstraint
           
protected  String valueColumnName
           
 
Constructor Summary
TableGenerator()
          Creates a new TableGenerator instance.
TableGenerator(TableGenerator o)
          Creates a new TableGenerator instance by deeply copying a given TableGenerator instance.
 
Method Summary
 TableGenerator clone()
          Creates and returns a deep copy of this object.
 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.
 List<UniqueConstraint> 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 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniqueConstraint

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<UniqueConstraint> uniqueConstraint

name

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String name

table

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String table

catalog

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String catalog

schema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String schema

pkColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String pkColumnName

valueColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String valueColumnName

pkColumnValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String pkColumnValue

initialValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Integer initialValue

allocationSize

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Integer allocationSize
Constructor Detail

TableGenerator

public TableGenerator()
Creates a new TableGenerator instance.


TableGenerator

public TableGenerator(TableGenerator o)
Creates a new TableGenerator instance by deeply copying a given TableGenerator instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getUniqueConstraint

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public 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


getName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getTable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getTable()
Gets the value of the table property.

Returns:
possible object is String

setTable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setTable(String value)
Sets the value of the table property.

Parameters:
value - allowed object is String

getCatalog

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getCatalog()
Gets the value of the catalog property.

Returns:
possible object is String

setCatalog

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCatalog(String value)
Sets the value of the catalog property.

Parameters:
value - allowed object is String

getSchema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getSchema()
Gets the value of the schema property.

Returns:
possible object is String

setSchema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setSchema(String value)
Sets the value of the schema property.

Parameters:
value - allowed object is String

getPkColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getPkColumnName()
Gets the value of the pkColumnName property.

Returns:
possible object is String

setPkColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPkColumnName(String value)
Sets the value of the pkColumnName property.

Parameters:
value - allowed object is String

getValueColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getValueColumnName()
Gets the value of the valueColumnName property.

Returns:
possible object is String

setValueColumnName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setValueColumnName(String value)
Sets the value of the valueColumnName property.

Parameters:
value - allowed object is String

getPkColumnValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getPkColumnValue()
Gets the value of the pkColumnValue property.

Returns:
possible object is String

setPkColumnValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPkColumnValue(String value)
Sets the value of the pkColumnValue property.

Parameters:
value - allowed object is String

getInitialValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Integer getInitialValue()
Gets the value of the initialValue property.

Returns:
possible object is Integer

setInitialValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setInitialValue(Integer value)
Sets the value of the initialValue property.

Parameters:
value - allowed object is Integer

getAllocationSize

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Integer getAllocationSize()
Gets the value of the allocationSize property.

Returns:
possible object is Integer

setAllocationSize

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setAllocationSize(Integer value)
Sets the value of the allocationSize property.

Parameters:
value - allowed object is Integer

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public TableGenerator clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.