public class Property extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DATA_TYPE_BOOLEAN |
static String |
DATA_TYPE_DOUBLE |
static String |
DATA_TYPE_FLOAT |
static String |
DATA_TYPE_INTEGER |
static String |
DATA_TYPE_LONG |
static String |
DATA_TYPE_STRING |
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
Object |
extractPropertyValue(org.apache.synapse.MessageContext messageContext)
Extracts the property value from message context based on either value of expression attribute
|
org.wso2.carbon.databridge.commons.AttributeType |
getDatabridgeAttributeType()
Returns the data bridge attribute type of this object
|
String |
getDefaultValue() |
org.apache.synapse.util.xpath.SynapseXPath |
getExpression() |
String |
getKey() |
String |
getType() |
String |
getValue() |
void |
setDefaultValue(String defaultValue) |
void |
setExpression(org.apache.synapse.util.xpath.SynapseXPath expression) |
void |
setKey(String key) |
void |
setType(String type) |
void |
setValue(String value) |
public static final String DATA_TYPE_STRING
public static final String DATA_TYPE_INTEGER
public static final String DATA_TYPE_FLOAT
public static final String DATA_TYPE_DOUBLE
public static final String DATA_TYPE_BOOLEAN
public static final String DATA_TYPE_LONG
public String getKey()
public void setKey(String key)
public String getValue()
public void setValue(String value)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public org.apache.synapse.util.xpath.SynapseXPath getExpression()
public void setExpression(org.apache.synapse.util.xpath.SynapseXPath expression)
public String getType()
public org.wso2.carbon.databridge.commons.AttributeType getDatabridgeAttributeType() throws org.apache.synapse.SynapseException
org.apache.synapse.SynapseException
public void setType(String type)
public Object extractPropertyValue(org.apache.synapse.MessageContext messageContext) throws org.apache.synapse.SynapseException
messageContext
- Message context from which the value should be extractedorg.apache.synapse.SynapseException
Copyright © 2018 WSO2. All rights reserved.