Class ModelBuildPropertyVisitor
- java.lang.Object
-
- io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
-
- io.ebeaninternal.dbmigration.model.build.ModelBuildPropertyVisitor
-
- All Implemented Interfaces:
io.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor
public class ModelBuildPropertyVisitor extends io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
Used as part of ModelBuildBeanVisitor and generally adds the MColumn to the associated MTable model objects.
-
-
Constructor Summary
Constructors Constructor Description ModelBuildPropertyVisitor(ModelBuildContext ctx, MTable table, io.ebeaninternal.server.deploy.BeanDescriptor<?> beanDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitEmbeddedScalar(io.ebeaninternal.server.deploy.BeanProperty p, io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> embedded)voidvisitEnd()voidvisitMany(io.ebeaninternal.server.deploy.BeanPropertyAssocMany<?> p)voidvisitOneImported(io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> p)voidvisitScalar(io.ebeaninternal.server.deploy.BeanProperty p, boolean allowNonNull)
-
-
-
Constructor Detail
-
ModelBuildPropertyVisitor
public ModelBuildPropertyVisitor(ModelBuildContext ctx, MTable table, io.ebeaninternal.server.deploy.BeanDescriptor<?> beanDescriptor)
-
-
Method Detail
-
visitEnd
public void visitEnd()
-
visitMany
public void visitMany(io.ebeaninternal.server.deploy.BeanPropertyAssocMany<?> p)
- Specified by:
visitManyin interfaceio.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor- Overrides:
visitManyin classio.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
-
visitEmbeddedScalar
public void visitEmbeddedScalar(io.ebeaninternal.server.deploy.BeanProperty p, io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> embedded)
- Specified by:
visitEmbeddedScalarin interfaceio.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor- Specified by:
visitEmbeddedScalarin classio.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
-
visitOneImported
public void visitOneImported(io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> p)
- Specified by:
visitOneImportedin interfaceio.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor- Specified by:
visitOneImportedin classio.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
-
visitScalar
public void visitScalar(io.ebeaninternal.server.deploy.BeanProperty p, boolean allowNonNull)
- Specified by:
visitScalarin interfaceio.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor- Specified by:
visitScalarin classio.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
-
-