@Test public void shouldNotHaveAsClauseStatementPropertyAfterConstruction() throws Exception { assertThat( this.procedure.getAsClauseStatement( getTransaction() ), is( nullValue() ) ); assertThat( this.procedure.hasProperty( getTransaction(), TeiidDdlLexicon.CreateProcedure.STATEMENT ), is( false ) ); }
@Override public String getAsClauseStatement( final UnitOfWork uow ) throws KException { return getObjectProperty( uow, PropertyValueType.STRING, "getAsClauseStatement", CreateProcedure.STATEMENT ); }
VirtualProcedureImpl extends AbstractProcedureImpl implements VirtualProcedure { @Override public String getAsClauseStatement( final UnitOfWork uow ) throws KException { return getObjectProperty( uow, PropertyValueType.STRING, "getAsClauseStatement", CreateProcedure.STATEMENT ); } }
VirtualProcedureImpl extends AbstractProcedureImpl implements VirtualProcedure { @Override public String getAsClauseStatement( final UnitOfWork uow ) throws KException { return getObjectProperty( uow, PropertyValueType.STRING, "getAsClauseStatement", CreateProcedure.STATEMENT ); } VirtualProcedureImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); }
VirtualProcedureImpl extends AbstractProcedureImpl implements VirtualProcedure { @Override public String getAsClauseStatement( final UnitOfWork uow ) throws KException { return getObjectProperty( uow, PropertyValueType.STRING, "getAsClauseStatement", CreateProcedure.STATEMENT ); } VirtualProcedureImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); @Override String getAsClauseStatement( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork transaction ); @Override Model getParent( final UnitOfWork transaction ); @Override void setAsClauseStatement( final UnitOfWork uow,
                                      final String newStatement ); }
VirtualProcedureImpl extends AbstractProcedureImpl implements VirtualProcedure { @Override public String getAsClauseStatement( final UnitOfWork uow ) throws KException { return getObjectProperty( uow, PropertyValueType.STRING, "getAsClauseStatement", CreateProcedure.STATEMENT ); } VirtualProcedureImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); @Override String getAsClauseStatement( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork transaction ); @Override Model getParent( final UnitOfWork transaction ); @Override void setAsClauseStatement( final UnitOfWork uow,
                                      final String newStatement );  }