public interface VdbImport extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_IMPORT_DATA_POLICIES
The default value indicating if the data policies should be imported.
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static VdbImport[] |
NO_IMPORTS
An empty array of VDB imports.
|
static TypeResolver<VdbImport> |
RESOLVER
The resolver of a
VdbImport . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
Vdb |
getParent(Repository.UnitOfWork transaction) |
int |
getVersion(Repository.UnitOfWork transaction) |
boolean |
isImportDataPolicies(Repository.UnitOfWork transaction) |
void |
setImportDataPolicies(Repository.UnitOfWork transaction,
boolean newImportDataPolicies) |
void |
setVersion(Repository.UnitOfWork transaction,
int newVersion) |
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final boolean DEFAULT_IMPORT_DATA_POLICIES
static final VdbImport[] NO_IMPORTS
static final TypeResolver<VdbImport> RESOLVER
VdbImport
.Vdb getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
int getVersion(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)version
propertyKException
- if an error occursVdb.DEFAULT_VERSION
boolean isImportDataPolicies(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if data policies should be importedKException
- if an error occursDEFAULT_IMPORT_DATA_POLICIES
void setImportDataPolicies(Repository.UnitOfWork transaction, boolean newImportDataPolicies) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newImportDataPolicies
- the new value for the import data policies
propertyKException
- if an error occursDEFAULT_IMPORT_DATA_POLICIES
void setVersion(Repository.UnitOfWork transaction, int newVersion) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newVersion
- the new value of the version
propertyKException
- if an error occursVdb.DEFAULT_VERSION
Copyright © 2013–2019. All rights reserved.