public class BaseServiceOutputParameter extends BaseServiceParameter implements ServiceOutputParameter
Modifier and Type | Field and Description |
---|---|
protected String |
missingValueConfig |
protected String |
missingValueDefault |
protected String |
nullValueConfig |
protected String |
nullValueDefault |
protected String |
path |
description, displayName, mappingName, name, type
MISSING_VALUE_CONFIG_IGNORE, MISSING_VALUE_CONFIG_SET_TO_DEFAULT, MISSING_VALUE_CONFIG_SET_TO_NULL, MISSING_VALUE_CONFIG_THROW_EXCEPTION, NULL_VALUE_CONFIG_REMOVE, NULL_VALUE_CONFIG_SET_TO_DEFAULT, NULL_VALUE_CONFIG_SET_TO_NULL, NULL_VALUE_CONFIG_THROW_EXCEPTION
Constructor and Description |
---|
BaseServiceOutputParameter() |
Modifier and Type | Method and Description |
---|---|
String |
getMissingValueConfig()
Returns the configuration on how to handle a missing value returned by the service invocation by this parameter.
|
String |
getMissingValueDefault()
If the null value config returned by
ServiceOutputParameter.getMissingValueConfig() is set to ServiceOutputParameter.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). |
String |
getNullValueConfig()
Returns the configuration on how to handle a null value returned by the service invocation by this parameter.
|
String |
getNullValueDefault()
If the null value config returned by
ServiceOutputParameter.getNullValueConfig() is set to ServiceOutputParameter.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). |
String |
getPath()
Returns the optional path where the parameter value will be retrieved out of the returned service invocation result.
|
void |
setMissingValueConfig(String missingValueConfig) |
void |
setMissingValueDefault(String missingValueDefault) |
void |
setNullValueConfig(String nullValueConfig) |
void |
setNullValueDefault(String nullValueDefault) |
void |
setPath(String path) |
getDescription, getDisplayName, getMappingName, getName, getType, setDescription, setDisplayName, setMappingName, setName, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDisplayName, getMappingName, getName, getType
protected String path
protected String nullValueConfig
protected String missingValueConfig
protected String nullValueDefault
protected String missingValueDefault
public String getPath()
ServiceOutputParameter
getPath
in interface ServiceOutputParameter
public void setPath(String path)
public String getNullValueConfig()
ServiceOutputParameter
getNullValueConfig
in interface ServiceOutputParameter
public void setNullValueConfig(String nullValueConfig)
public String getMissingValueConfig()
ServiceOutputParameter
getMissingValueConfig
in interface ServiceOutputParameter
public void setMissingValueConfig(String missingValueConfig)
public String getNullValueDefault()
ServiceOutputParameter
ServiceOutputParameter.getNullValueConfig()
is set to ServiceOutputParameter.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).getNullValueDefault
in interface ServiceOutputParameter
public void setNullValueDefault(String nullValueDefault)
public String getMissingValueDefault()
ServiceOutputParameter
ServiceOutputParameter.getMissingValueConfig()
is set to ServiceOutputParameter.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).getMissingValueDefault
in interface ServiceOutputParameter
public void setMissingValueDefault(String missingValueDefault)