Annotation Type Entity
-
@Retention(SOURCE) @Target(TYPE) public @interface EntityAnnotation for entities greenDAO only persist objects of classes which are marked with this annotation
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanactiveWhether update/delete/refresh methods should be generated.booleancreateInDbAdvanced flag to disable table creation in the database (when set to false).booleangenerateConstructorsWhether an all properties constructor should be generated.booleangenerateGettersSettersWhether getters and setters for properties should be generated if missing.Index[]indexesIndexes for the entity.java.lang.StringnameInDbSpecifies the name on the DB side (e.g.java.lang.ClassprotobufDefine a protobuf class of this entity to create an additional, special DAO for.java.lang.StringschemaSpecifies schema name for the entity: greenDAO can generate independent sets of classes for each schema.
-