public class FieldNextIf extends Field
getLeftExpression() / setLeftExpression(java.lang.String) and getRightExpression() / setRightExpression(java.lang.String) in comparison using the operator designated by getComparisonOperator() / setComparisonOperator(java.lang.String). If the comparison is true, the next data record is merged into the current merge document. (Merge fields that follow the NEXTIF in the main document are replaced by values from the next data record rather than the current data record.) If the comparison is false, the next data record is merged into a new merge document.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComparisonOperator()
Gets the comparison operator.
|
java.lang.String |
getLeftExpression()
Gets the left part of the comparison expression.
|
java.lang.String |
getRightExpression()
Gets the right part of the comparison expression.
|
void |
setComparisonOperator(java.lang.String value)
Sets the comparison operator.
|
void |
setLeftExpression(java.lang.String value)
Sets the left part of the comparison expression.
|
void |
setRightExpression(java.lang.String value)
Sets the right part of the comparison expression.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, getType, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic java.lang.String getLeftExpression()
public void setLeftExpression(java.lang.String value)
throws java.lang.Exception
value - The left part of the comparison expression.java.lang.Exceptionpublic java.lang.String getComparisonOperator()
public void setComparisonOperator(java.lang.String value)
throws java.lang.Exception
value - The comparison operator.java.lang.Exceptionpublic java.lang.String getRightExpression()
public void setRightExpression(java.lang.String value)
throws java.lang.Exception
value - The right part of the comparison expression.java.lang.Exception