@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.foreignKey.getTypeIdentifier( getTransaction() ), is(KomodoType.FOREIGN_KEY)); }
@Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return ForeignKey.IDENTIFIER; }
ForeignKeyImpl extends TableConstraintImpl implements ForeignKey { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return ForeignKey.IDENTIFIER; } }
ForeignKeyImpl extends TableConstraintImpl implements ForeignKey { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return ForeignKey.IDENTIFIER; } ForeignKeyImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); }
ForeignKeyImpl extends TableConstraintImpl implements ForeignKey { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return ForeignKey.IDENTIFIER; } ForeignKeyImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override void addReferencesColumn( final UnitOfWork transaction,
                                     final Column newReferencesColumn ); @Override ConstraintType getConstraintType(); @Override Column[] getReferencesColumns( final UnitOfWork transaction ); @Override Table getReferencesTable( final UnitOfWork transaction ); @Override int getTypeId(); @Override Table getParent( final UnitOfWork transaction ); @Override void removeReferencesColumn( final UnitOfWork transaction,
                                        final Column removeReferencesColumn ); @Override void setReferencesTable( final UnitOfWork transaction,
                                    final Table newReferencesTable ); }
ForeignKeyImpl extends TableConstraintImpl implements ForeignKey { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return ForeignKey.IDENTIFIER; } ForeignKeyImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override void addReferencesColumn( final UnitOfWork transaction,
                                     final Column newReferencesColumn ); @Override ConstraintType getConstraintType(); @Override Column[] getReferencesColumns( final UnitOfWork transaction ); @Override Table getReferencesTable( final UnitOfWork transaction ); @Override int getTypeId(); @Override Table getParent( final UnitOfWork transaction ); @Override void removeReferencesColumn( final UnitOfWork transaction,
                                        final Column removeReferencesColumn ); @Override void setReferencesTable( final UnitOfWork transaction,
                                    final Table newReferencesTable );  }