Package com.uc4.api.prompt
Class TimeStampElement
java.lang.Object
com.uc4.api.objects.PromptElement
com.uc4.api.prompt.DateElement
com.uc4.api.prompt.TimeStampElement
- All Implemented Interfaces:
PromptInterfaces.Caption,PromptInterfaces.Constraints<DateTime>,PromptInterfaces.DataReference,PromptInterfaces.Focus,PromptInterfaces.Locked,PromptInterfaces.OutputFormat
A Timestamp element.
-
Field Summary
Fields inherited from class com.uc4.api.objects.PromptElement
aliasMap, list, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the maximum value.Returns the minimum value.protected StringgetMode()protected StringvoidsetMaximumValue(DateTime value) Sets the maximum value.voidsetMinimumValue(DateTime value) Sets the minimum value.voidsetOutputFormat(String outputformat) Sets the output format: YYYY-MM-DD HH:MM:SS or YYYYMMDDHH24MISS.Methods inherited from class com.uc4.api.prompt.DateElement
getCalendarCondition, getCaption, getDataReference, getMaxValue, getMinValue, hasFocus, isLocked, listParam, setCalendarCondition, setCaption, setDataReference, setFocus, setLocked, setMaxValue, setMinValue, setValueMethods inherited from class com.uc4.api.objects.PromptElement
getCustomField, getMessageInsert, getMessageNumber, getProperty, getTooltip, getValue, getValues, getVariable, hasList, isAltView, setAltView, setCustomField, setRawValue, setTooltip, setValue, setValues, setVariable, store, storeAdditionalPromptData, storeDefaultValues, toString, updateDefaultValue, validateForExecute, validateId
-
Constructor Details
-
TimeStampElement
- Parameters:
variableName- Name of the script variablereference- Reference
-
-
Method Details
-
getMode
- Overrides:
getModein classPromptElement
-
getTagName
- Overrides:
getTagNamein classDateElement
-
setMinimumValue
Sets the minimum value.- Overrides:
setMinimumValuein classDateElement- Parameters:
value- Min value
-
setMaximumValue
Sets the maximum value.- Overrides:
setMaximumValuein classDateElement- Parameters:
value- Max value
-
getMinimumValue
Returns the minimum value.- Overrides:
getMinimumValuein classDateElement- Returns:
- Min value
-
getMaximumValue
Returns the maximum value.- Overrides:
getMaximumValuein classDateElement- Returns:
- Max value
-
getOutputFormat
- Specified by:
getOutputFormatin interfacePromptInterfaces.OutputFormat- Overrides:
getOutputFormatin classDateElement- Returns:
- Output format
-
setOutputFormat
Sets the output format: YYYY-MM-DD HH:MM:SS or YYYYMMDDHH24MISS.- Specified by:
setOutputFormatin interfacePromptInterfaces.OutputFormat- Overrides:
setOutputFormatin classDateElement- Parameters:
outputformat- Output format
-