org.sql.generation.implementation.grammar.definition.table
Class ForeignKeyConstraintImpl
java.lang.Object
org.atp.spi.TypeableImpl<TableConstraint,ForeignKeyConstraint>
org.sql.generation.implementation.grammar.definition.table.ForeignKeyConstraintImpl
- All Implemented Interfaces:
- org.atp.api.Typeable<TableConstraint>, ForeignKeyConstraint, TableConstraint
public class ForeignKeyConstraintImpl
- extends org.atp.spi.TypeableImpl<TableConstraint,ForeignKeyConstraint>
- implements ForeignKeyConstraint
- Author:
- Stanislav Muhametsin
|
Constructor Summary |
protected |
ForeignKeyConstraintImpl(java.lang.Class<? extends ForeignKeyConstraint> realImplementingType,
ColumnNameList sourceColumns,
TableName targetTableName,
ColumnNameList targetColumns,
MatchType matchType,
ReferentialAction onDelete,
ReferentialAction onUpdate)
|
|
ForeignKeyConstraintImpl(ColumnNameList sourceColumns,
TableName targetTableName,
ColumnNameList targetColumns,
MatchType matchType,
ReferentialAction onDelete,
ReferentialAction onUpdate)
|
| Methods inherited from class org.atp.spi.TypeableImpl |
bothNullOrEquals, equals, getImplementedType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.atp.api.Typeable |
getImplementedType |
ForeignKeyConstraintImpl
public ForeignKeyConstraintImpl(ColumnNameList sourceColumns,
TableName targetTableName,
ColumnNameList targetColumns,
MatchType matchType,
ReferentialAction onDelete,
ReferentialAction onUpdate)
ForeignKeyConstraintImpl
protected ForeignKeyConstraintImpl(java.lang.Class<? extends ForeignKeyConstraint> realImplementingType,
ColumnNameList sourceColumns,
TableName targetTableName,
ColumnNameList targetColumns,
MatchType matchType,
ReferentialAction onDelete,
ReferentialAction onUpdate)
doesEqual
protected boolean doesEqual(ForeignKeyConstraint another)
- Specified by:
doesEqual in class org.atp.spi.TypeableImpl<TableConstraint,ForeignKeyConstraint>
getMatchType
public MatchType getMatchType()
- Specified by:
getMatchType in interface ForeignKeyConstraint
getOnDelete
public ReferentialAction getOnDelete()
- Specified by:
getOnDelete in interface ForeignKeyConstraint
getOnUpdate
public ReferentialAction getOnUpdate()
- Specified by:
getOnUpdate in interface ForeignKeyConstraint
getSourceColumns
public ColumnNameList getSourceColumns()
- Specified by:
getSourceColumns in interface ForeignKeyConstraint
getTargetColumns
public ColumnNameList getTargetColumns()
- Specified by:
getTargetColumns in interface ForeignKeyConstraint
getTargetTableName
public TableName getTargetTableName()
- Specified by:
getTargetTableName in interface ForeignKeyConstraint
Copyright © 2010. All Rights Reserved.