net.sf.farrago.ddl
Class DdlSetSessionImplementationStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlSetSessionImplementationStmt
All Implemented Interfaces:
FarragoSessionDdlStmt

public class DdlSetSessionImplementationStmt
extends DdlStmt

DdlSetSessionImplementationStmt represents an ALTER SESSION {SET|ADD} IMPLEMENTATION LIBRARY statement.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetSessionImplementationStmt.java#11 $
Author:
John V. Sichi

Field Summary
private  boolean add
           
private  FemJar femJar
           
private  SqlIdentifier jarName
           
 
Constructor Summary
DdlSetSessionImplementationStmt(SqlIdentifier jarName, boolean add)
           
 
Method Summary
 FarragoSessionPersonality newPersonality(FarragoSession session, FarragoSessionPersonality defaultPersonality)
           
 void preValidate(FarragoSessionDdlValidator ddlValidator)
          Called before generic validation.
 void visit(DdlVisitor visitor)
          Invokes a visitor on this statement.
 
Methods inherited from class net.sf.farrago.ddl.DdlStmt
getModelElement, isDropRestricted, postCommit, postExecute, preExecute, requiresCommit, runsAsDml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jarName

private final SqlIdentifier jarName

add

private final boolean add

femJar

private FemJar femJar
Constructor Detail

DdlSetSessionImplementationStmt

public DdlSetSessionImplementationStmt(SqlIdentifier jarName,
                                       boolean add)
Method Detail

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

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

newPersonality

public FarragoSessionPersonality newPersonality(FarragoSession session,
                                                FarragoSessionPersonality defaultPersonality)