net.sf.farrago.ddl
Class DdlSetSessionParamStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlSetSessionParamStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
public class DdlSetSessionParamStmt
- extends DdlStmt
DdlSetSessionParamStmt represents the ALTER SESSION SET ... statement.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetSessionParamStmt.java#8 $
- Author:
- John Pham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paramName
private final String paramName
paramValue
private final SqlLiteral paramValue
labelParamValue
private FemLabel labelParamValue
DdlSetSessionParamStmt
public DdlSetSessionParamStmt(String paramName,
SqlLiteral paramValue)
- Constructs a new DdlSetSessionParamStmt.
- Parameters:
paramName
- name of parameter to setparamValue
- new value for parameter
preValidate
public void preValidate(FarragoSessionDdlValidator ddlValidator)
- Description copied from interface:
FarragoSessionDdlStmt
- Called before generic validation.
- Specified by:
preValidate
in interface FarragoSessionDdlStmt
- Overrides:
preValidate
in class DdlStmt
- Parameters:
ddlValidator
- the object validating this stmt
visit
public void visit(DdlVisitor visitor)
- Description copied from class:
DdlStmt
- Invokes a visitor on this statement.
- Specified by:
visit
in class DdlStmt
- Parameters:
visitor
- DdlVisitor to invoke
getParamName
public String getParamName()
- Returns:
- the name of the parameter being set
getLabelParamValue
public FemLabel getLabelParamValue()
- Returns:
- the value of the parameter if the label parameter is being set