public interface Condition extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CONSTRAINT
The default value indicating if this condition is a constraint.
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static Condition[] |
NO_CONDITIONS
An empty array of conditions.
|
static TypeResolver<Condition> |
RESOLVER
The resolver of a
Condition . |
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 |
---|---|
Permission |
getParent(Repository.UnitOfWork transaction) |
boolean |
isConstraint(Repository.UnitOfWork transaction) |
void |
setConstraint(Repository.UnitOfWork transaction,
boolean newConstraint) |
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_CONSTRAINT
static final Condition[] NO_CONDITIONS
static final TypeResolver<Condition> RESOLVER
Condition
.Permission getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
boolean isConstraint(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 this condition is a constraintKException
- if an error occursDEFAULT_CONSTRAINT
void setConstraint(Repository.UnitOfWork transaction, boolean newConstraint) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newConstraint
- the new value for the constraint
propertyKException
- if an error occursDEFAULT_CONSTRAINT
Copyright © 2013–2019. All rights reserved.