public class DropTableVisitor extends Object implements BeanVisitor
| Constructor and Description |
|---|
DropTableVisitor(DdlGenContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
visitBean(BeanDescriptor<?> descriptor)
Visit a BeanDescriptor and return true to continue visiting the bean
(return false to skip visiting this bean).
|
void |
visitBeanEnd(BeanDescriptor<?> descriptor)
Finished visiting the BeanDescriptor.
|
void |
visitBegin()
Starting.
|
void |
visitEnd()
Finished all visiting.
|
PropertyVisitor |
visitProperty(BeanProperty p)
Visit a property potentially return a specific PropertyVisitor.
|
protected void |
writeDropTable(BeanDescriptor<?> descriptor) |
protected void |
writeDropTable(String tableName) |
public DropTableVisitor(DdlGenContext ctx)
protected void writeDropTable(BeanDescriptor<?> descriptor)
protected void writeDropTable(String tableName)
public boolean visitBean(BeanDescriptor<?> descriptor)
BeanVisitorvisitBean in interface BeanVisitorpublic void visitBeanEnd(BeanDescriptor<?> descriptor)
BeanVisitorvisitBeanEnd in interface BeanVisitorpublic void visitBegin()
BeanVisitorvisitBegin in interface BeanVisitorpublic void visitEnd()
BeanVisitorvisitEnd in interface BeanVisitorpublic PropertyVisitor visitProperty(BeanProperty p)
BeanVisitorA PropertyVisitor can be returned to more easily process bean properties by their specific type.
visitProperty in interface BeanVisitorCopyright © 2014. All Rights Reserved.