Package org.frankframework.parameters
Class DateParameter
java.lang.Object
org.frankframework.parameters.AbstractParameter
org.frankframework.parameters.DateParameter
- All Implemented Interfaces:
IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,IWithParameters
,IParameter
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.parameters.AbstractParameter
AbstractParameter.DefaultValueMethods, AbstractParameter.ParameterMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.frankframework.parameters.AbstractParameter
FIXEDHOSTNAME, FIXEDUID, paramList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Date
getValueAsType
(Message request, boolean namespaceAware) Converts raw data to configured parameter typevoid
setFormatString
(String string) Used in combination with typesDATE
,TIME
,DATETIME
andTIMESTAMP
to parse the raw parameter string data into an object of the respective typevoid
setFormatType
(DateParameter.DateFormatType formatType) void
setType
(ParameterType type) Deprecated.Methods inherited from class org.frankframework.parameters.AbstractParameter
addParameter, consumesSessionVariable, getApplicationContext, getAuthAlias, getConfigurationClassLoader, getContextKey, getDefaultValue, getDefaultValueMethods, getMaxLength, getMinLength, getMode, getName, getNamespaceDefs, getParameterList, getPassword, getPattern, getSessionKey, getSessionKeyXPath, getStyleSheetName, getType, getUsername, getValue, getValue, getXpathExpression, getXsltVersion, isHidden, isIgnoreUnresolvablePatternElements, isRemoveNamespaces, requiresInputValueForResolution, setApplicationContext, setAuthAlias, setContextKey, setDefaultValue, setDefaultValueMethods, setHidden, setIgnoreUnresolvablePatternElements, setMaxLength, setMinLength, setMode, setName, setNamespaceDefs, setPassword, setPattern, setRemoveNamespaces, setSessionKey, setSessionKeyXPath, setStyleSheetName, setUsername, setValue, setXpathExpression, setXsltVersion, toString
-
Field Details
-
TYPE_DATE_PATTERN
- See Also:
-
TYPE_TIME_PATTERN
- See Also:
-
TYPE_DATETIME_PATTERN
- See Also:
-
TYPE_TIMESTAMP_PATTERN
- See Also:
-
-
Constructor Details
-
DateParameter
public DateParameter()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractParameter
- Throws:
ConfigurationException
-
getValueAsType
protected Date getValueAsType(@Nonnull Message request, boolean namespaceAware) throws ParameterException, IOException Description copied from class:AbstractParameter
Converts raw data to configured parameter type- Overrides:
getValueAsType
in classAbstractParameter
- Throws:
ParameterException
IOException
-
setType
@Deprecated @ConfigurationWarning("use element DateParameter with attribute formatType instead") public void setType(ParameterType type) Deprecated.- Overrides:
setType
in classAbstractParameter
-
setFormatString
Used in combination with typesDATE
,TIME
,DATETIME
andTIMESTAMP
to parse the raw parameter string data into an object of the respective type- Default value
- depends on type
-
setFormatType
-
getFormatString
-