Class ForeignKeyMetaDataImpl
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.meta.impl.ForeignKeyMetaDataImpl
-
- All Implemented Interfaces:
ForeignKeyMetaData
,InternalForeignKeyMetaData
,Serializable
,Comparable<ForeignKeyMetaData>
public class ForeignKeyMetaDataImpl extends Object implements InternalForeignKeyMetaData
Information about a foreign key between table columns.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForeignKeyMetaDataImpl(TableMetaData tableMetaData, String foreignKeyName, ColumnMetaData referencingColumn, ColumnMetaData referencedColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumnTuple(ColumnMetaData referencingColumn, ColumnMetaData referencedColumn)
int
compareTo(ForeignKeyMetaData that)
boolean
equals(Object obj)
String
getForeignKeyName()
List<ColumnMetaData>
getReferencedColumns()
TableMetaData
getReferencedTableMetaData()
List<ColumnMetaData>
getReferencingColumns()
TableMetaData
getReferencingTableMetaData()
TableMetaData
getTableMetaData()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ForeignKeyMetaDataImpl
public ForeignKeyMetaDataImpl(TableMetaData tableMetaData, String foreignKeyName, ColumnMetaData referencingColumn, ColumnMetaData referencedColumn)
-
-
Method Detail
-
getTableMetaData
public TableMetaData getTableMetaData()
- Specified by:
getTableMetaData
in interfaceForeignKeyMetaData
-
getForeignKeyName
public String getForeignKeyName()
- Specified by:
getForeignKeyName
in interfaceForeignKeyMetaData
-
getReferencingColumns
public List<ColumnMetaData> getReferencingColumns()
- Specified by:
getReferencingColumns
in interfaceForeignKeyMetaData
-
getReferencingTableMetaData
public TableMetaData getReferencingTableMetaData()
- Specified by:
getReferencingTableMetaData
in interfaceForeignKeyMetaData
-
getReferencedTableMetaData
public TableMetaData getReferencedTableMetaData()
- Specified by:
getReferencedTableMetaData
in interfaceForeignKeyMetaData
-
getReferencedColumns
public List<ColumnMetaData> getReferencedColumns()
- Specified by:
getReferencedColumns
in interfaceForeignKeyMetaData
-
addColumnTuple
public void addColumnTuple(ColumnMetaData referencingColumn, ColumnMetaData referencedColumn)
- Specified by:
addColumnTuple
in interfaceInternalForeignKeyMetaData
-
compareTo
public int compareTo(ForeignKeyMetaData that)
- Specified by:
compareTo
in interfaceComparable<ForeignKeyMetaData>
-
-