Package adalid.core.data.types
Class DateData
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.AbstractDataArtifact
-
- adalid.core.Primitive
-
- adalid.core.primitives.TemporalPrimitive
-
- adalid.core.data.types.DateData
-
- All Implemented Interfaces:
Wrappable,AnnotatableArtifact,Artifact,CalculableProperty,DataArtifact,Expression,IntervalizedArtifact,Nullable,Parameter,Property,TemporalExpression,TypedArtifact,ValuedArtifact
- Direct Known Subclasses:
DateParameter,DateProperty
public class DateData extends TemporalPrimitive
- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description static DateEPOCH-
Fields inherited from class adalid.core.AbstractDataArtifact
CONVERTER_REGEX, VALIDATOR_REGEX
-
Fields inherited from class adalid.core.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description DateData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetYearRange()booleanisDisabledHolidays()booleanisDisabledWeekdays()booleanisDisabledWeekends()voidsetDisabledHolidays(boolean disabled)voidsetDisabledWeekdays(boolean disabled)voidsetDisabledWeekends(boolean disabled)voidsetYearRange(int range)-
Methods inherited from class adalid.core.primitives.TemporalPrimitive
addDays, addDays, addHours, addHours, addMinutes, addMinutes, addMonths, addMonths, addSeconds, addSeconds, addWeeks, addWeeks, addYears, addYears, coalesce, coalesce, coalesce, defaultWhenNull, diffInDays, diffInDays, diffInDays, diffInHours, diffInHours, diffInHours, diffInMinutes, diffInMinutes, diffInMinutes, diffInMonths, diffInMonths, diffInMonths, diffInSeconds, diffInSeconds, diffInSeconds, diffInWeeks, diffInWeeks, diffInWeeks, diffInYears, diffInYears, diffInYears, extractDay, extractHour, extractMinute, extractMonth, extractSecond, extractYear, firstDateOfMonth, firstDateOfQuarter, firstDateOfSemester, firstDateOfYear, getCalculableValue, getCurrentValue, getDefaultRangeErrorMessage, getDefaultValue, getEpochInMillis, getInitialValue, getLocalizedRangeErrorMessage, getMaxDate, getMaxValue, getMinDate, getMinValue, getPrimitiveMaxValue, getPrimitiveMinValue, getSpecialConverterName, getSpecialValidatorName, isBetween, isDefinedCurrentValue, isDefinedDefaultValue, isDefinedInitialValue, isDefinedMaxValue, isDefinedMinValue, isEqualTo, isEqualTo, isEqualTo, isExpressCurrentValue, isExpressDefaultValue, isExpressInitialValue, isExpressMaxValue, isExpressMinValue, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isIn, isIn, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isNotBetween, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNull, isNullOrBetween, isNullOrEqualTo, isNullOrEqualTo, isNullOrEqualTo, isNullOrGreaterOrEqualTo, isNullOrGreaterOrEqualTo, isNullOrGreaterOrEqualTo, isNullOrGreaterThan, isNullOrGreaterThan, isNullOrGreaterThan, isNullOrIn, isNullOrLessOrEqualTo, isNullOrLessOrEqualTo, isNullOrLessOrEqualTo, isNullOrLessThan, isNullOrLessThan, isNullOrLessThan, isNullOrNotBetween, isNullOrNotEqualTo, isNullOrNotEqualTo, isNullOrNotEqualTo, isNullOrNotIn, isPrimitiveCurrentValue, isPrimitiveDefaultValue, isPrimitiveInitialValue, isPrimitiveMaxValue, isPrimitiveMinValue, isSpecialCurrentValue, isSpecialDefaultValue, isSpecialInitialValue, isSpecialMaxValue, isSpecialMinValue, lastDateOfMonth, lastDateOfQuarter, lastDateOfSemester, lastDateOfYear, max, max, max, min, min, min, nullIf, nullIf, nullIf, nullWhenDefault, setCalculableValueExpression, setCurrentValue, setCurrentValue, setCurrentValue, setCurrentValue, setDefaultRangeErrorMessage, setDefaultValue, setDefaultValue, setDefaultValue, setDefaultValue, setInitialValue, setInitialValue, setInitialValue, setInitialValue, setLocalizedRangeErrorMessage, setMaxDate, setMaxValue, setMaxValue, setMaxValue, setMaxValue, setMinDate, setMinValue, setMinValue, setMinValue, setMinValue, setSpecialConverterName, setSpecialValidatorName, toCharString, toDate, toLocaleString, toTime, toTimestamp
-
Methods inherited from class adalid.core.Primitive
finish, getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getExpressionString, getLocalizedMaximumValueTag, getLocalizedMinimumValueTag, getMaximumValueTag, getMinimumValueTag, getOperands, getOperator, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isCrossReferencedExpression, isFinished, isSingleEntityExpression, isSingleEntityExpression, setLocalizedMaximumValueTag, setLocalizedMinimumValueTag, setMaximumValueTag, setMinimumValueTag
-
Methods inherited from class adalid.core.AbstractDataArtifact
addAggregate, addInitialValueReferencedParameters, addInitialValueReferencedProperties, checkAggregates, fieldsToString, getAggregateFunction, getAggregates, getAggregateTitle, getAnchorField, getAnchorFieldName, getAnchorProperty, getCalculableValueTag, getColumnPixels, getCurrentValueTag, getDataClass, getDataGenFactor, getDataGenFunction, getDataGenMax, getDataGenMin, getDataGenNullable, getDataGenNumericAction, getDataGenPattern, getDataGenPrefix, getDataGenSeriesStart, getDataGenSeriesStep, getDataGenSeriesStop, getDataGenSuffix, getDataGenTemporalInterval, getDataGenTrueable, getDataGenType, getDataType, getDefaultCheckpoint, getDefaultCondition, getDefaultFunction, getDefaultGraphicImageTooltip, getDefaultGraphicImageTooltipMap, getDefaultValueTag, getDefaultWrapperClass, getDisplaySortKey, getEnclosingSteps, getEnclosingTabs, getGraphicImageNameExpression, getInitialValueReferencingParameters, getInitialValueReferencingParameters, getInitialValueReferencingParametersList, getInitialValueReferencingParametersSortedBySequence, getInitialValueReferencingProperties, getInitialValueReferencingProperties, getInitialValueReferencingPropertiesList, getInitialValueReferencingPropertiesSortedBySequence, getInitialValueReferencingSiblings, getInitialValueReferencingSiblings, getInitialValueTag, getInstanceParameterInitialValueReferencingSiblings, getInstanceParameterInitialValueReferencingSiblings, getKeyProperties, getLinkedColumnName, getLinkedColumnOperator, getLinkedField, getLinkedFieldName, getLinkedProperty, getLocalizedCalculableValueTag, getLocalizedCurrentValueTag, getLocalizedDefaultValueTag, getLocalizedGraphicImageTooltip, getLocalizedGraphicImageTooltipMap, getLocalizedInitialValueTag, getMaxValueReferencingParameters, getMaxValueReferencingParameters, getMaxValueReferencingProperties, getMaxValueReferencingProperties, getMaxValueReferencingSiblings, getMaxValueReferencingSiblings, getMinValueReferencingParameters, getMinValueReferencingParameters, getMinValueReferencingProperties, getMinValueReferencingProperties, getMinValueReferencingSiblings, getMinValueReferencingSiblings, getMissingValueGraphicImageName, getModifyingFilter, getModifyingFilterReferencingParameters, getModifyingFilterReferencingParameters, getModifyingFilterReferencingProperties, getModifyingFilterReferencingProperties, getModifyingFilterReferencingSiblings, getModifyingFilterReferencingSiblings, getNullifyingFilter, getNullValueGraphicImageName, getParameterPathList, getParameterPropertyPathList, getPixels, getProcessingConsoleSnippetFileName, getPropertyAccess, getPropertyAtRoot, getPropertyParameterPathList, getPropertyPathList, getReadingDetailSnippetFileName, getReadingRenderingFilterReferencingSiblings, getReadingRenderingFilterReferencingSiblings, getReadingTableSnippetFileName, getRenderingFilter, getRenderingFilterReferencingParameters, getRenderingFilterReferencingParameters, getRenderingFilterReferencingParameters, getRenderingFilterReferencingProperties, getRenderingFilterReferencingProperties, getRenderingFilterReferencingProperties, getRenderingFilterReferencingSiblings, getRenderingFilterReferencingSiblings, getRequiringFilter, getRequiringFilterReferencingParameters, getRequiringFilterReferencingParameters, getRequiringFilterReferencingProperties, getRequiringFilterReferencingProperties, getRequiringFilterReferencingSiblings, getRequiringFilterReferencingSiblings, getSearchQueryFilterReferencingParameters, getSearchQueryFilterReferencingParameters, getSearchQueryFilterReferencingProperties, getSearchQueryFilterReferencingProperties, getSearchQueryFilterReferencingSiblings, getSearchQueryFilterReferencingSiblings, getSegmentEntityClass, getSequenceNumber, getSequencePropertyStart, getSequencePropertyStep, getSequencePropertyStop, getSqlName, getTableColumnEntityName, getUnnecessaryValueGraphicImageName, getWritingDetailSnippetFileName, getWritingRenderingFilterReferencingSiblings, getWritingRenderingFilterReferencingSiblings, getWritingTableSnippetFileName, isAnnotatedWithBaseField, isAnnotatedWithBigDecimalField, isAnnotatedWithBooleanField, isAnnotatedWithBusinessKey, isAnnotatedWithCharacterKey, isAnnotatedWithColumnField, isAnnotatedWithDataGen, isAnnotatedWithDescriptionProperty, isAnnotatedWithDiscriminatorColumn, isAnnotatedWithEmbeddedDocument, isAnnotatedWithFileReference, isAnnotatedWithImageProperty, isAnnotatedWithInactiveIndicator, isAnnotatedWithInstanceReference, isAnnotatedWithNameProperty, isAnnotatedWithNumericField, isAnnotatedWithNumericKey, isAnnotatedWithOwnerProperty, isAnnotatedWithParameterField, isAnnotatedWithParentProperty, isAnnotatedWithPrimaryKey, isAnnotatedWithPropertyAggregation, isAnnotatedWithPropertyField, isAnnotatedWithSegmentProperty, isAnnotatedWithSequenceProperty, isAnnotatedWithStateProperty, isAnnotatedWithStringField, isAnnotatedWithTimeField, isAnnotatedWithTimestampField, isAnnotatedWithUniformResourceLocator, isAnnotatedWithUniqueKey, isAnnotatedWithUrlProperty, isAnnotatedWithUserProperty, isAnnotatedWithVariantString, isAnnotatedWithVersionProperty, isAuditable, isBaseField, isBigDecimalData, isBigIntegerData, isBinaryData, isBinaryPrimitive, isBooleanData, isBooleanPrimitive, isBusinessKeyProperty, isByteData, isCalculable, isCalculable, isCalculatedProperty, isCharacterData, isCharacterKeyProperty, isCharacterPrimitive, isColumnField, isContextualEntity, isCreateField, isDatabaseEntity, isDataGenSeriesEnabled, isDateData, isDescriptionProperty, isDetailField, isDiscriminatorProperty, isDoubleData, isEmbeddedDocumentField, isEnclosedInAtLeastOneStep, isEnclosedInAtLeastOneTab, isEntity, isEnumerationEntity, isExportField, isFileReferenceField, isFilterField, isFloatData, isGraphicImageField, isGraphicImageFontAwesomeClassNameExpression, isHeadertextlessField, isHeadingField, isHiddenEntityReferenceField, isHiddenField, isImageProperty, isImmutableField, isInactiveIndicatorProperty, isInsertable, isInstanceParameter, isInstanceReferenceField, isIntegerData, isKeyField, isLongData, isMandatoryForInsert, isMasterDependentPropertyOf, isMasterSequenceField, isMissingValueGraphicImageNameFontAwesomeClass, isNameProperty, isNonEnumerationEntity, isNullable, isNullValueGraphicImageNameExpression, isNullValueGraphicImageNameFontAwesomeClass, isNumericKeyProperty, isNumericPrimitive, isOptionalForInsert, isOverlayableEntityReference, isOverlayField, isOwnerProperty, isParameter, isParentProperty, isPassword, isPersistentEntity, isPersistentEnumerationEntity, isPersistentNonEnumerationEntity, isPrimaryKeyProperty, isPrimitive, isProminentField, isProperty, isReadOnly, isRenderingFilterReadOnly, isReportField, isRequiredParameter, isRequiredProperty, isSearchField, isSegmentProperty, isSequenceProperty, isSequencePropertyDataGenDisabled, isSequencePropertyEnabled, isSerializableField, isSerializableIUID, isShortData, isSinglePropertyOfUniqueKey, isSortField, isStateProperty, isStringData, isTableField, isTemporalPrimitive, isTimeData, isTimestampData, isTransientField, isUniformResourceLocatorField, isUnique, isUniqueKeyProperty, isUnnecessaryValueGraphicImageNameFontAwesomeClass, isUpdateable, isUpdateField, isUrlProperty, isUserProperty, isVariantStringField, isVersionProperty, keepCountOn, setAggregateFunction, setAggregateTitle, setAuditable, setCalculable, setCalculableValueTag, setColumnField, setCreateField, setCurrentValueTag, setDefaultCheckpoint, setDefaultCondition, setDefaultFunction, setDefaultGraphicImageTooltip, setDefaultValueTag, setDetailField, setDisplaySortKey, setExportField, setFilterField, setGraphicImageFontAwesomeClassNameExpression, setGraphicImageNameExpression, setHeadertextlessField, setHeadingField, setHiddenField, setImmutableField, setInitialValueTag, setInsertable, setLocalizedCalculableValueTag, setLocalizedCurrentValueTag, setLocalizedDefaultValueTag, setLocalizedGraphicImageTooltip, setLocalizedInitialValueTag, setMissingValueGraphicImageName, setModifyingFilter, setNullable, setNullifyingFilter, setNullValueGraphicImageExpression, setNullValueGraphicImageName, setOverlayField, setPassword, setProcessingConsoleSnippetFileName, setProminentField, setPropertyAccess, setReadingDetailSnippetFileName, setReadingTableSnippetFileName, setRenderingFilter, setRenderingFilter, setReportField, setRequired, setRequiringFilter, setSearchField, setSequencePropertyStart, setSequencePropertyStep, setSequencePropertyStop, setSerializableField, setSerializableIUID, setSortField, setTableField, setUnique, setUnnecessaryValueGraphicImageName, setUpdateable, setUpdateField, setWritingDetailSnippetFileName, setWritingTableSnippetFileName, validCalculableValue, validCurrentValue, validDefaultValue, validInitialValue, validMaximumValue, validMinimumValue, validSpecialTemporalValue
-
Methods inherited from class adalid.core.AbstractArtifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finalise, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, mapsToString, put, repeat, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adalid.core.interfaces.AnnotatableArtifact
annotate
-
Methods inherited from interface adalid.core.interfaces.Artifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, clearAttributes, depth, finalise, getAlias, getAttribute, getAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, put, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, toString, toString, toString, toString
-
Methods inherited from interface adalid.core.interfaces.DataArtifact
getDataClass, getSegmentEntityClass, isParameter, isProperty
-
Methods inherited from interface adalid.core.interfaces.Expression
getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getExpressionString, getOperands, getOperator, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isCrossReferencedExpression, isSingleEntityExpression, isSingleEntityExpression
-
Methods inherited from interface adalid.core.interfaces.IntervalizedArtifact
getMaximumValueTag, getMinimumValueTag, setMaximumValueTag, setMinimumValueTag
-
Methods inherited from interface adalid.core.interfaces.TypedArtifact
getDataType
-
-
-
-
Field Detail
-
EPOCH
public static final Date EPOCH
-
-
Method Detail
-
isDisabledWeekends
public boolean isDisabledWeekends()
- Returns:
- the disabled weekends indicator
-
setDisabledWeekends
public void setDisabledWeekends(boolean disabled)
- Parameters:
disabled- the disabled weekends indicator to set
-
isDisabledWeekdays
public boolean isDisabledWeekdays()
- Returns:
- the disabled weekdays indicator
-
setDisabledWeekdays
public void setDisabledWeekdays(boolean disabled)
- Parameters:
disabled- the disabled weekdays indicator to set
-
isDisabledHolidays
public boolean isDisabledHolidays()
- Returns:
- the disabled holidays indicator
-
setDisabledHolidays
public void setDisabledHolidays(boolean disabled)
- Parameters:
disabled- the disabled holidays indicator to set
-
getYearRange
public int getYearRange()
- Returns:
- the year range
-
setYearRange
public void setYearRange(int range)
- Parameters:
range- the year range to set
-
-