@Test( expected = KException.class ) public void shouldFailSettingEmptyDescriptionWhenNeverAdded() throws Exception { this.procedure.setDescription( getTransaction(), StringConstants.EMPTY_STRING ); }
@Override public void setDescription( final UnitOfWork transaction, final String newDescription ) throws KException { setStatementOption( transaction, StandardOption.ANNOTATION.name(), newDescription ); }
AbstractProcedureImpl extends RelationalObjectImpl implements AbstractProcedure { @Override public void setDescription( final UnitOfWork transaction, final String newDescription ) throws KException { setStatementOption( transaction, StandardOption.ANNOTATION.name(), newDescription ); } }
AbstractProcedureImpl extends RelationalObjectImpl implements AbstractProcedure { @Override public void setDescription( final UnitOfWork transaction, final String newDescription ) throws KException { setStatementOption( transaction, StandardOption.ANNOTATION.name(), newDescription ); } protected  AbstractProcedureImpl( final UnitOfWork uow,
                                     final Repository repository,
                                     final String workspacePath ); }
AbstractProcedureImpl extends RelationalObjectImpl implements AbstractProcedure { @Override public void setDescription( final UnitOfWork transaction, final String newDescription ) throws KException { setStatementOption( transaction, StandardOption.ANNOTATION.name(), newDescription ); } protected  AbstractProcedureImpl( final UnitOfWork uow,
                                     final Repository repository,
                                     final String workspacePath ); @Override Parameter addParameter( final UnitOfWork transaction,
                                   final String parameterName ); @Override KomodoObject[] getChildren( final UnitOfWork transaction,
                                       final String... namePatterns ); @Override KomodoType[] getChildTypes(); @Override StatementOption[] getCustomOptions( final UnitOfWork transaction ); @Override String getDescription( final UnitOfWork transaction ); @Override String getNameInSource( final UnitOfWork transaction ); @Override Parameter[] getParameters( final UnitOfWork transaction,
                                      final String... namePatterns ); @Override Model getParent( final UnitOfWork transaction ); @Override Descriptor getPrimaryType( final UnitOfWork transaction ); @Override Property getProperty( final UnitOfWork transaction,
                                 final String name ); @Override PropertyDescriptor getPropertyDescriptor( final UnitOfWork transaction,
                                                     final String propName ); @Override String[] getPropertyNames( final UnitOfWork transaction ); @Override SchemaElementType getSchemaElementType( final UnitOfWork uow ); @Override Map< String, String > getStandardOptions(); @Override String[] getStatementOptionNames( final UnitOfWork transaction ); @Override StatementOption[] getStatementOptions( final UnitOfWork transaction ); @Override int getUpdateCount( final UnitOfWork transaction ); @Override String getUuid( final UnitOfWork transaction ); @Override boolean hasProperties( final UnitOfWork transaction ); @Override boolean hasProperty( final UnitOfWork transaction,
                                final String name ); @Override boolean isCustomOption( final UnitOfWork transaction,
                                   final String name ); @Override boolean isStandardOption( final String name ); @Override void removeParameter( final UnitOfWork transaction,
                                 final String parameterName ); @Override void removeStatementOption( final UnitOfWork transaction,
                                       final String optionToRemove ); @Override void setDescription( final UnitOfWork transaction,
                                final String newDescription ); @Override void setNameInSource( final UnitOfWork transaction,
                                 final String newNameInSource ); @Override void setProperty( final UnitOfWork transaction,
                             final String propertyName,
                             final Object... values ); @Override void setSchemaElementType( final UnitOfWork uow,
                                      final SchemaElementType newSchemaElementType ); @Override StatementOption setStatementOption( final UnitOfWork transaction,
                                               final String optionName,
                                               final String optionValue ); @Override void setUpdateCount( final UnitOfWork transaction,
                                final long newUpdateCount ); @Override void setUuid( final UnitOfWork transaction,
                         final String newUuid ); }
AbstractProcedureImpl extends RelationalObjectImpl implements AbstractProcedure { @Override public void setDescription( final UnitOfWork transaction, final String newDescription ) throws KException { setStatementOption( transaction, StandardOption.ANNOTATION.name(), newDescription ); } protected  AbstractProcedureImpl( final UnitOfWork uow,
                                     final Repository repository,
                                     final String workspacePath ); @Override Parameter addParameter( final UnitOfWork transaction,
                                   final String parameterName ); @Override KomodoObject[] getChildren( final UnitOfWork transaction,
                                       final String... namePatterns ); @Override KomodoType[] getChildTypes(); @Override StatementOption[] getCustomOptions( final UnitOfWork transaction ); @Override String getDescription( final UnitOfWork transaction ); @Override String getNameInSource( final UnitOfWork transaction ); @Override Parameter[] getParameters( final UnitOfWork transaction,
                                      final String... namePatterns ); @Override Model getParent( final UnitOfWork transaction ); @Override Descriptor getPrimaryType( final UnitOfWork transaction ); @Override Property getProperty( final UnitOfWork transaction,
                                 final String name ); @Override PropertyDescriptor getPropertyDescriptor( final UnitOfWork transaction,
                                                     final String propName ); @Override String[] getPropertyNames( final UnitOfWork transaction ); @Override SchemaElementType getSchemaElementType( final UnitOfWork uow ); @Override Map< String, String > getStandardOptions(); @Override String[] getStatementOptionNames( final UnitOfWork transaction ); @Override StatementOption[] getStatementOptions( final UnitOfWork transaction ); @Override int getUpdateCount( final UnitOfWork transaction ); @Override String getUuid( final UnitOfWork transaction ); @Override boolean hasProperties( final UnitOfWork transaction ); @Override boolean hasProperty( final UnitOfWork transaction,
                                final String name ); @Override boolean isCustomOption( final UnitOfWork transaction,
                                   final String name ); @Override boolean isStandardOption( final String name ); @Override void removeParameter( final UnitOfWork transaction,
                                 final String parameterName ); @Override void removeStatementOption( final UnitOfWork transaction,
                                       final String optionToRemove ); @Override void setDescription( final UnitOfWork transaction,
                                final String newDescription ); @Override void setNameInSource( final UnitOfWork transaction,
                                 final String newNameInSource ); @Override void setProperty( final UnitOfWork transaction,
                             final String propertyName,
                             final Object... values ); @Override void setSchemaElementType( final UnitOfWork uow,
                                      final SchemaElementType newSchemaElementType ); @Override StatementOption setStatementOption( final UnitOfWork transaction,
                                               final String optionName,
                                               final String optionValue ); @Override void setUpdateCount( final UnitOfWork transaction,
                                final long newUpdateCount ); @Override void setUuid( final UnitOfWork transaction,
                         final String newUuid );  }