public class DBConfigValueParameter extends AbstractDBConfigParameter
Constructor and Description |
---|
DBConfigValueParameter() |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
Object |
getValue(org.adroitlogic.x.api.XMessageContext xMessageContext,
Object... args)
Returns the actual value to insert to the database for the relevant parameter.
|
boolean |
isParsingRequired()
Whether the payload should be parsed to extract parameter values.
|
void |
setValue(String value) |
String |
toString() |
void |
validate()
Checks whether the values of the parameter attributes are valid or not.
|
getName, setName
public String getValue()
public void setValue(String value)
public boolean isParsingRequired()
AbstractDBConfigParameter
isParsingRequired
in class AbstractDBConfigParameter
public void validate()
AbstractDBConfigParameter
validate
in class AbstractDBConfigParameter
public Object getValue(org.adroitlogic.x.api.XMessageContext xMessageContext, Object... args)
AbstractDBConfigParameter
getValue
in class AbstractDBConfigParameter
xMessageContext
- XMessageContext
instance of the message.args
- Any addition arguments required to extract the value.public String toString()
toString
in class AbstractDBConfigParameter
Copyright © 2016–2019 AdroitLogic. All rights reserved.