net.sf.farrago.ddl
Class DdlDropLabelStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlDropStmt
net.sf.farrago.ddl.DdlDropLabelStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
public class DdlDropLabelStmt
- extends DdlDropStmt
DdlDropLabelStmt extends DdlDropStmt to remove obsolete label statistics.
Repository design constraints related to upgrade prevent the statistics from
being associated with the label itself. They are instead associated
implicitly via time stamps. Therefore, drop rules are insufficient to trigger
the necessary deletions. Avoid this pattern whenever possible!
- Author:
- Stephan Zuercher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DdlDropLabelStmt
public DdlDropLabelStmt(FemLabel droppedElement,
boolean restrict)
- Constructs a new DdlDropLabelStmt.
- Parameters:
droppedElement
- FemLabel dropped by this stmtrestrict
- 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 DdlDropStmt
- Parameters:
ddlValidator
- the object validating this stmt