com.sas.servlet.beans.mdtable
Class UpCommand

java.lang.Object
  |
  +--com.sas.servlet.beans.mdtable.MDCommand
        |
        +--com.sas.servlet.beans.mdtable.DrillDownCommand
              |
              +--com.sas.servlet.beans.mdtable.UpCommand

public class UpCommand
extends DrillDownCommand

The UpCommand object represents the information needed execute or remove an up action on the model.


Constructor Summary
UpCommand(String name, String type, String axis, AxisLabelInterface axisLabel, AxisLabelInterface drillLabel)
          UpCommand constructor.
 
Method Summary
 AxisLabelInterface getDrillLabel()
          Returns the AxisLabelInterface object that was drilled upon to get to the current level
 void setDrillLabel(AxisLabelInterface drillLabel)
          Sets the AxisLabelInterface object that was drilled upon to get to the current level
 String toString()
           
 
Methods inherited from class com.sas.servlet.beans.mdtable.DrillDownCommand
clone, getAxisLabel, setAxisLabel
 
Methods inherited from class com.sas.servlet.beans.mdtable.MDCommand
getActive, getAxis, getName, getType, setActive, setAxis, setName, setType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpCommand

public UpCommand(String name,
                 String type,
                 String axis,
                 AxisLabelInterface axisLabel,
                 AxisLabelInterface drillLabel)
UpCommand constructor.
Parameters:
name - name of command
type - type of command
axis - axis associated with the command
axisLabel - the AxisLabelInterface object associated with the drill-down action
drillLabel - the AxisLabelInterface object that was drilled upon to get to the current level
See Also:
MDCommand.setName(java.lang.String), MDCommand.setType(java.lang.String), MDCommand.setAxis(java.lang.String), com.sas.servlet.beans.mdtable.MDCommand#setDrillLabel, DrillDownCommand.setAxisLabel(com.sas.mdtable.AxisLabelInterface), setDrillLabel(com.sas.mdtable.AxisLabelInterface), AxisLabelInterface
Method Detail

toString

public String toString()
Overrides:
toString in class DrillDownCommand

getDrillLabel

public AxisLabelInterface getDrillLabel()
Returns the AxisLabelInterface object that was drilled upon to get to the current level
Returns:
the AxisLabelInterface object that was drilled upon to get to the current level
See Also:
setDrillLabel(com.sas.mdtable.AxisLabelInterface)

setDrillLabel

public void setDrillLabel(AxisLabelInterface drillLabel)
Sets the AxisLabelInterface object that was drilled upon to get to the current level
Parameters:
drillLabel - the AxisLabelInterface object that was drilled upon to get to the current level
See Also:
getDrillLabel()


Version: 1.2.20000317.001 Formatted: 2000/07/06 15:57:33PM