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 DateTimegetMaximumValue()Returns the maximum value.DateTimegetMinimumValue()Returns the minimum value.protected java.lang.StringgetMode()java.lang.StringgetOutputFormat()protected java.lang.StringgetTagName()voidsetMaximumValue(DateTime value)Sets the maximum value.voidsetMinimumValue(DateTime value)Sets the minimum value.voidsetOutputFormat(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:
getModein classPromptElement
-
getTagName
protected java.lang.String getTagName()
- Overrides:
getTagNamein classDateElement
-
setMinimumValue
public void setMinimumValue(DateTime value)
Sets the minimum value.- Overrides:
setMinimumValuein classDateElement- Parameters:
value- Min value
-
setMaximumValue
public void setMaximumValue(DateTime value)
Sets the maximum value.- Overrides:
setMaximumValuein classDateElement- Parameters:
value- Max value
-
getMinimumValue
public DateTime getMinimumValue()
Returns the minimum value.- Overrides:
getMinimumValuein classDateElement- Returns:
- Min value
-
getMaximumValue
public DateTime getMaximumValue()
Returns the maximum value.- Overrides:
getMaximumValuein classDateElement- Returns:
- Max value
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin interfacePromptInterfaces.OutputFormat- Overrides:
getOutputFormatin 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:
setOutputFormatin interfacePromptInterfaces.OutputFormat- Overrides:
setOutputFormatin classDateElement- Parameters:
outputformat- Output format
-
-