|
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.AttributeStep
Represents a step in a selection that specifies members of a particular dimension based on an attribute. For example, it might specify members with a color of red.
Field Summary | |
static int |
OP_EQUAL The equal operator. |
static int |
OP_NOT_EQUAL The not equal operator. |
static java.lang.String |
STEP_STATE State Management support |
Fields inherited from class oracle.dss.selection.step.Step |
ADD, BASE_STATE_INDEX, CURRENT_STATE_INDEX, KEEP, LONG, MEDIUM, REMOVE, SELECT, SHORT |
Constructor Summary | |
AttributeStep() Constructor that does not specify any arguments. | |
AttributeStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
AttributeStep(java.lang.String dimensionName, java.lang.String attribute, java.util.Vector attributeValues) Constructor that specifies all arguments except a hierarchy, levels, and an operator. | |
AttributeStep(java.lang.String dimensionName, java.lang.String attribute, java.util.Vector attributeValues, int attributeOp) Constructor that specifies all arguments except a hierarchy and levels. | |
AttributeStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.String attribute, java.util.Vector attributeValues, int attributeOp) Constructor that specifies all arguments. |
Method Summary | |
java.lang.Object |
clone() Creates a copy of this AttributeStep object. |
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.String |
getAttribute() Retrieves the attribute of this AttributeStep object. |
int |
getAttributeOp() Retrieves the operator for this AttributeStep object. |
java.util.Vector |
getAttributeValues() Retrieves the members of this AttributeStep object. |
java.lang.Class |
getEvaluatorClass() Retrieves the StepEvaluator class object that is associated with this AttributeStep object. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this AttributeStep object. |
void |
setAttribute(java.lang.String Attribute) Specifies the attribute of this AttributeStep object. |
void |
setAttributeOp(int op) Specifies the operator for this AttributeStep object. |
void |
setAttributeValues(java.util.Vector AttributeValues) Specifes the members of this AttributeStep object. |
java.lang.String |
toString() Generates the string representation of this AttributeStep object. |
Methods inherited from class oracle.dss.selection.step.ConditionStep |
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 OP_EQUAL
public static final int OP_NOT_EQUAL
public static final java.lang.String STEP_STATE
Constructor Detail |
public AttributeStep()
public AttributeStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public AttributeStep(java.lang.String dimensionName, java.lang.String attribute, java.util.Vector attributeValues)
dimensionName
- The name of the dimension.attribute
- The name of the attribute.attributeValues
- The vector of attribute members.public AttributeStep(java.lang.String dimensionName, java.lang.String attribute, java.util.Vector attributeValues, int attributeOp)
dimensionName
- The name of the dimension.attribute
- The name of the attribute.attributeValues
- The vector of attribute members.attributeOp
- A constant that represents the operator. The valid constants are OP_EQUAL
and OP_NOT_EQUAL
.OP_EQUAL
, OP_NOT_EQUAL
public AttributeStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.String attribute, java.util.Vector attributeValues, int attributeOp)
dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.levels
- The vector of levels.attribute
- The name of the attribute.attributeValues
- The vector of attribute members.attributeOp
- A constant that represents the operator. The valid constants are OP_EQUAL
and OP_NOT_EQUAL
.OP_EQUAL
, OP_NOT_EQUAL
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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
AttributeStep
object.clone
in class ConditionStep
AttributeStep
object.java.lang.CloneNotSupportedException
- If cloning is not supported for any fields.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()
AttributeStep
object.toString
in class ConditionStep
AttributeStep
object.public void setAttribute(java.lang.String Attribute)
AttributeStep
object.Attribute
- The name of the attribute.public java.lang.String getAttribute()
AttributeStep
object.public void setAttributeValues(java.util.Vector AttributeValues)
AttributeStep
object.AttributeValues
- The vector of attribute members.public java.util.Vector getAttributeValues()
AttributeStep
object.public void setAttributeOp(int op)
AttributeStep
object.op
- A constant that represents the operator. The valid constants are OP_EQUAL
and OP_NOT_EQUAL
.OP_EQUAL
, OP_NOT_EQUAL
public int getAttributeOp()
AttributeStep
object.OP_EQUAL
and OP_NOT_EQUAL
.OP_EQUAL
, OP_NOT_EQUAL
public java.lang.String getViewClassName()
StepView
class to use to edit this AttributeStep
object. If the name is null, 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 AttributeStep
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 |