Skip navigation links
B C E G I J K N O P T U 

B

Beta - Annotation Type in org.greenrobot.greendao.annotation.apihint
APIs annotated with @Beta may change and may be even removed in a future release (but is somewhat less likely compared to Experimental).

C

Convert - Annotation Type in org.greenrobot.greendao.annotation
Specifies PropertyConverter for the field to support custom types
convertToDatabaseValue(P) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
 
convertToEntityProperty(D) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
 

E

Entity - Annotation Type in org.greenrobot.greendao.annotation
Annotation for entities greenDAO only persist objects of classes which are marked with this annotation
Experimental - Annotation Type in org.greenrobot.greendao.annotation.apihint
APIs annotated with @Experimental are likely to change and may be even removed in a future release.

G

Generated - Annotation Type in org.greenrobot.greendao.annotation
Marks that a field, constructor or method was generated by greenDAO All the code elements that are marked with this annotation can be changed/removed during next run of generation in respect of model changes.

I

Id - Annotation Type in org.greenrobot.greendao.annotation
Marks field is the primary key of the entity's table
Index - Annotation Type in org.greenrobot.greendao.annotation
Can be used to: - specifies that the property should be indexed - define multi-column index through Entity.indexes()
Internal - Annotation Type in org.greenrobot.greendao.annotation.apihint
APIs annotated with @Internal must NOT be used.

J

JoinEntity - Annotation Type in org.greenrobot.greendao.annotation
Defines *-to-* relation with join table
JoinProperty - Annotation Type in org.greenrobot.greendao.annotation
Defines name and referencedName properties for relations

K

Keep - Annotation Type in org.greenrobot.greendao.annotation
Specifies that the target should be kept during next run of greenDAO generation.

N

NotNull - Annotation Type in org.greenrobot.greendao.annotation
Specifies that property is not null You can also use any another NotNull or NonNull annotation (from any library or your own), they are equal to using this

O

OrderBy - Annotation Type in org.greenrobot.greendao.annotation
Specifies ordering of related collection of ToMany relation E.g.: @OrderBy("name, age DESC") List collection; If used as marker (@OrderBy List collection), then collection is ordered by primary key
org.greenrobot.greendao.annotation - package org.greenrobot.greendao.annotation
 
org.greenrobot.greendao.annotation.apihint - package org.greenrobot.greendao.annotation.apihint
 
org.greenrobot.greendao.converter - package org.greenrobot.greendao.converter
 

P

Property - Annotation Type in org.greenrobot.greendao.annotation
Optional: configures the mapped column for a persistent field.
PropertyConverter<P,D> - Interface in org.greenrobot.greendao.converter
To use custom types in your entity, implement this to convert db values to entity values and back.

T

ToMany - Annotation Type in org.greenrobot.greendao.annotation
Defines *-to-N relation
ToOne - Annotation Type in org.greenrobot.greendao.annotation
Defines *-to-1 relation with base on existing property as foreign key or with base on automatically created backing column In case foreignKey is not specified, the following annotations can be applied together with @ToOne: - Property to specify backing column name - Unique to put the unique constraint on backing column during table creation - NotNull to put the NOT NULL constraint on backing column during table creation
Transient - Annotation Type in org.greenrobot.greendao.annotation
Transient fields are not persisted in the database.

U

Unique - Annotation Type in org.greenrobot.greendao.annotation
Marks property should have a UNIQUE constraint during table creation.
B C E G I J K N O P T U 
Skip navigation links

Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.