public class SqlCompositionImpl extends RelationalObjectImpl implements SqlComposition
RelationalObject.Filter
LOGGER, VALIDATE_INITIAL_STATE
index, path
IDENTIFIER, NO_SQL_COMPOSITIONS, RESOLVER, TYPE_ID
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
AMPERSAND, AT, BR, CLASS, CLOSE_ANGLE_BRACKET, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PRE_CMT, CLOSE_PRE_TAG, CLOSE_SQUARE_BRACKET, COLON, COMMA, CONNECTION_SUFFIX, CURRENT_FOLDER_SYMBOL, DDL, DEFAULT_LOCAL_WORKSPACE_NAME, DIVIDE, DOLLAR_SIGN, DOT, DOT_CHAR, DOT_DOT, DOT_KOMODO, DOUBLE_BACK_SLASH, DRIVE_SEPARATOR, EMPTY_ARRAY, EMPTY_STRING, ENUM, EQUALS, FILE_EXTENSION_SEPARATOR, FILE_NAME_WILDCARD, FINAL, FORWARD_SLASH, HASH, HYPHEN, INTERFACE, JAR, JAVA, JAVA_IO_TMPDIR, JBOSS_SERVER_TMP_DIR, KOMODO, LINE_SEPARATOR, LINE_SEPARATOR_PROPERTY_NAME, LOG, MINUS, MULTIPLY, NBSP, NEW_LINE, OPEN_ANGLE_BRACKET, OPEN_BRACE, OPEN_BRACKET, OPEN_PRE_CMT, OPEN_PRE_TAG, OPEN_SQUARE_BRACKET, PARENT_FOLDER_SYMBOL, PERCENT, PIPE, PLUS, PREFIX_PATTERN, PRIVATE, PUBLIC, QUESTION_MARK, QUOTE_MARK, SEMI_COLON, SERVICE_VDB_SUFFIX, SERVICE_VDB_VIEW_MODEL, SERVICE_VDB_VIEW_SUFFIX, SOURCES, SPACE, SPEECH_MARK, SRC, STAR, STATIC, TAB, TARGET, UNDERSCORE, UNDERSCORE_CHAR, VDB_DEPLOYMENT_SUFFIX, VDB_PREFIX, XML, XML_SUFFIX, ZIP, ZIP_SUFFIX
Constructor and Description |
---|
SqlCompositionImpl(Repository.UnitOfWork uow,
Repository repository,
String path) |
getChild, getChild, getChildren, getChildrenOfType, getDescriptor, getDescriptors, getFilters, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyNames, hasChild, hasChild, hasChildren, hasDescriptor, hasProperty, isChildRestricted, removeDescriptor, resolveType, setFilters, setPrimaryType, toString, validateInitialState
accept, addChild, addDescriptor, equals, getAbsolutePath, getAllDescriptors, getIndex, getName, getObjectFactory, getObjectProperty, getPrimaryType, getPropertyFactory, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getRepository, handleError, hashCode, hasProperties, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, print, provision, remove, removeChild, rename, setObjectProperty, setProperty, validatePropertyValue, validateType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
public SqlCompositionImpl(Repository.UnitOfWork uow, Repository repository, String path) throws KException
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)repository
- the repository where the relational object exists (cannot be null
)path
- the path (cannot be empty)KException
- if an error occurs or if node at specified path is not a modelpublic KomodoType getTypeIdentifier(Repository.UnitOfWork uow)
getTypeIdentifier
in interface KomodoObject
getTypeIdentifier
in class ObjectImpl
public ViewDefinition getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
getParent
in class RelationalObjectImpl
KException
RelationalObjectImpl.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
public int getTypeId()
getTypeId
in interface KomodoObject
getTypeId
in class ObjectImpl
KomodoObject.getTypeId()
public KomodoType[] getChildTypes()
getChildTypes
in interface KomodoObject
getChildTypes
in class ObjectImpl
ObjectImpl.getChildTypes()
public void setDescription(Repository.UnitOfWork transaction, String description) throws KException
setDescription
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getDescription(Repository.UnitOfWork transaction) throws KException
getDescription
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)description
propertyKException
- if an error occurspublic void setLeftSourcePath(Repository.UnitOfWork transaction, String leftSourcePath) throws KException
setLeftSourcePath
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getLeftSourcePath(Repository.UnitOfWork transaction) throws KException
getLeftSourcePath
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)leftSourcePath
propertyKException
- if an error occurspublic void setRightSourcePath(Repository.UnitOfWork transaction, String rightSourcePath) throws KException
setRightSourcePath
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getRightSourcePath(Repository.UnitOfWork transaction) throws KException
getRightSourcePath
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)rightSourcePath
propertyKException
- if an error occurspublic void setType(Repository.UnitOfWork transaction, String type) throws KException
setType
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getType(Repository.UnitOfWork transaction) throws KException
getType
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)type
propertyKException
- if an error occurspublic void setOperator(Repository.UnitOfWork transaction, String operator) throws KException
setOperator
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getOperator(Repository.UnitOfWork transaction) throws KException
getOperator
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)operator
propertyKException
- if an error occurspublic void setLeftCriteriaColumn(Repository.UnitOfWork transaction, String leftCriteriaColumn) throws KException
setLeftCriteriaColumn
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getLeftCriteriaColumn(Repository.UnitOfWork transaction) throws KException
getLeftCriteriaColumn
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)leftCriteriaColumn
propertyKException
- if an error occurspublic void setRightCriteriaColumn(Repository.UnitOfWork transaction, String rightCriteriaColumn) throws KException
setRightCriteriaColumn
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occurspublic String getRightCriteriaColumn(Repository.UnitOfWork transaction) throws KException
getRightCriteriaColumn
in interface SqlComposition
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)rightCriteriaColumn
propertyKException
- if an error occursCopyright © 2013–2019. All rights reserved.