net.sf.farrago.ddl
Class DdlGrantStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlGrantStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
- Direct Known Subclasses:
- DdlGrantPrivStmt, DdlGrantRoleStmt
public abstract class DdlGrantStmt
- extends DdlStmt
DdlGrantStmt represents a DDL GRANT statement.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlGrantStmt.java#12 $
- Author:
- Quoc Tai Tran
Constructor Summary |
DdlGrantStmt()
Constructs a new DdlGrantStmt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
grantOption
protected boolean grantOption
currentRoleOption
protected boolean currentRoleOption
currentUserOption
protected boolean currentUserOption
granteeList
protected List<SqlIdentifier> granteeList
DdlGrantStmt
public DdlGrantStmt()
- Constructs a new DdlGrantStmt.
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
setGranteeList
public void setGranteeList(List<SqlIdentifier> granteeList)
setGrantOption
public void setGrantOption(boolean grantOption)
setCurrentRoleOption
public void setCurrentRoleOption(boolean currentRoleOption)
setCurrentUserOption
public void setCurrentUserOption(boolean currentUserOption)
determineGrantor
public FemAuthId determineGrantor(FarragoSessionDdlValidator ddlValidator)