|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.business.step.CompoundStep
public class CompoundStep
Enables a user to group a set of steps together. A compound step brings the notion of parentheses within the list of steps. For example, (Blue Car Models with Sales GT 1M) and (Red Car Models with Sales GT 2M). CompoundSteps, like simple Steps are managed by the StepManager. Each CompoundStep can contains any number of Steps or CompoundSteps.
The following is a brief description of how AND/OR is applied by step
DataItem
,
StepInterface
Field Summary | |
---|---|
static java.lang.String |
AND_CONDITION
Definition of an AND condition in a compound step. |
static java.lang.String |
EVENT_CONDITION_TYPE_CHANGED
Indication that a condition defined in a step has changed |
static java.lang.String |
EVENT_NEGATION_CHANGED
Indication that a NOT condition in the MDX phrase has changed. |
static java.lang.String |
EVENT_STEPS_CHANGED
Indication that the list of steps defined in a compound step has changed |
static java.lang.String |
OR_CONDITION
Definition of an OR condition in a compound step. |
Fields inherited from interface com.sas.iquery.metadata.business.Base |
---|
EVENT_OBJECT_DEFINITION_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
---|
EVENT_OBJECT_PROPERTY_CHANGED |
Constructor Summary | |
---|---|
CompoundStep()
A constructor that initializes a CompoundStep |
Method Summary | |
---|---|
void |
addStep(StepInterface step)
This method adds a Step to the ordered list of Steps. |
java.util.List |
getSteps()
This method returns an ordered list of Steps. |
java.util.List |
getStepsConditions()
This method returns an ordered list of the condition (AND/OR) applied to steps. |
boolean |
isNegated()
Tests if the expression defined in the compound step are negated or defined with a NOT |
void |
setConditionType(java.lang.String stepCondition)
This method defines whether AND/OR condition for step connection. |
void |
setNegated(boolean isNegated)
Set that this compound step is negated |
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_NEGATION_CHANGED
public static final java.lang.String EVENT_STEPS_CHANGED
public static final java.lang.String EVENT_CONDITION_TYPE_CHANGED
public static final java.lang.String AND_CONDITION
public static final java.lang.String OR_CONDITION
Constructor Detail |
---|
public CompoundStep()
Method Detail |
---|
public void addStep(StepInterface step)
step
- The step to be added to the CompoundSteppublic boolean isNegated()
public void setNegated(boolean isNegated)
public void setConditionType(java.lang.String stepCondition)
stepCondition
- The stepCondition defines whether this is a AND/OR condition.public java.util.List getSteps()
public java.util.List getStepsConditions()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |