@Test( expected = IllegalArgumentException.class ) public void shouldNotBeAbleToSetEmptyType() throws Exception { this.translator.setType( getTransaction(), StringConstants.EMPTY_STRING ); }
@Override public void setType( final UnitOfWork uow, final String newType ) throws KException { ArgCheck.isNotEmpty(newType, "newType"); setObjectProperty(uow, "setType", VdbLexicon.Translator.TYPE, newType); }
TranslatorImpl extends RelationalChildRestrictedObject implements Translator { @Override public void setType( final UnitOfWork uow, final String newType ) throws KException { ArgCheck.isNotEmpty(newType, "newType"); setObjectProperty(uow, "setType", VdbLexicon.Translator.TYPE, newType); } }
TranslatorImpl extends RelationalChildRestrictedObject implements Translator { @Override public void setType( final UnitOfWork uow, final String newType ) throws KException { ArgCheck.isNotEmpty(newType, "newType"); setObjectProperty(uow, "setType", VdbLexicon.Translator.TYPE, newType); } TranslatorImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); }
TranslatorImpl extends RelationalChildRestrictedObject implements Translator { @Override public void setType( final UnitOfWork uow, final String newType ) throws KException { ArgCheck.isNotEmpty(newType, "newType"); setObjectProperty(uow, "setType", VdbLexicon.Translator.TYPE, newType); } TranslatorImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override String getDescription( final UnitOfWork uow ); @Override KomodoObject getParent( final UnitOfWork transaction ); @Override String getType( final UnitOfWork uow ); @Override int getTypeId(); @Override void setDescription( final UnitOfWork uow,
                                final String newDescription ); @Override void setType( final UnitOfWork uow,
                         final String newType ); }
TranslatorImpl extends RelationalChildRestrictedObject implements Translator { @Override public void setType( final UnitOfWork uow, final String newType ) throws KException { ArgCheck.isNotEmpty(newType, "newType"); setObjectProperty(uow, "setType", VdbLexicon.Translator.TYPE, newType); } TranslatorImpl( final UnitOfWork uow,
                           final Repository repository,
                           final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override String getDescription( final UnitOfWork uow ); @Override KomodoObject getParent( final UnitOfWork transaction ); @Override String getType( final UnitOfWork uow ); @Override int getTypeId(); @Override void setDescription( final UnitOfWork uow,
                                final String newDescription ); @Override void setType( final UnitOfWork uow,
                         final String newType );  }