Class BoxGenerator


  • public class BoxGenerator
    extends java.lang.Object
    Once you have your model created, use this class to generate box cursors as required by ObjectBox.
    • Constructor Summary

      Constructors 
      Constructor Description
      BoxGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generateAll​(GeneratorJob job)
      Generates all classes and other artifacts for the given job.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BoxGenerator

        public BoxGenerator()
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • generateAll

        public void generateAll​(GeneratorJob job)
                         throws java.lang.Exception
        Generates all classes and other artifacts for the given job. Assumes the given schema is finished.
        Throws:
        java.lang.Exception