EntryImpl extends RelationalChildRestrictedObject implements Entry { @Override public void setPath( final UnitOfWork uow, final String newPath ) throws KException { ArgCheck.isNotEmpty(newPath, "newPath"); setObjectProperty(uow, "setPath", VdbLexicon.Entry.PATH, newPath); } EntryImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override String getDescription( final UnitOfWork uow ); @Override Vdb getParent( final UnitOfWork transaction ); @Override String getPath( final UnitOfWork uow ); @Override int getTypeId(); @Override void setDescription( final UnitOfWork uow,
                                final String newDescription ); @Override void setPath( final UnitOfWork uow,
                         final String newPath );  }
@Test( expected = IllegalArgumentException.class ) public void shouldNotBeAbleToSetEmptyPPath() throws Exception { this.entry.setPath( getTransaction(), StringConstants.EMPTY_STRING ); }
@Test( expected = IllegalArgumentException.class ) public void shouldNotBeAbleToSetNullPath() throws Exception { this.entry.setPath( getTransaction(), null ); }