Package org.frankframework.parameters
Enum Class ParameterType
- All Implemented Interfaces:
Serializable
,Comparable<ParameterType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionForces the parameter value to be treated as binary data (e.g. when using a SQL BLOB field).Converts the result to a BooleanDeprecated.Forces the parameter value to be treated as character data (e.g. when using a SQL CLOB field).Converts the result to a Date, by default using formatStringyyyy-MM-dd
.Converts the result to a Date, by default using formatStringyyyy-MM-dd HH:mm:ss
.Renders XML as a DOM document; similar tonode
with the distinction that there is always a common root node (required for XSLT 2.0)Deprecated.Converts the result to an IntegerUsed for StoredProcedure OUT parameters when the database type is aCURSOR
orJDBCType.REF_CURSOR
.Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Converts the result to a Number, using decimalSeparator and groupingSeparator.Renders the contents of the first node (in combination with xslt or xpath).Converts the result to a Date, by default using formatStringHH:mm:ss
.Similar toDATETIME
, except for the formatString that isyyyy-MM-dd HH:mm:ss.SSS
by defaultRenders an xml-nodeset as an xml-string (in combination with xslt or xpath).Converts the result from a XML formatted dateTime to a Date. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends IParameter>
static ParameterType
Returns the enum constant of this class with the specified name.static ParameterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
Renders the contents of the first node (in combination with xslt or xpath). Please note that if there are child nodes, only the contents are returned, useXML
if the xml tags are required -
XML
Renders an xml-nodeset as an xml-string (in combination with xslt or xpath). This will include the xml tags -
NODE
@ConfigurationWarning("ParameterType NODE is deprecated, use DOMDOC instead") @Deprecated(since="9.0.0", forRemoval=true) public static final ParameterType NODEDeprecated, for removal: This API element is subject to removal in a future version.Renders the CONTENTS of the first node as a nodeset that can be used as such when passed as xslt-parameter (only for XSLT 1.0). Please note that the nodeset may contain multiple nodes, without a common root node. N.B. The result is the set of children of what you might expect it to be... -
DOMDOC
Renders XML as a DOM document; similar tonode
with the distinction that there is always a common root node (required for XSLT 2.0) -
DATE
Converts the result to a Date, by default using formatStringyyyy-MM-dd
. When applied as a JDBC parameter, the method setDate() is used -
TIME
Converts the result to a Date, by default using formatStringHH:mm:ss
. When applied as a JDBC parameter, the method setTime() is used -
DATETIME
Converts the result to a Date, by default using formatStringyyyy-MM-dd HH:mm:ss
. When applied as a JDBC parameter, the method setTimestamp() is used -
TIMESTAMP
Similar toDATETIME
, except for the formatString that isyyyy-MM-dd HH:mm:ss.SSS
by default -
XMLDATETIME
Converts the result from a XML formatted dateTime to a Date. When applied as a JDBC parameter, the method setTimestamp() is used -
NUMBER
Converts the result to a Number, using decimalSeparator and groupingSeparator. When applied as a JDBC parameter, the method setDouble() is used -
INTEGER
Converts the result to an Integer -
BOOLEAN
Converts the result to a Boolean -
INPUTSTREAM
@ConfigurationWarning("use type [BINARY] instead") @Deprecated public static final ParameterType INPUTSTREAMDeprecated.Only applicable as a JDBC parameter, the method setBinaryStream() is used -
BYTES
@ConfigurationWarning("use type [BINARY] instead") @Deprecated public static final ParameterType BYTESDeprecated.Only applicable as a JDBC parameter, the method setBytes() is used -
BINARY
Forces the parameter value to be treated as binary data (e.g. when using a SQL BLOB field). When applied as a JDBC parameter, the method setBinaryStream() or setBytes() is used -
CHARACTER
Forces the parameter value to be treated as character data (e.g. when using a SQL CLOB field). When applied as a JDBC parameter, the method setCharacterStream() or setString() is used -
LIST
Used for StoredProcedure OUT parameters when the database type is aCURSOR
orJDBCType.REF_CURSOR
. See alsoStoredProcedureQuerySender
.
DEPRECATED: Type LIST can also be used in larva test to Convert a List to an xml-string (<items><item>...</item><item>...</item></items>) -
MAP
Deprecated.(Used in larva only) Converts a Map<String, String> object to a xml-string (<items><item name='...'>...</item><item name='...'>...</item></items>)
-
-
Field Details
-
requiresTypeConversion
public final boolean requiresTypeConversion
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeClass
-