@Test public void shouldHaveCorrectConstraintType() throws Exception { assertThat( this.accessPattern.getConstraintType(), is( TableConstraint.ConstraintType.ACCESS_PATTERN ) ); assertThat( this.accessPattern.getRawProperty( getTransaction(), TeiidDdlLexicon.Constraint.TYPE ).getStringValue( getTransaction() ), is( TableConstraint.ConstraintType.ACCESS_PATTERN.toValue() ) ); }
@Override public ConstraintType getConstraintType() { return CONSTRAINT_TYPE; }
AccessPatternImpl extends TableConstraintImpl implements AccessPattern { @Override public ConstraintType getConstraintType() { return CONSTRAINT_TYPE; } }
AccessPatternImpl extends TableConstraintImpl implements AccessPattern { @Override public ConstraintType getConstraintType() { return CONSTRAINT_TYPE; } AccessPatternImpl( final UnitOfWork uow,
                              final Repository repository,
                              final String workspacePath ); }
AccessPatternImpl extends TableConstraintImpl implements AccessPattern { @Override public ConstraintType getConstraintType() { return CONSTRAINT_TYPE; } AccessPatternImpl( final UnitOfWork uow,
                              final Repository repository,
                              final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override ConstraintType getConstraintType(); @Override int getTypeId(); @Override Table getParent(final UnitOfWork transaction); }
AccessPatternImpl extends TableConstraintImpl implements AccessPattern { @Override public ConstraintType getConstraintType() { return CONSTRAINT_TYPE; } AccessPatternImpl( final UnitOfWork uow,
                              final Repository repository,
                              final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override ConstraintType getConstraintType(); @Override int getTypeId(); @Override Table getParent(final UnitOfWork transaction);  }