net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl
Class TableImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.TableImpl
All Implemented Interfaces:
Serializable, Cloneable, Table

public class TableImpl
extends Object
implements Serializable, Cloneable, Table

See Also:
Serialized Form

Field Summary
protected  String catalog
           
protected  String name
           
protected  String schema
           
protected  UniqueConstraint[] uniqueConstraint
           
 
Constructor Summary
TableImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.TableImpl instance.
TableImpl(TableImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.TableImpl instance by copying a given instance.
 
Method Summary
 TableImpl clone()
          Creates and returns a copy of this object.
 void copyUniqueConstraint(UniqueConstraint[] source)
          Copies all values of property UniqueConstraint.
 String getCatalog()
          Gets the value of the catalog property.
 String getName()
          Gets the value of the name property.
 String getSchema()
          Gets the value of the schema property.
 UniqueConstraint[] getUniqueConstraint()
           
 UniqueConstraint getUniqueConstraint(int idx)
           
 int getUniqueConstraintLength()
           
 void setCatalog(String value)
          Sets the value of the catalog property.
 void setName(String value)
          Sets the value of the name property.
 void setSchema(String value)
          Sets the value of the schema property.
 UniqueConstraint setUniqueConstraint(int idx, UniqueConstraint value)
           
 void setUniqueConstraint(UniqueConstraint[] values)
           
 
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

catalog

protected String catalog

schema

protected String schema
Constructor Detail

TableImpl

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


TableImpl

public TableImpl(TableImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.TableImpl 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 Table
Returns:
array of UniqueConstraint

getUniqueConstraint

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

getUniqueConstraintLength

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

setUniqueConstraint

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

setUniqueConstraint

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

getName

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

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

setName

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

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

getCatalog

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

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

setCatalog

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

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

getSchema

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

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

setSchema

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

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

copyUniqueConstraint

public 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 TableImpl 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.