org.kuali.common.impex.model
Class ForeignKey

java.lang.Object
  extended by org.kuali.common.impex.model.ForeignKey
All Implemented Interfaces:
NamedElement

public class ForeignKey
extends Object
implements NamedElement


Constructor Summary
ForeignKey()
           
ForeignKey(ForeignKey fk)
          This is a copy constructor.
ForeignKey(String name, String localTableName, String foreignTableName)
           
 
Method Summary
 List<String> getForeignColumnNames()
           
 String getForeignTableName()
           
 List<String> getLocalColumnNames()
           
 String getLocalTableName()
           
 String getName()
           
 ForeignKeyConstraintType getOnDelete()
           
 ForeignKeyConstraintType getOnUpdate()
           
 void setForeignColumnNames(List<String> foreignColumnNames)
           
 void setForeignTableName(String foreignTableName)
           
 void setLocalColumnNames(List<String> localColumnNames)
           
 void setLocalTableName(String localTableName)
           
 void setName(String name)
           
 void setOnDelete(ForeignKeyConstraintType onDelete)
           
 void setOnUpdate(ForeignKeyConstraintType onUpdate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKey

public ForeignKey(ForeignKey fk)
This is a copy constructor. It must create a perfect, deep, copy of this object


ForeignKey

public ForeignKey()

ForeignKey

public ForeignKey(String name,
                  String localTableName,
                  String foreignTableName)
Method Detail

getForeignTableName

public String getForeignTableName()

setForeignTableName

public void setForeignTableName(String foreignTableName)

getLocalTableName

public String getLocalTableName()

setLocalTableName

public void setLocalTableName(String localTableName)

getName

public String getName()
Specified by:
getName in interface NamedElement

setName

public void setName(String name)

getForeignColumnNames

public List<String> getForeignColumnNames()

setForeignColumnNames

public void setForeignColumnNames(List<String> foreignColumnNames)

getLocalColumnNames

public List<String> getLocalColumnNames()

setLocalColumnNames

public void setLocalColumnNames(List<String> localColumnNames)

getOnDelete

public ForeignKeyConstraintType getOnDelete()

getOnUpdate

public ForeignKeyConstraintType getOnUpdate()

setOnDelete

public void setOnDelete(ForeignKeyConstraintType onDelete)

setOnUpdate

public void setOnUpdate(ForeignKeyConstraintType onUpdate)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.