public final class DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet
DataTypeResultSet.Type
RelationalObject.Filter
LOGGER, VALIDATE_INITIAL_STATE
index, path
IDENTIFIER, RESOLVER, TYPE_ID
NO_COLUMNS
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 |
---|
DataTypeResultSetImpl(Repository.UnitOfWork uow,
Repository repository,
String workspacePath) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString(Repository.UnitOfWork transaction) |
AbstractProcedure |
getParent(Repository.UnitOfWork transaction) |
DataTypeResultSet.Type |
getType(Repository.UnitOfWork uow) |
KomodoType |
getTypeIdentifier(Repository.UnitOfWork uow) |
boolean |
isArray(Repository.UnitOfWork uow) |
void |
rename(Repository.UnitOfWork transaction,
String newName)
Rename is not allowed!!
|
void |
setArray(Repository.UnitOfWork uow,
boolean newArrayIndicator) |
void |
setDatatypeName(Repository.UnitOfWork uow,
String newTypeName) |
void |
setType(Repository.UnitOfWork uow,
DataTypeResultSet.Type newType) |
getCustomOptions, getDatatypeName, getDefaultValue, getDescription, getLength, getNameInSource, getNullable, getPrecision, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyNames, getScale, getStandardOptions, getStatementOptionNames, getStatementOptions, getUuid, hasProperties, hasProperty, isCustomOption, isStandardOption, removeStatementOption, setDefaultValue, setDescription, setLength, setNameInSource, setNullable, setPrecision, setProperty, setScale, setStatementOption, setUuid
addChild, getChildren, getChildrenOfType, getChildTypes, hasChild, hasChildren, isChildRestricted
getChild, getChild, getDescriptor, getDescriptors, getFilters, getPropertyDescriptors, hasChild, hasDescriptor, removeDescriptor, resolveType, setFilters, setPrimaryType, toString, validateInitialState
accept, addDescriptor, equals, getAbsolutePath, getAllDescriptors, getIndex, getName, getObjectFactory, getObjectProperty, getPropertyFactory, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getRepository, getTypeId, handleError, hashCode, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, print, provision, remove, removeChild, setObjectProperty, validatePropertyValue, validateType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDatatypeName, getDefaultValue, getDescription, getLength, getNameInSource, getNullable, getPrecision, getScale, getUuid, setDefaultValue, setDescription, setLength, setNameInSource, setNullable, setPrecision, setScale, setUuid
getCustomOptions, getStandardOptions, getStatementOptionNames, getStatementOptions, isCustomOption, isStandardOption, removeStatementOption, setStatementOption
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, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
public DataTypeResultSetImpl(Repository.UnitOfWork uow, Repository repository, String workspacePath) 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
)workspacePath
- the workspace relative path (cannot be empty)KException
- if an error occurs or if node at specified path is not a procedure result setpublic String getDisplayString(Repository.UnitOfWork transaction) throws KException
getDisplayString
in interface DataTypeResultSet
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occursDataTypeResultSet.getDisplayString(org.komodo.spi.repository.Repository.UnitOfWork)
public DataTypeResultSet.Type getType(Repository.UnitOfWork uow) throws KException
getType
in interface DataTypeResultSet
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)data type
property (never empty)KException
- if an error occursDataTypeResultSet.getType(org.komodo.spi.repository.Repository.UnitOfWork)
public KomodoType getTypeIdentifier(Repository.UnitOfWork uow)
getTypeIdentifier
in interface KomodoObject
getTypeIdentifier
in class ResultSetColumnImpl
KomodoObject.getTypeIdentifier(org.komodo.spi.repository.Repository.UnitOfWork)
public AbstractProcedure getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface DataTypeResultSet
getParent
in interface KNode
getParent
in class RelationalObjectImpl
KException
RelationalObjectImpl.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
public boolean isArray(Repository.UnitOfWork uow) throws KException
isArray
in interface DataTypeResultSet
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if an array typeKException
- if an error occursDataTypeResultSet.isArray(org.komodo.spi.repository.Repository.UnitOfWork)
public final void rename(Repository.UnitOfWork transaction, String newName) throws UnsupportedOperationException
Rename is not allowed!!
rename
in interface DataTypeResultSet
rename
in interface KomodoObject
rename
in class ObjectImpl
UnsupportedOperationException
- if calledObjectImpl.rename(org.komodo.spi.repository.Repository.UnitOfWork, java.lang.String)
public void setArray(Repository.UnitOfWork uow, boolean newArrayIndicator) throws KException
setArray
in interface DataTypeResultSet
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newArrayIndicator
- true
if an array typeKException
- if an error occursDataTypeResultSet.setArray(org.komodo.spi.repository.Repository.UnitOfWork, boolean)
public void setDatatypeName(Repository.UnitOfWork uow, String newTypeName) throws KException
setDatatypeName
in interface ResultSetColumn
setDatatypeName
in class ResultSetColumnImpl
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newTypeName
- the new value of the datatype name
property (can be empty)KException
- if an error occursResultSetColumnImpl.setDatatypeName(org.komodo.spi.repository.Repository.UnitOfWork,
java.lang.String)
public void setType(Repository.UnitOfWork uow, DataTypeResultSet.Type newType) throws KException
setType
in interface DataTypeResultSet
uow
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newType
- the new value for the data type
property (can be null
when setting to default)KException
- if an error occursDataTypeResultSet.setType(org.komodo.spi.repository.Repository.UnitOfWork,
org.komodo.relational.model.DataTypeResultSet.Type)
Copyright © 2013–2019. All rights reserved.