Interface ServiceOutputParameter

All Superinterfaces:
ServiceParameter
All Known Implementing Classes:
BaseServiceOutputParameter

public interface ServiceOutputParameter
extends ServiceParameter
The interface of a service output parameter used in a service definition.
Author:
Micha Kiener
  • Field Details

  • Method Details

    • getPath

      java.lang.String getPath()
      Returns the optional path where the parameter value will be retrieved out of the returned service invocation result.
      Returns:
      the optional path for the result value
    • getNullValueConfig

      java.lang.String getNullValueConfig()
      Returns the configuration on how to handle a null value returned by the service invocation by this parameter. Might be 'remove', 'setToDefault', 'setToNull' or 'throwException' (see constant definition documentation for details).
      Returns:
      the configuration on how to handle a null value as the output for this parameter
    • getMissingValueConfig

      java.lang.String getMissingValueConfig()
      Returns the configuration on how to handle a missing value returned by the service invocation by this parameter. Might be 'ignore', 'setToDefault', 'setToNull' or 'throwException' (see constant definition documentation for details).
      Returns:
      the configuration on how to handle a missing value as the output for this parameter
    • getNullValueDefault

      java.lang.String getNullValueDefault()
      If the null value config returned by getNullValueConfig() is set to NULL_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).
      Returns:
      the optional default value to be used if the null value config is actually set to default
    • getMissingValueDefault

      java.lang.String getMissingValueDefault()
      If the null value config returned by getMissingValueConfig() is set to MISSING_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).
      Returns:
      the optional default value to be used if the missing value config is actually set to default