planetj.database.fielddescriptors
Class DerivedDate

java.lang.Object
  extended byplanetj.database.Row
      extended byplanetj.database.fielddescriptors.FieldDescriptorRow
          extended byplanetj.database.fielddescriptors.AbstractDerivedFieldDescriptor
              extended byplanetj.database.fielddescriptors.DerivedDate
All Implemented Interfaces:
java.lang.Cloneable, IActionObject, IBatchProcessObject, IBusinessObject, ICSVRow, IFDFObject, IFieldData, IGuarded, INamedCollection, INavigationObject, IOwner, IRowCreator, IXMLObject, java.io.Serializable

public class DerivedDate
extends AbstractDerivedFieldDescriptor

Converts fields that in centry, year, month, and day individual fields into a java.sql.Date wrapped in a Field Creation date: (2/7/2002 11:48:19 AM)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.Row
Row.SpacingRow
 
Field Summary
 
Fields inherited from class planetj.database.Row
className, DISPLAY_ORDER_COMPARATOR, MODE_ALTER, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, mRowEventListeners
 
Fields inherited from interface planetj.database.fielddescriptors.IFieldData
APPLICATION_ID, ASSOCIATION_FIELD_ID, ASSOCIATION_ID, AUTHORIZE_EDIT_OPERATION, AUTHORIZE_READ_OPERATION, AUTO_INCREMENT_DATABASE_DRIVEN, AUTO_INCREMENT_NO, AUTO_INCREMENT_WOW_DRIVEN, AUTO_TRIM_ON_READ, AUTO_TRIM_ON_WRITE, AUTO_TRIM_SPACES, AUTO_UPDATE_VALUE, BUFFER_LENGTH, CHAR_OCTET_LENGTH, COLUMN_DEF, COLUMN_NAME, COLUMN_SIZE, COMPANY_ID, CONCURRENCY, CONCURRENT_DELETES_ALLOWED, CONCURRENT_UPDATES_ALLOWED, CONCURRENT_UPDATES_AND_DELETES_ALLOWED, DATA_SQL_OPERATION_ID, DATA_TYPE, DECIMAL_DIGITS, DISPLAY_COMPONENT, DISPLAY_COMPONENT_ASSOC_OPERATION, DISPLAY_COMPONENT_EDITABLE_RADIO_BUTTON_PV, DISPLAY_COMPONENT_EDITABLE_SELECT, DISPLAY_COMPONENT_EDITABLE_SELECT_TEXT_AREA, DISPLAY_COMPONENT_FILE_UPLOAD, DISPLAY_COMPONENT_LIST, DISPLAY_COMPONENT_RADIO_BUTTON_PV_SELECT, DISPLAY_COMPONENT_SYSTEM, DISPLAY_COMPONENT_TEXT_AREA, DISPLAY_COMPONENT_TEXT_FIELD, DISPLAY_HEIGHT, DISPLAY_LENGTH, DISPLAY_ORDER, DISPLAY_RULE, DISPLAY_RULE_ADMINISTRATOR, DISPLAY_RULE_ALWAYS, DISPLAY_RULE_HIDE_IF_NA_ALWAYS, DISPLAY_RULE_HIDE_IF_NA_ON_INSERT, DISPLAY_RULE_HIDE_IF_NA_ON_UPDATE, DISPLAY_RULE_HIDE_IF_NA_ON_UPDATE_AND_INSERT, DISPLAY_RULE_HIDE_ON_INSERT, DISPLAY_RULE_HIDE_ON_UPDATE, DISPLAY_RULE_HIDE_ON_UPDATE_AND_INSERT, DISPLAY_RULE_NEVER, DIVISION_ID, EXTERNAL_NAME, FDPV_DEFAULT_VALUE, FIELD_CLASS, FIELD_CLASS_ID, FIELD_DATA_TABLE_NAME, FIELD_DESCRIPTOR_TYPE, FIELD_SET, FORMATTER_CLASS, FORMATTER_CLASS_ID, GETTER_METHOD, HELP_TEXT, ID, IS_AUTO_INCREMENT, IS_CASE_SENSITIVE, IS_CURRENCY, IS_DEFINITELY_WRITABLE, IS_NULLABLE, IS_READ_ONLY, IS_REQUIRED, IS_REQUIRED_ON_SEARCH, IS_SEARCHABLE, IS_SIGNED, IS_SORTABLE, IS_WRITABLE, KEY_POSITION, MAX_LIBRARY_NAME_LENGTH, MAX_TABLE_NAME_LENGTH, NO_CONCURRENT_ALTERATIONS_ALLOWED, NULLABLE, NUM_PREC_RADIX, ORDINAL_POSITION, ORIGIN_DB_METADATA, ORIGIN_FIELDDATA_FILE, ORIGIN_RS_METADATA, OWNER_ID, PARAM_DIGIT_REQUIRED, PARAM_MIN_LENGTH, POSSIBLE_VALUES_KEY, PV_CLASS, PV_CLASS_ID, PV_SQL_OPERATION_ID, REMARKS, SECURITY_ID, SECURITY_TYPE, SETTER_METHOD, SQL_DATA_TYPE, SQL_DATETIME_SUB, STATUS_CHANGE, STATUS_CHANGE_DEFAULT, STATUS_CHANGE_NO, STATUS_CHANGE_YES, STYLE_CLASS, SWITCHES, SYSTEM_ALIAS, SYSTEM_URL, TABLE_CAT, TABLE_ID, TABLE_NAME, TABLE_SCHEM, TYPE_DEFAULT_FIELD_DESCRIPTOR, TYPE_DERIVED_FIELD_DESCRIPTOR, TYPE_DRILL_DOWN_FIELD_DESCRIPTOR, TYPE_NAME, TYPE_ONE_TO_MANY_ASSOCIATION_FIELD_DESCRIPTOR, TYPE_ONE_TO_ONE_ASSOCIATION_FIELD_DESCRIPTOR, TYPE_POSSIBLE_VALUES_FIELD_DESCRIPTOR, TYPE_TABLE_DESCRIPTOR, USAGE_ID, XML_TAG
 
Fields inherited from interface planetj.dataengine.security.IGuarded
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED
 
Constructor Summary
DerivedDate()
           
 
Method Summary
 java.lang.String getCenturyFieldName()
          Insert the method's description here.
 java.lang.String getDayFieldName()
          Insert the method's description here.
 Field getDerivedField(Row pRow)
          Return a Field appropriate for the Derivation such as concat, substract, etc.
 java.lang.String getMonthFieldName()
          Insert the method's description here.
 java.lang.String getYearFieldName()
          Insert the method's description here.
 void setCenturyFieldName(java.lang.String newMCenturyFieldName)
          Insert the method's description here.
 void setDayFieldName(java.lang.String newMDayFieldName)
          Insert the method's description here.
 void setMonthFieldName(java.lang.String newMonth)
          Insert the method's description here.
 void setYearFieldName(java.lang.String newMYearFieldName)
          Insert the method's description here.
 
Methods inherited from class planetj.database.fielddescriptors.AbstractDerivedFieldDescriptor
getOperatingFieldNames, isFieldDescriptorDerived, setOperatingFieldNames
 
Methods inherited from class planetj.database.fielddescriptors.FieldDescriptorRow
calculateFieldClass, clearJavaFieldClass, cloneFD, copy, createDefaultField, createDefaultField, createField, createField, createField, createRow, createSQLContextForUpdate, duplicateKey, getApplicationID, getAssociationFieldId, getAssociationId, getAssociationOperation, getAssociationOperationId, getAutoUpdateStringValue, getAutoUpdateStringValue, getAutoUpdateValue, getCatalog, getColumnName, getColumnSize, getColumnSystem, getColumnTable, getColumnTable, getColumnTableName, getCompanyID, getConcurrency, getConnectionAlias, getDataSQLOperation, getDataSQLOperationId, getDataType, getDecimalDigits, getDefaultStringValue, getDefaultStringValue, getDefaultValue, getDeleteConfirmationMessage, getDisplayComponent, getDisplayHeight, getDisplayLength, getDisplayOrder, getDisplayRule, getDisplayWidth, getDivisionID, getExternalName, getFieldClass, getFieldClassName, getFieldClassParameterDigitRequired, getFieldClassParameterMinLength, getFieldClassParameters, getFieldClassString, getFieldDescriptorClass, getFieldDescriptorSource, getFieldDescriptorType, getFieldDisplayOrder, getFieldFieldSetName, getFieldSet, getFormatterClass, getFormatterClassParameters, getGetterMethod, getHelpText, getId, getIdAsInteger, getIsNullable, getJavaFieldClass, getKeyPostion, getMaxBytes, getName, getNullable, getOrdinalPosition, getOrigin, getOwnerId, getOwnerIdField, getPossibleValueClass, getPossibleValues, getPossibleValuesKey, getPossibleValuesOperation, getPossibleValuesOperationId, getPossibleValuesSQLOperation, getPossibleValuesSQLOperationId, getRadix, getRemarks, getSampleFieldData, getSampleTableData, getScale, getSchema, getSecuredTypeId, getSecuredTypeName, getSecurityId, getSecurityType, getSetterMethod, getSQLType, getSQLTypeName, getStatusChange, getStyleClass, getSwitches, getSystemURL, getUsageId, getUserFieldStringValue, getUserFieldStringValue, getUserMessageForOperation, getXMLTag, guessFieldClass, hasAssociationOperation, hasAutoPopulateOperation, hasDefaultValue, hasFormatter, hasHelpText, hasPossibleValuesKeyClassOrOp, hasPossibleValuesOperation, hasPossibleValuesSQLOperation, hasScale, hasUsageId, insert, isAssignable, isAuthorizedForEdit, isAuthorizedForRead, isAutoIncrement, isAutoIncrementDatabaseDriven, isAutoIncrementWOWDriven, isAutoPopulate, isAutoTrimOnRead, isAutoTrimOnWrite, isAutoUpdateValue, isCaseSensitive, isColumnTableChanged, isCurrency, isCurrent, isDefaultValue, isDerived, isDisplayable, isExistInFDFile, isFieldApplicable, isFileUpload, isGetterMethodSpecified, isGuessFieldClass, isInKey, isLogical, isNullCapable, isNumericSQLType, isPercentage, isPhysical, isPossibleValuesSearch, isReadFromDBMetadata, isReadFromRSMetadata, isReadOnly, isRequired, isRequiredOnSearch, isSearchable, isSetterMethodSpecified, isShared, isSigned, isSortable, isStatusChange, isUseRowForFieldSets, postDelete, setApplicationID, setAssociationFieldId, setAssociationId, setAutoIncrement, setAutoIncrment, setAutoTrimOnRead, setAutoTrimOnWrite, setCaseSensitive, setCatalog, setColumnSize, setColumnTableName, setCompanyID, setConcurrency, setConnectionAlias, setCurrency, setCurrent, setDataSQLOperationId, setDecimalDigits, setDefaultValue, setDisplayComponent, setDisplayHeight, setDisplayLength, setDisplayOrder, setDisplayRule, setDisplayWidth, setDivisionID, setExternalName, setFieldClass, setFieldClass, setFieldDescriptorType, setFieldSet, setFieldValue, setFormatterClass, setGuessFieldClass, setHelpText, setIsNullable, setKeyPosition, setMaxBytes, setName, setNullable, setOrdinalPosition, setOwnerId, setOwnerId, setPossibleValueClass, setPossibleValuesKey, setPossibleValuesSQLOperationId, setRadix, setReadOnly, setRemarks, setRequired, setSchema, setSearchable, setSigned, setSortable, setSQLType, setSQLTypeName, setStatusChange, setSwitches, setSystemURL, setTable, setUsageId, setXMLTag, statusChanged, toString, transferDataTo, update, updateFieldValues, validate
 
Methods inherited from class planetj.database.Row
add, add, addObject, addPropertyChangeListener, addPropertyChangeListener, addRowEventListener, addRowEventListeners, addTable, addToRowCollection, appendDisplayType, batchProcess, clearFields, clearTables, clearValidationException, clone, cloneRow, commitFieldValues, commitFieldValues, commitFieldValues, concatenateFieldFullLengthValues, concatenateFieldValues, containsField, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonUsageIds, copyIntoRowFieldsWithGivenFieldNames, copyIntoRowFieldsWithGivenFieldNames, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, createAction, createNamedActionRequest, createSQLContextForDelete, createSQLContextForInsert, dataTransferred, defaultMerge, delete, delete, delete, delete, deleteObject, divide, duplicateKey, enforceExclusiveOr, equals, equals, equalsInstance, fieldHasPossibleValuesSQLOperation, firePropertyChange, fireRowEvent, getActionDefaultLocation, getActionDescriptor, getActionRequest, getActionRequest, getActions, getActionsForFields, getActionsForOperation, getAssociation, getAssociation, getAssociationByOperationUsageId, getAssociationOperation, getAttribute, getAutoIncrementDatabaseDrivenField, getBackgroundColor, getChangedFields, getChildren, getColumnSpan, getCompleteRow, getCompleteRow, getConcurrentFields, getConfigProperty, getCopiedFieldValues, getCreationContext, getCSVRow, getCSVRow, getDatabaseRow, getDatabaseRow, getDatabaseRow, getDatabaseRow, getDBSystem, getDeleteConfirmation, getDisjointRowClass, getDisplayValue, getDisplayValueByUsageId, getDisplayValueForKey, getErrorMessageForOperation, getExternalName, getExternalNames, getFDFData, getFDTable, getField, getField, getField, getFieldAssociationOperation, getFieldCollection, getFieldDefaultValue, getFieldDescriptor, getFieldDescriptor, getFieldDescriptor, getFieldDescriptorsWithUsage, getFieldDescriptorsWithUsageId, getFieldDescriptorWithUsageId, getFieldDisplayComponent, getFieldDisplayValue, getFieldDisplayValue, getFieldExternalName, getFieldFieldClassParameters, getFieldIncrementor, getFieldMaxLength, getFieldNames, getFieldNames, getFieldPossibleValues, getFields, getFields, getFieldSearchDefaultValue, getFieldSets, getFieldsForInsert, getFieldSQLObject, getFieldStatusChange, getFieldsToDisplay, getFieldsToDisplayStrict, getFieldsToDisplayStrict, getFieldStyleClass, getFieldsWithUsageId, getFieldUsageIds, getFieldValue, getFieldValueWithUsageId, getFieldWithUsageId, getHeaderText, getHorizontalAlignment, getJSPFor, getKeyFieldNames, getKeyFields, getKeyFields, getLibraryName, getMaxFieldLengths, getMaxFieldLengths, getMaxInsertRetries, getMetaDataSystemAlias, getNamed, getNamed, getNamesOfUpdatedFields, getNavigationKey, getNavigationListKey, getNextOperationToRun, getOperation, getOperation, getOperationFromDB, getOperationFromDBByUsage, getPercentage, getPhysicalFieldNames, getPossibleValueClass, getPossibleValueClass, getPossibleValuesKey, getPossibleValuesOperation, getPropertyChangeSupport, getPropertyGroup, getPropertyGroups, getPropertyGroups, getReplacementFieldsToDisplay, getReplacementFieldsToDisplay, getRequiredFields, getRow, getRowCollection, getRowDisplayAttributes, getRowDisplayAttributes, getRowHandledActionNames, getRowKey, getSQL, getSQLContext, getStaticAttribute, getStaticAttributes, getSum, getSystemAlias, getTabbedOperation, getTable, getTable, getTableName, getTables, getTimestamp, getUpdatedFields, getUserMessageForOperation, getUseWOWLibrary, getValidationExceptions, getValueAsBoolean, getValueAsByte, getValueAsDate, getValueAsDate, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFullLengthString, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsNumber, getValueAsNumber, getValueAsShort, getValueAsString, getValueAsString, getValueAsStringByUsageId, getValueByUsageId, getValueForKey, getValues, getXMLData, getXMLData, getXMLHeaderData, goToNextOperation, handleAction, hasAssociationOperation, hasChildRows, hasMultipleStyleClasses, hasPossibleValuesKeyClassOrOp, hasPossibleValuesOperation, hasPropertyChangeListeners, incrementFieldValue, initializeRow, initializeRow, initializeRow, initializeRow, initializeRow, initializeRow, insert, insert, insert, is, isActionApplicable, isActionRepeatable, isARow, isARowCollection, isChanged, isChanged, isChangedRealTime, isChangedSinceLastCheck, isCloneNeeded, isContainsAllFields, isCopyable, isDeletable, isDistinctRow, isEditable, isEmpty, isFieldAuthorizedForEdit, isFieldAuthorizedForRead, isFieldAutoIncrement, isFieldAutoIncrementDatabaseDriven, isFieldAutoIncrementWOWDriven, isFieldDisplayable, isFieldPresent, isFieldReadOnly, isFieldReadOnlyOnSearch, isFieldRequired, isFieldRequiredOnSearch, isFieldsChanged, isFieldUpdateable, isFieldValueNotBlank, isFieldValuePossibleValue, isFieldValuesDatabaseDefaults, isGenerateChildRows, isGroupByRow, isGuarded, isHasColumnNames, isInARowCollection, isIncrementorResetAfterMaxInsertRetries, isInitializeDerivedFieldEnabled, isInitializeDerivedFieldsEnabled, isJoinedRow, isKeyFieldsPresent, isLogicalRow, isMultipleDeleteEnabled, isParameterRow, isPersistent, isPhysicalRow, isPrepareFieldValue, isPropertyChangeEventsEnabled, isReturningFromPossibleValuesSearch, isRowDisplayable, isRowKeyed, isSelectable, isStatusChange, isToBeSelected, isUnionRow, isUpdateable, isValidateDerivedFields, isValidateRequired, isValidationRequiredForAutoPopulate, isViewable, iterator, joinedDatabaseAccessFailure, joinedDelete, joinedDelete, joinedInsert, joinedInsert, joinedUpdate, joinedUpdate, merge, newField, newField, newField, newField, openFor, persist, populate, populate, populate, populateFD, postCreate, postExtract, postInsert, postInsert, postUpdate, postUpdate, preDelete, preInsert, prepareForDetails, prepareForParameters, prepareForResultsDisplay, prepareFromFieldNames, preUpdate, removeField, removeField, removeNavigationKey, removePropertyChangeListener, removePropertyChangeListener, removeRowEventListener, removeRowEventListeners, replaceField, replaceFields, replaceFieldValues, replaceNumbersWithNames, reread, rereadIfNeeded, resetDisplayValues, rollbackChanges, runSQLQuery, runSQLQuery, runSQLStatement, runSQLStatement, setAttribute, setAutoUpdateFieldValues, setCreationContext, setCreationOperation, setFieldInitialValue, setFieldValue, setFieldValue, setFieldValue, setFieldValueAsString, setFieldValueAsString, setFieldValuesAsDate, setFieldValuesToDefault, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonUsageIds, setFieldValueToDefault, setMultipleDeleteEnabled, setNavigationKey, setParameterRow, setPersistent, setPropertyChangeEventsEnabled, setPropertyGroups, setReturningFromPossibleValuesSearch, setRowDisplayAttributes, setSavepoint, setSavepoint, setSavepoint, setStaticAttribute, setTables, setTables, setUseWOWLibrary, setValidateDerivedFields, setValidateRequired, setValues, size, splitAndSetFieldValues, swapFieldValues, toCSV, toDOC, toDOC, toFDF, toPDF, toPDF, toString, toUpperCase, toXML, transferDataTo, update, update, update, updateGlobalValues, updateObject, validate, validate, validateField, validateRowOperation
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DerivedDate

public DerivedDate()
Method Detail

getCenturyFieldName

public java.lang.String getCenturyFieldName()
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Returns:
java.lang.String

getDayFieldName

public java.lang.String getDayFieldName()
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Returns:
java.lang.String

getDerivedField

public Field getDerivedField(Row pRow)
Return a Field appropriate for the Derivation such as concat, substract, etc. Subclasses should override Creation date: (2/7/2002 11:48:19 AM)

Specified by:
getDerivedField in class AbstractDerivedFieldDescriptor
Returns:
java.lang.String[]

getMonthFieldName

public java.lang.String getMonthFieldName()
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Returns:
java.lang.String

getYearFieldName

public java.lang.String getYearFieldName()
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Returns:
java.lang.String

setCenturyFieldName

public void setCenturyFieldName(java.lang.String newMCenturyFieldName)
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Parameters:
newMCenturyFieldName - java.lang.String

setDayFieldName

public void setDayFieldName(java.lang.String newMDayFieldName)
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Parameters:
newMDayFieldName - java.lang.String

setMonthFieldName

public void setMonthFieldName(java.lang.String newMonth)
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)


setYearFieldName

public void setYearFieldName(java.lang.String newMYearFieldName)
Insert the method's description here. Creation date: (2/7/2002 12:08:25 PM)

Parameters:
newMYearFieldName - java.lang.String