Package com.redwood.scheduler.api.model
Interface TableDefinitionColumn
- 
- All Superinterfaces:
- Detail,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface TableDefinitionColumn extends Detail, Readable A column definition for a user- or system-defined table.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringCOLUMN_KEYThe name of the reserved Key columnstatic StringCOLUMN_SYSTEMVALUEThe name of the only column in the standard variables tablestatic StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "TableDefinitionColumn" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<TableDefinitionColumn>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetColumnName()Get the value for ColumnName.StringgetComment()Get the value for Comment.LonggetDataLength()Get the value for DataLength.ParameterTypegetDataType()Get the value for DataType.StringgetDefaultValue()Get the value for DefaultValue.StringgetDescription()Get the value for Description.LonggetDisplayOrder()Get the value for DisplayOrder.StringgetSearchColumnName()Get the value for SearchColumnName.StringgetSimpleConstraintData()Get the value for SimpleConstraintData.StringgetSimpleConstraintMessage()Get the value for SimpleConstraintMessage.SimpleConstraintSortgetSimpleConstraintSort()Get the value for SimpleConstraintSort.SimpleConstraintTypegetSimpleConstraintType()Get the value for SimpleConstraintType.TableDefinitiongetTableDefinition()Get the TableDefinition.booleanisNullable()Get the value for Nullable.booleanisPassword()Get the value for Password.booleanisSimpleConstraintOptional()Get the value for SimpleConstraintOptional.voidsetColumnName(String newColumnName)Set the value for ColumnName.voidsetComment(String newComment)Set the value for Comment.voidsetDataLength(Long newDataLength)Set the value for DataLength.voidsetDataType(ParameterType newDataType)Set the value for DataType.voidsetDefaultValue(String newDefaultValue)Set the value for DefaultValue.voidsetDescription(String newDescription)Set the value for Description.voidsetDisplayOrder(Long newDisplayOrder)Set the value for DisplayOrder.voidsetNullable(boolean newNullable)Set the value for Nullable.voidsetPassword(boolean newPassword)Set the value for Password.voidsetSearchColumnName(String newSearchColumnName)Set the value for SearchColumnName.voidsetSimpleConstraintData(String newSimpleConstraintData)Set the value for SimpleConstraintData.voidsetSimpleConstraintMessage(String newSimpleConstraintMessage)Set the value for SimpleConstraintMessage.voidsetSimpleConstraintOptional(boolean newSimpleConstraintOptional)Set the value for SimpleConstraintOptional.voidsetSimpleConstraintSort(SimpleConstraintSort newSimpleConstraintSort)Set the value for SimpleConstraintSort.voidsetSimpleConstraintType(SimpleConstraintType newSimpleConstraintType)Set the value for SimpleConstraintType.- 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "TableDefinitionColumn" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<TableDefinitionColumn> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
COLUMN_KEYstatic final String COLUMN_KEY The name of the reserved Key column- See Also:
- Constant Field Values
 
 - 
COLUMN_SYSTEMVALUEstatic final String COLUMN_SYSTEMVALUE The name of the only column in the standard variables table- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDisplayOrderLong getDisplayOrder() Get the value for DisplayOrder. (Display order) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getColumnNameString getColumnName() Get the value for ColumnName. (The column name.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSearchColumnNameString getSearchColumnName() Get the value for SearchColumnName. (The column search name.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
isNullableboolean isNullable() Get the value for Nullable. (Is the parameter optional?)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDataTypeParameterType getDataType() Get the value for DataType. (The datatype of the column) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getCommentString getComment() Get the value for Comment. (Optional comment)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDescriptionString getDescription() Get the value for Description. (Optional description)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDefaultValueString getDefaultValue() Get the value for DefaultValue. (Optional default value, used to initialize columnValue when creating a new TableValue)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
isPasswordboolean isPassword() Get the value for Password. (This column is a Password field and values for this column will not be displayed)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDataLengthLong getDataLength() Get the value for DataLength. (The maximum length that a table value of a string column can be. If this value is null then the length will not be checked. This value is ignored for non-string columns.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSimpleConstraintTypeSimpleConstraintType getSimpleConstraintType() Get the value for SimpleConstraintType. (The type of simple constraint to apply.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSimpleConstraintDataString getSimpleConstraintData() Get the value for SimpleConstraintData. (The data for the simple constraint.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSimpleConstraintMessageString getSimpleConstraintMessage() Get the value for SimpleConstraintMessage. (The message to display if the simple constraint fails to validate.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
isSimpleConstraintOptionalboolean isSimpleConstraintOptional() Get the value for SimpleConstraintOptional. (Is the constraint optional?)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSimpleConstraintSortSimpleConstraintSort getSimpleConstraintSort() Get the value for SimpleConstraintSort. (Sort order of constraint.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDisplayOrdervoid setDisplayOrder(Long newDisplayOrder) Set the value for DisplayOrder. (Display order) This value is mandatory.- Parameters:
- newDisplayOrder- the new value for DisplayOrder. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setColumnNamevoid setColumnName(String newColumnName) Set the value for ColumnName. (The column name.) This value is mandatory.- Parameters:
- newColumnName- the new value for ColumnName. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSearchColumnNamevoid setSearchColumnName(String newSearchColumnName) Set the value for SearchColumnName. (The column search name.) This value is mandatory.- Parameters:
- newSearchColumnName- the new value for SearchColumnName. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setNullablevoid setNullable(boolean newNullable) Set the value for Nullable. (Is the parameter optional?)- Parameters:
- newNullable- the new value for Nullable.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDataTypevoid setDataType(ParameterType newDataType) Set the value for DataType. (The datatype of the column) This value is mandatory.- Parameters:
- newDataType- the new value for DataType. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setCommentvoid setComment(String newComment) Set the value for Comment. (Optional comment) This value is optional.- Parameters:
- newComment- the new value for Comment.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDescriptionvoid setDescription(String newDescription) Set the value for Description. (Optional description) This value is optional.- Parameters:
- newDescription- the new value for Description.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDefaultValuevoid setDefaultValue(String newDefaultValue) Set the value for DefaultValue. (Optional default value, used to initialize columnValue when creating a new TableValue) This value is optional.- Parameters:
- newDefaultValue- the new value for DefaultValue.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setPasswordvoid setPassword(boolean newPassword) Set the value for Password. (This column is a Password field and values for this column will not be displayed)- Parameters:
- newPassword- the new value for Password.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDataLengthvoid setDataLength(Long newDataLength) Set the value for DataLength. (The maximum length that a table value of a string column can be. If this value is null then the length will not be checked. This value is ignored for non-string columns.) This value is optional.- Parameters:
- newDataLength- the new value for DataLength.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSimpleConstraintTypevoid setSimpleConstraintType(SimpleConstraintType newSimpleConstraintType) Set the value for SimpleConstraintType. (The type of simple constraint to apply.) This value is mandatory.- Parameters:
- newSimpleConstraintType- the new value for SimpleConstraintType. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSimpleConstraintDatavoid setSimpleConstraintData(String newSimpleConstraintData) Set the value for SimpleConstraintData. (The data for the simple constraint.) This value is optional.- Parameters:
- newSimpleConstraintData- the new value for SimpleConstraintData.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSimpleConstraintMessagevoid setSimpleConstraintMessage(String newSimpleConstraintMessage) Set the value for SimpleConstraintMessage. (The message to display if the simple constraint fails to validate.) This value is optional.- Parameters:
- newSimpleConstraintMessage- the new value for SimpleConstraintMessage.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSimpleConstraintOptionalvoid setSimpleConstraintOptional(boolean newSimpleConstraintOptional) Set the value for SimpleConstraintOptional. (Is the constraint optional?)- Parameters:
- newSimpleConstraintOptional- the new value for SimpleConstraintOptional.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSimpleConstraintSortvoid setSimpleConstraintSort(SimpleConstraintSort newSimpleConstraintSort) Set the value for SimpleConstraintSort. (Sort order of constraint.) This value is mandatory.- Parameters:
- newSimpleConstraintSort- the new value for SimpleConstraintSort. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getTableDefinitionTableDefinition getTableDefinition() Get the TableDefinition.- Returns:
- TableDefinition
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 
- 
 
-