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

    Modifier and Type
    Method
    Description
    void
    visitEmbeddedScalar(io.ebeaninternal.server.deploy.BeanProperty p, io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> embedded)
     
    void
     
    void
    visitMany(io.ebeaninternal.server.deploy.BeanPropertyAssocMany<?> p)
     
    void
    visitOneImported(io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> p)
     
    void
    visitScalar(io.ebeaninternal.server.deploy.BeanProperty p, boolean allowNonNull)
     

    Methods inherited from class io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor

    visitEmbedded, visitOneExported

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • visitEnd

      public void visitEnd()
    • visitMany

      public void visitMany(io.ebeaninternal.server.deploy.BeanPropertyAssocMany<?> p)
      Specified by:
      visitMany in interface io.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor
      Overrides:
      visitMany in class io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
    • visitEmbeddedScalar

      public void visitEmbeddedScalar(io.ebeaninternal.server.deploy.BeanProperty p, io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> embedded)
      Specified by:
      visitEmbeddedScalar in interface io.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor
      Specified by:
      visitEmbeddedScalar in class io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
    • visitOneImported

      public void visitOneImported(io.ebeaninternal.server.deploy.BeanPropertyAssocOne<?> p)
      Specified by:
      visitOneImported in interface io.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor
      Specified by:
      visitOneImported in class io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor
    • visitScalar

      public void visitScalar(io.ebeaninternal.server.deploy.BeanProperty p, boolean allowNonNull)
      Specified by:
      visitScalar in interface io.ebeaninternal.server.deploy.visitor.BeanPropertyVisitor
      Specified by:
      visitScalar in class io.ebeaninternal.server.deploy.visitor.BaseTablePropertyVisitor