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

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

public class SecondaryTable
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

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

SecondaryTable

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


SecondaryTable

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

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

getPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
Returns:
array of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
Returns:
one of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumnLength

public int getPrimaryKeyJoinColumnLength()

setPrimaryKeyJoinColumn

public void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
Parameters:
values - allowed objects are PrimaryKeyJoinColumn

setPrimaryKeyJoinColumn

public PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx,
                                                    PrimaryKeyJoinColumn value)
Parameters:
value - allowed object is PrimaryKeyJoinColumn

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

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

copyPrimaryKeyJoinColumn

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

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

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