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 ClassesNested classes/interfaces inherited from class org.frankframework.parameters.AbstractParameter
AbstractParameter.DefaultValueMethods, AbstractParameter.ParameterMode
-
Field Summary
Fields inherited from class org.frankframework.parameters.AbstractParameter
FIXEDHOSTNAME, FIXEDUID, paramList, TYPE_DATE_PATTERN, TYPE_DATETIME_PATTERN, TYPE_TIME_PATTERN, TYPE_TIMESTAMP_PATTERN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Object
getValueAsType
(Object 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
-
Constructor Details
-
DateParameter
public DateParameter()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractParameter
- Throws:
ConfigurationException
-
getValueAsType
protected Object getValueAsType(Object 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
-