public class ETExpression extends ETObject
ETExpression
object represents an expression using property/value
in the Salesforce Marketing Cloud.Modifier and Type | Class and Description |
---|---|
static class |
ETExpression.Operator
Operator that can be used on ETExpression
|
Constructor and Description |
---|
ETExpression() |
Modifier and Type | Method and Description |
---|---|
void |
addSubexpression(ETExpression expression) |
void |
addValue(String value)
adds the new value with previous values.
|
ETExpression.Operator |
getOperator() |
String |
getProperty() |
List<ETExpression> |
getSubexpressions() |
String |
getValue() |
List<String> |
getValues() |
static ETExpression |
parse(String s)
parse the String to create ETExpression object.
|
void |
setOperator(ETExpression.Operator operator) |
void |
setOperator(String operator) |
void |
setProperty(String property) |
void |
setValue(String value)
clears the previous value and assigns the new one.
|
String |
toString() |
getAllFields, getAllFields, getClient, getField, getField, setClient
public String getProperty()
public void setProperty(String property)
property
- The property of the ETExpression object.public ETExpression.Operator getOperator()
public void setOperator(ETExpression.Operator operator)
operator
- The operator of the ETExpression object.public void setOperator(String operator)
operator
- The operator of the ETExpression object.public String getValue()
public void setValue(String value)
value
- The value of the ETExpression object.public void addValue(String value)
value
- The value of the ETExpression object.public List<ETExpression> getSubexpressions()
public void addSubexpression(ETExpression expression)
expression
- The subexpression of the ETExpression object.public static ETExpression parse(String s) throws ETSdkException
s
- The String to be parsed to create the ETExpression object.ETSdkException
Copyright © 2017. All rights reserved.