com.im.commons.db 6.3.3

com.im.commons.db.ddl
Class DBForeignKeyInfo

java.lang.Object
  extended by com.im.commons.db.ddl.DBForeignKeyInfo
All Implemented Interfaces:
AbstractInfo, Serializable

public class DBForeignKeyInfo
extends Object
implements AbstractInfo, Serializable

Database info class for a foreign key definition.

See Also:
Serialized Form

Constructor Summary
DBForeignKeyInfo()
          Creates a new instance of DBForeignKeyInfo.
 
Method Summary
 void addToModel(String parentID, DBItemsCache dbItemsCache)
           
 boolean equals(Object obj)
           
 String getDeleteAction()
           
 String[] getFkColumnNames()
           
 String[] getFKColumnNames()
           
 String getFkName()
           
 String getFKName()
           
 String getFkSchemaName()
           
 String getFkTableName()
          Getter for property fkTableName.
 String[] getPkColumnNames()
           
 String[] getPKColumnNames()
           
 String getPkName()
           
 String getPKName()
           
 String getPkSchemaName()
           
 String getPkTableName()
          Getter for property pkTableName.
 String getUpdateAction()
           
 int hashCode()
           
 void removeFromModel(String parentID, DBItemsCache cache)
           
 void setDeleteAction(String deleteAction)
           
 void setFkColumnNames(String[] fkColumnNames)
           
 void setFKColumnNames(String[] names)
           
 void setFkName(String fkName)
           
 void setFKName(String name)
           
 void setFkSchemaName(String fkSchemaName)
           
 void setFkTableName(String fkTableName)
          Setter for property fkTableName.
 void setPkColumnNames(String[] pkColumnNames)
           
 void setPKColumnNames(String[] names)
           
 void setPkName(String pkName)
           
 void setPKName(String name)
           
 void setPkSchemaName(String pkSchemaName)
           
 void setPkTableName(String pkTableName)
          Setter for property pkTableName.
 void setUpdateAction(String updateAction)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBForeignKeyInfo

public DBForeignKeyInfo()
Creates a new instance of DBForeignKeyInfo.

Method Detail

setPkSchemaName

public void setPkSchemaName(String pkSchemaName)

getPkSchemaName

public String getPkSchemaName()

setFkSchemaName

public void setFkSchemaName(String fkSchemaName)

getFkSchemaName

public String getFkSchemaName()

getPkTableName

public String getPkTableName()
Getter for property pkTableName.

Returns:
Value of property pkTableName.

setPkTableName

public void setPkTableName(String pkTableName)
Setter for property pkTableName.

Parameters:
pkTableName - New value of property pkTableName.

getFkTableName

public String getFkTableName()
Getter for property fkTableName.

Returns:
Value of property fkTableName.

setFkTableName

public void setFkTableName(String fkTableName)
Setter for property fkTableName.

Parameters:
fkTableName - New value of property fkTableName.

getFKColumnNames

public String[] getFKColumnNames()

setFKColumnNames

public void setFKColumnNames(String[] names)

getPKColumnNames

public String[] getPKColumnNames()

setPKColumnNames

public void setPKColumnNames(String[] names)

getPKName

public String getPKName()

setPKName

public void setPKName(String name)

getFKName

public String getFKName()

setFKName

public void setFKName(String name)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getPkName

public String getPkName()

setPkName

public void setPkName(String pkName)

getFkName

public String getFkName()

setFkName

public void setFkName(String fkName)

getFkColumnNames

public String[] getFkColumnNames()

setFkColumnNames

public void setFkColumnNames(String[] fkColumnNames)

getPkColumnNames

public String[] getPkColumnNames()

setPkColumnNames

public void setPkColumnNames(String[] pkColumnNames)

getUpdateAction

public String getUpdateAction()

setUpdateAction

public void setUpdateAction(String updateAction)

getDeleteAction

public String getDeleteAction()

setDeleteAction

public void setDeleteAction(String deleteAction)

addToModel

public void addToModel(String parentID,
                       DBItemsCache dbItemsCache)
Specified by:
addToModel in interface AbstractInfo

removeFromModel

public void removeFromModel(String parentID,
                            DBItemsCache cache)
Specified by:
removeFromModel in interface AbstractInfo

com.im.commons.db 6.3.3