Package io.objectbox.generator
Class BoxGenerator
- java.lang.Object
-
- io.objectbox.generator.BoxGenerator
-
public class BoxGenerator extends java.lang.ObjectOnce you have your model created, use this class to generate box cursors as required by ObjectBox.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_PACKAGE_PATHstatic java.lang.StringMYOBJECTBOX_FTL
-
Constructor Summary
Constructors Constructor Description BoxGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateAll(GeneratorJob job)Generates all classes and other artifacts for the given job.
-
-
-
Field Detail
-
MYOBJECTBOX_FTL
public static final java.lang.String MYOBJECTBOX_FTL
- See Also:
- Constant Field Values
-
BASE_PACKAGE_PATH
public static final java.lang.String BASE_PACKAGE_PATH
- See Also:
- Constant Field Values
-
-
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
-
-