@Test public void shouldNotHaveExpressionAfterConstruction() throws Exception { assertThat( this.index.getExpression( getTransaction() ), is( nullValue() ) ); assertThat( this.index.hasProperty( getTransaction(), TeiidDdlLexicon.Constraint.EXPRESSION ), is( false ) ); }
@Override public String getExpression( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.STRING, "getExpression", Constraint.EXPRESSION); }
IndexImpl extends TableConstraintImpl implements Index { @Override public String getExpression( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.STRING, "getExpression", Constraint.EXPRESSION); } }
IndexImpl extends TableConstraintImpl implements Index { @Override public String getExpression( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.STRING, "getExpression", Constraint.EXPRESSION); } IndexImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String workspacePath ); }
IndexImpl extends TableConstraintImpl implements Index { @Override public String getExpression( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.STRING, "getExpression", Constraint.EXPRESSION); } 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 ); }
IndexImpl extends TableConstraintImpl implements Index { @Override public String getExpression( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.STRING, "getExpression", Constraint.EXPRESSION); } 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 );  }