|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.selection.step.Step | +--oracle.dss.selection.step.ConditionStep | +--oracle.dss.selection.step.MatchStep
Represents a step in a selection that specifies members of a particular dimension based on the way in which members match a specified string of characters. For example, it might specify members that match these characters: Size 12.
Field Summary | |
static int |
ANY Any label for the dimension member, including its value. |
static int |
BEGINS_WITH The begins with match type, which determines which members begin with a specified string of characters. |
static int |
CONTAINS The contains match type, which determines which members contain a specified string of characters. |
static int |
ENDS_WITH The ends with match type, which determines which members end with a specified string of characters. |
static int |
LONGLABEL The long label for the dimension member. |
static int |
MATCHES_EXACTLY The matches exactly match type, which determines which members exactly match a specified string of characters. |
static int |
MEDIUMLABEL The medium label for the dimension member. |
static int |
SHORTLABEL The short label for the dimension member. |
static java.lang.String |
STEP_STATE State Management support |
static int |
VALUE The value of the dimension member, as it appears in the database. |
Fields inherited from class oracle.dss.selection.step.Step |
ADD, BASE_STATE_INDEX, CURRENT_STATE_INDEX, KEEP, LONG, MEDIUM, REMOVE, SELECT, SHORT |
Constructor Summary | |
MatchStep() Constructor that does not specify any arguments. | |
MatchStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
MatchStep(java.lang.String dimensionName, int intMatchType, java.lang.String strMatchText) Constructor that specifies all arguments except a hierarchy and levels. | |
MatchStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, int intMatchType, java.lang.String strMatchText) Constructor that specifies all arguments. |
Method Summary | |
void |
copyFrom(Step step) Copies all fields from the specified Step object. |
boolean |
equals(java.lang.Object obj) Indicates whether one Step object is equivalent to another Step object. |
java.lang.Class |
getEvaluatorClass() Retrieves the StepEvaluator class object that is associated with this MatchStep object. |
int |
getLabelType() Retrieves the type of member label to match to the matched text. |
boolean |
getMatchCase() Indicates whether the capitalization of the match text is used in this MatchStep object. |
java.lang.String |
getMatchText() Retrieves the match text of this MatchStep object. |
int |
getMatchType() Retrieves the match type of this MatchStep object. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this MatchStep object. |
void |
setLabelType(int intLabelType) Specifies the type of member label to match to the matched text. |
void |
setMatchCase(boolean blnMatchCase) Specifies whether to use the capitalization of the match text in this MatchStep object. |
void |
setMatchText(java.lang.String strMatchText) Specifies the match text of this MatchStep object. |
void |
setMatchType(int intMatchType) Specifies the match type of this MatchStep object. |
java.lang.String |
toString() Generates the string representation of this MatchStep object. |
Methods inherited from class oracle.dss.selection.step.ConditionStep |
clone, getLevels, setLevels |
Methods inherited from class oracle.dss.selection.step.Step |
addPropertyChangeListener, getAction, getDescription, getDimension, getDispQDR, getHierarchy, getQDR, getQDRDescription, isEnabled, isValid, removePropertyChangeListener, setAction, setDescription, setDimension, setDispQDR, setEnabled, setHierarchy, setQDR, setQDRDescription, setValid |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CONTAINS
public static final int BEGINS_WITH
public static final int ENDS_WITH
public static final int MATCHES_EXACTLY
public static final int ANY
public static final int VALUE
public static final int LONGLABEL
public static final int MEDIUMLABEL
public static final int SHORTLABEL
public static final java.lang.String STEP_STATE
Constructor Detail |
public MatchStep()
public MatchStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public MatchStep(java.lang.String dimensionName, int intMatchType, java.lang.String strMatchText)
dimensionName
- The name of the dimension.intMatchType
- A constant that represents the match type. The valid constants are listed in the See Also section.strMatchText
- The character or characters that members are to match.BEGINS_WITH
, CONTAINS
, ENDS_WITH
, MATCHES_EXACTLY
public MatchStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, int intMatchType, java.lang.String strMatchText)
dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.levels
- The vector of levels.intMatchType
- A constant that represents the match type. The valid constants are listed in the See Also section.strMatchText
- The character or characters that members are to match.BEGINS_WITH
, CONTAINS
, ENDS_WITH
, MATCHES_EXACTLY
Method Detail |
public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class ConditionStep
obj
- The Step
object with which to compare.true
if the objects are completely equal; false
if they are not.public void copyFrom(Step step)
Step
object.copyFrom
in class ConditionStep
step
- The Step
object from which to copy fields.public java.lang.String toString()
MatchStep
object.toString
in class ConditionStep
MatchStep
object.public void setMatchType(int intMatchType) throws InvalidStepArgException
MatchStep
object.intMatchType
- A constant that represents the match type. The valid constants are listed in the See Also section.BEGINS_WITH
, CONTAINS
, ENDS_WITH
, MATCHES_EXACTLY
public int getMatchType()
MatchStep
object.BEGINS_WITH
, CONTAINS
, ENDS_WITH
, MATCHES_EXACTLY
public void setMatchText(java.lang.String strMatchText)
MatchStep
object.strMatchText
- The character or characters that members are to match.public java.lang.String getMatchText()
MatchStep
object.public void setLabelType(int intLabelType)
intLabelType
- A constant that represents the type of label. The valid constants are listed in the See Also section.ANY
, LONGLABEL
, MEDIUMLABEL
, SHORTLABEL
, VALUE
public int getLabelType()
ANY
, LONGLABEL
, MEDIUMLABEL
, SHORTLABEL
, VALUE
public void setMatchCase(boolean blnMatchCase)
MatchStep
object.blnMatchCase
- true
if the capitalization of the match text is to be used; false
if it is not.public boolean getMatchCase()
MatchStep
object.true
if the capitalization of the match text is used; false
if it is not.public java.lang.String getViewClassName()
StepView
class to use to edit this MatchStep
object. If the name is null, then retrieves the base StepView
class. Overrides the same method in the base Step
class.getViewClassName
in class Step
StepView
class.public java.lang.Class getEvaluatorClass() throws SelectionException
StepEvaluator
class object that is associated with this MatchStep
object. The QueryServer
object uses this class to instantiate the appropriate StepEvaluator
object.getEvaluatorClass
in class Step
Class
object.SelectionException
- If the StepEvaluator
class is not found.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |