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
public class TimeStampElement extends DateElement
A Timestamp element.
-
-
Field Summary
-
Fields inherited from class com.uc4.api.objects.PromptElement
aliasMap, list, properties
-
-
Constructor Summary
Constructors Constructor Description TimeStampElement(java.lang.String variableName, UC4ObjectName reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTime
getMaximumValue()
Returns the maximum value.DateTime
getMinimumValue()
Returns the minimum value.protected java.lang.String
getMode()
java.lang.String
getOutputFormat()
protected java.lang.String
getTagName()
void
setMaximumValue(DateTime value)
Sets the maximum value.void
setMinimumValue(DateTime value)
Sets the minimum value.void
setOutputFormat(java.lang.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, setTooltip, setValue, setValues, setVariable, store, storeAdditionalPromptData, storeDefaultValues, toString, updateDefaultValue, validateForExecute, validateId
-
-
-
-
Constructor Detail
-
TimeStampElement
public TimeStampElement(java.lang.String variableName, UC4ObjectName reference)
- Parameters:
variableName
- Name of the script variablereference
- Reference
-
-
Method Detail
-
getMode
protected java.lang.String getMode()
- Overrides:
getMode
in classPromptElement
-
getTagName
protected java.lang.String getTagName()
- Overrides:
getTagName
in classDateElement
-
setMinimumValue
public void setMinimumValue(DateTime value)
Sets the minimum value.- Overrides:
setMinimumValue
in classDateElement
- Parameters:
value
- Min value
-
setMaximumValue
public void setMaximumValue(DateTime value)
Sets the maximum value.- Overrides:
setMaximumValue
in classDateElement
- Parameters:
value
- Max value
-
getMinimumValue
public DateTime getMinimumValue()
Returns the minimum value.- Overrides:
getMinimumValue
in classDateElement
- Returns:
- Min value
-
getMaximumValue
public DateTime getMaximumValue()
Returns the maximum value.- Overrides:
getMaximumValue
in classDateElement
- Returns:
- Max value
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormat
in interfacePromptInterfaces.OutputFormat
- Overrides:
getOutputFormat
in classDateElement
- Returns:
- Output format
-
setOutputFormat
public void setOutputFormat(java.lang.String outputformat)
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
-
-