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 String
getMode()
protected String
void
setMaximumValue
(DateTime value) Sets the maximum value.void
setMinimumValue
(DateTime value) Sets the minimum value.void
setOutputFormat
(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, setValue
Methods 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:
getMode
in classPromptElement
-
getTagName
- Overrides:
getTagName
in classDateElement
-
setMinimumValue
Sets the minimum value.- Overrides:
setMinimumValue
in classDateElement
- Parameters:
value
- Min value
-
setMaximumValue
Sets the maximum value.- Overrides:
setMaximumValue
in classDateElement
- Parameters:
value
- Max value
-
getMinimumValue
Returns the minimum value.- Overrides:
getMinimumValue
in classDateElement
- Returns:
- Min value
-
getMaximumValue
Returns the maximum value.- Overrides:
getMaximumValue
in classDateElement
- Returns:
- Max value
-
getOutputFormat
- Specified by:
getOutputFormat
in interfacePromptInterfaces.OutputFormat
- Overrides:
getOutputFormat
in classDateElement
- Returns:
- Output format
-
setOutputFormat
Sets the output format: YYYY-MM-DD HH:MM:SS or YYYYMMDDHH24MISS.- Specified by:
setOutputFormat
in interfacePromptInterfaces.OutputFormat
- Overrides:
setOutputFormat
in classDateElement
- Parameters:
outputformat
- Output format
-