Package adalid.core.data.types
Class TimeData
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.AbstractDataArtifact
-
- adalid.core.Primitive
-
- adalid.core.primitives.TemporalPrimitive
-
- adalid.core.data.types.TimeData
-
- All Implemented Interfaces:
Wrappable,AnnotatableArtifact,Artifact,CalculableProperty,DataArtifact,Expression,IntervalizedArtifact,Nullable,Parameter,Property,TemporalExpression,TypedArtifact,ValuedArtifact
- Direct Known Subclasses:
TimeParameter,TimeProperty
public class TimeData extends TemporalPrimitive
- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description static TimeEPOCH-
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 TimeData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxHour()intgetMaxMinute()intgetMaxSecond()intgetMinHour()intgetMinMinute()intgetMinSecond()intgetPrecision()intgetStepHour()intgetStepMinute()intgetStepSecond()voidsetMaxHour(int max)voidsetMaxMinute(int max)voidsetMaxSecond(int max)voidsetMinHour(int min)voidsetMinMinute(int min)voidsetMinSecond(int min)voidsetPrecision(int precision)voidsetStepHour(int step)voidsetStepMinute(int step)voidsetStepSecond(int step)-
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 Time EPOCH
-
-
Method Detail
-
getPrecision
public int getPrecision()
- Returns:
- the precision
-
setPrecision
public void setPrecision(int precision)
- Parameters:
precision- the precision to set
-
getMinHour
public int getMinHour()
- Returns:
- the minimum hour
-
setMinHour
public void setMinHour(int min)
- Parameters:
min- the minimum hour to set
-
getMaxHour
public int getMaxHour()
- Returns:
- the maximum hour
-
setMaxHour
public void setMaxHour(int max)
- Parameters:
max- the maximum hour to set
-
getStepHour
public int getStepHour()
- Returns:
- the step hour
-
setStepHour
public void setStepHour(int step)
- Parameters:
step- the step hour to set
-
getMinMinute
public int getMinMinute()
- Returns:
- the min minute
-
setMinMinute
public void setMinMinute(int min)
- Parameters:
min- the min minute to set
-
getMaxMinute
public int getMaxMinute()
- Returns:
- the max minute
-
setMaxMinute
public void setMaxMinute(int max)
- Parameters:
max- the max minute to set
-
getStepMinute
public int getStepMinute()
- Returns:
- the step minute
-
setStepMinute
public void setStepMinute(int step)
- Parameters:
step- the step minute to set
-
getMinSecond
public int getMinSecond()
- Returns:
- the min second
-
setMinSecond
public void setMinSecond(int min)
- Parameters:
min- the min second to set
-
getMaxSecond
public int getMaxSecond()
- Returns:
- the max second
-
setMaxSecond
public void setMaxSecond(int max)
- Parameters:
max- the max second to set
-
getStepSecond
public int getStepSecond()
- Returns:
- the step second
-
setStepSecond
public void setStepSecond(int step)
- Parameters:
step- the step second to set
-
-