VdbImportImpl extends RelationalChildRestrictedObject implements VdbImport { @Override public boolean isImportDataPolicies( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.BOOLEAN, "isImportDataPolicies", VdbLexicon.ImportVdb.IMPORT_DATA_POLICIES); } VdbImportImpl( final UnitOfWork uow,
                          final Repository repository,
                          final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override Vdb getParent( final UnitOfWork transaction ); @Override int getTypeId(); @Override int getVersion( final UnitOfWork uow ); @Override boolean isImportDataPolicies( final UnitOfWork uow ); @Override void setImportDataPolicies( final UnitOfWork uow,
                                       final boolean newImportDataPolicies ); @Override void setVersion( final UnitOfWork uow,
                            final int newVersion );  }
@Test public void shouldHaveDefaultImportDataPoliciesAfterConstruction() throws Exception { assertThat( this.vdbImport.isImportDataPolicies( getTransaction() ), is( VdbImport.DEFAULT_IMPORT_DATA_POLICIES ) ); }
@Test public void shouldHaveDefaultImportDataPoliciesValueAfterConstruction() throws Exception { assertThat( this.vdbImport.isImportDataPolicies( getTransaction() ), is( VdbImport.DEFAULT_IMPORT_DATA_POLICIES ) ); }