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

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

public class SecondaryTableImpl
extends Object
implements Serializable, Cloneable, SecondaryTable

See Also:
Serialized Form

Field Summary
protected  String catalog
           
protected  String name
           
protected  PrimaryKeyJoinColumn[] primaryKeyJoinColumn
           
protected  String schema
           
protected  UniqueConstraint[] uniqueConstraint
           
 
Constructor Summary
SecondaryTableImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.SecondaryTableImpl instance.
SecondaryTableImpl(SecondaryTableImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.persistence.orm.impl.SecondaryTableImpl instance by copying a given instance.
 
Method Summary
 SecondaryTableImpl clone()
          Creates and returns a copy of this object.
 void copyPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] source)
          Copies all values of property PrimaryKeyJoinColumn.
 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.
 PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
           
 PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
           
 int getPrimaryKeyJoinColumnLength()
           
 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.
 PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx, PrimaryKeyJoinColumn value)
           
 void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
           
 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

primaryKeyJoinColumn

protected PrimaryKeyJoinColumn[] primaryKeyJoinColumn

uniqueConstraint

protected UniqueConstraint[] uniqueConstraint

name

protected String name

catalog

protected String catalog

schema

protected String schema
Constructor Detail

SecondaryTableImpl

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


SecondaryTableImpl

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

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

getPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
Specified by:
getPrimaryKeyJoinColumn in interface SecondaryTable
Returns:
array of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
Specified by:
getPrimaryKeyJoinColumn in interface SecondaryTable
Returns:
one of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumnLength

public int getPrimaryKeyJoinColumnLength()
Specified by:
getPrimaryKeyJoinColumnLength in interface SecondaryTable

setPrimaryKeyJoinColumn

public void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
Specified by:
setPrimaryKeyJoinColumn in interface SecondaryTable
Parameters:
values - allowed objects are PrimaryKeyJoinColumn

setPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx,
                                                    PrimaryKeyJoinColumn value)
Specified by:
setPrimaryKeyJoinColumn in interface SecondaryTable
value - allowed object is PrimaryKeyJoinColumn

getUniqueConstraint

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

getUniqueConstraint

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

getUniqueConstraintLength

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

setUniqueConstraint

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

setUniqueConstraint

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

getName

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

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

setName

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

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

getCatalog

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

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

setCatalog

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

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

getSchema

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

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

setSchema

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

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

copyPrimaryKeyJoinColumn

public void copyPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] source)
Copies all values of property PrimaryKeyJoinColumn.

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

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