|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.metadata.expr.CompoundConditionalExpression
public class CompoundConditionalExpression
Models a conditional expression that is made up of one or two sub-conditional expressions adjoined by an AND or OR relation, and optionally negated.
The abstract form of the expression is
[NOT] ( {Conditional or String Expression} {AND|OR} {Conditional or String Expression} )
The left and right expressions, when set, should have an expression type of ExpressionTypes.EXP_TYPE_BOOLEAN.
| Field Summary | |
|---|---|
static java.lang.String |
EVENT_LEFT_EXPRESSION_CHANGED
Indication that left portion of condition expression has changed. |
static java.lang.String |
EVENT_RELATION_TYPE_CHANGED
Indication that relational type has changed. |
static java.lang.String |
EVENT_RIGHT_EXPRESSION_CHANGED
Indication that right portion of condition expression has changed. |
| Fields inherited from class com.sas.iquery.metadata.expr.ConditionalExpression |
|---|
EVENT_NEGATION_CHANGED |
| Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
|---|
EVENT_OBJECT_PROPERTY_CHANGED |
| Fields inherited from interface com.sas.iquery.metadata.business.Base |
|---|
EVENT_OBJECT_DEFINITION_CHANGED |
| Constructor Summary | |
|---|---|
CompoundConditionalExpression()
|
|
| Method Summary | |
|---|---|
java.util.List |
getCascades(boolean recursive)
Returns the list of FilterCascadeInterfaces set on the filter. |
ExpressionInterface |
getExpression()
Returns the ExpressionInterface for this CascadableFilter. |
ExpressionInterface |
getLeftExpression()
Returns left portion of condition expression. |
ConditionalRelationType |
getRelationType()
Returns a relation type from the values in class ConditionalRelationType. |
ExpressionInterface |
getRightExpression()
Returns right portion of condition expression. |
void |
setCascades(java.util.List filterCascades)
Set the list of FilterCascadeInterfaces that are associated to this expression. |
void |
setLeftExpression(ExpressionInterface condExpr)
Sets the left expression |
void |
setRelationType(ConditionalRelationType relationType)
Sets the relation type with a value from class ConditionalRelationType |
void |
setRightExpression(ExpressionInterface condExpr)
Sets the right expression |
| Methods inherited from class com.sas.iquery.metadata.expr.ConditionalExpression |
|---|
getExpressionType, isNegated, setIsNegated |
| Methods inherited from interface com.sas.iquery.metadata.business.BusinessModelResourceReferencer |
|---|
getResources |
| Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee |
|---|
addListener, getListeners, removeListener |
| Methods inherited from interface com.sas.iquery.metadata.business.UsabilityInterface |
|---|
getReasonsUnusable, isUsableInQuery |
| Field Detail |
|---|
public static final java.lang.String EVENT_RELATION_TYPE_CHANGED
public static final java.lang.String EVENT_LEFT_EXPRESSION_CHANGED
public static final java.lang.String EVENT_RIGHT_EXPRESSION_CHANGED
| Constructor Detail |
|---|
public CompoundConditionalExpression()
| Method Detail |
|---|
public ConditionalRelationType getRelationType()
public void setRelationType(ConditionalRelationType relationType)
relationType - ConditionalRelationTypepublic void setLeftExpression(ExpressionInterface condExpr)
condExpr - the Expression to use for the left side of the conditionalpublic ExpressionInterface getLeftExpression()
public void setRightExpression(ExpressionInterface condExpr)
condExpr - the Expression to use for the right side of the conditionalpublic ExpressionInterface getRightExpression()
public void setCascades(java.util.List filterCascades)
setCascades in interface FilterCascadeContainerUpdaterfilterCascades - list of FilterCascadeInterfacespublic java.util.List getCascades(boolean recursive)
FilterCascadeContainer
getCascades in interface FilterCascadeContainerrecursive - determines if the list of filter cascades returned includes all the cascades from filters that make up
the current filter
FilterCascadeContainer.getCascades(boolean)public ExpressionInterface getExpression()
CascadableFilterExpressionInterface for this CascadableFilter.
getExpression in interface CascadableFilterExpressionInterfaceCascadableFilter.getExpression()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||