public class DBConfigVariableParameter extends AbstractDBConfigParameter
Constructor and Description |
---|
DBConfigVariableParameter() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClassName() |
Object |
getValue(org.adroitlogic.x.api.XMessageContext xMessageContext,
Object... args)
Returns the actual value to insert to the database for the relevant parameter.
|
String |
getVariableName() |
boolean |
isParsingRequired()
Whether the payload should be parsed to extract parameter values.
|
boolean |
isPropagateToParent() |
void |
setClassName(Class<?> className) |
void |
setPropagateToParent(boolean propagateToParent) |
void |
setVariableName(String variableName) |
String |
toString() |
void |
validate()
Checks whether the values of the parameter attributes are valid or not.
|
getName, setName
public String getVariableName()
public void setVariableName(String variableName)
public Class<?> getClassName()
public void setClassName(Class<?> className)
public boolean isPropagateToParent()
public void setPropagateToParent(boolean propagateToParent)
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.