IndexImpl extends TableConstraintImpl implements Index { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return Index.IDENTIFIER; } IndexImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override ConstraintType getConstraintType(); @Override String getExpression( final UnitOfWork uow ); @Override int getTypeId(); @Override Table getParent( final UnitOfWork transaction ); @Override void setExpression( final UnitOfWork uow,
                               final String newExpression );  }
@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.index.getTypeIdentifier( getTransaction() ), is(KomodoType.INDEX)); }