net.sf.farrago.ddl
Class DdlDropStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlDropStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
- Direct Known Subclasses:
- DdlDropLabelStmt
public class DdlDropStmt
- extends DdlStmt
DdlDropStmt represents a DDL DROP statement of any kind.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlDropStmt.java#17 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
restrict
private boolean restrict
DdlDropStmt
public DdlDropStmt(CwmModelElement droppedElement,
boolean restrict)
- Constructs a new DdlDropStmt.
- Parameters:
droppedElement
- top-level element dropped by this stmtrestrict
- whether DROP RESTRICT is in effect
isDropRestricted
public boolean isDropRestricted()
- Specified by:
isDropRestricted
in interface FarragoSessionDdlStmt
- Overrides:
isDropRestricted
in class DdlStmt
- Returns:
- whether DROP RESTRICT is in effect
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