A B C E G H I J K N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- active() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether update/delete/refresh methods should be generated.
- autoincrement() - Method in annotation type org.greenrobot.greendao.annotation.Id
-
Specifies that id should be auto-incremented (works only for Long/long fields) Autoincrement on SQLite introduces additional resources usage and usually can be avoided
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
- columnType() - Method in annotation type org.greenrobot.greendao.annotation.Convert
-
Class of the column which can be persisted in DB.
- Convert - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies
PropertyConverterfor the field to support custom types - converter() - Method in annotation type org.greenrobot.greendao.annotation.Convert
-
Converter class
- convertToDatabaseValue(P) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
- convertToEntityProperty(D) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
- createInDb() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Advanced flag to disable table creation in the database (when set to false).
E
- entity() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Reference to join-entity class, which holds the source and the target properties
- 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
- generateConstructors() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether an all properties constructor should be generated.
- 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.
- generateGettersSetters() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether getters and setters for properties should be generated if missing.
H
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() - indexes() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Indexes for the entity.
- 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
- joinProperties() - Method in annotation type org.greenrobot.greendao.annotation.ToMany
-
Array of matching source -> target properties Required unless
ToMany.referencedJoinProperty()orJoinEntityis specified - joinProperty() - Method in annotation type org.greenrobot.greendao.annotation.ToOne
-
Name of the property inside the current entity which holds the key of related entity.
- 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
- name() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Optional name of the index.
- name() - Method in annotation type org.greenrobot.greendao.annotation.JoinProperty
-
Name of the property in the name entity, which matches
JoinProperty.referencedName() - nameInDb() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Specifies the name on the DB side (e.g.
- nameInDb() - Method in annotation type org.greenrobot.greendao.annotation.Property
-
Name of the database column for this property.
- NotNull - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies that property is not null
O
- OrderBy - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies ordering of related collection of
ToManyrelation 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.
- protobuf() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Define a protobuf class of this entity to create an additional, special DAO for.
R
- referencedJoinProperty() - Method in annotation type org.greenrobot.greendao.annotation.ToMany
-
Name of the property inside the target entity which holds id of the source (current) entity Required unless no
JoinPropertyorJoinEntityis specified - referencedName() - Method in annotation type org.greenrobot.greendao.annotation.JoinProperty
-
Name of the property in the referencedName entity, which matches
JoinProperty.name()
S
- schema() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Specifies schema name for the entity: greenDAO can generate independent sets of classes for each schema.
- sourceProperty() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Name of the property inside the join entity which holds id of the source (current) entity
T
- targetProperty() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Name of the property inside the join entity which holds id of the target entity
- 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: -
Propertyto specify backing column name -Uniqueto put the unique constraint on backing column during table creation -NotNullto 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() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Whether the unique constraint should be created with base on this index
- Unique - Annotation Type in org.greenrobot.greendao.annotation
-
Marks property should have a UNIQUE constraint during table creation.
V
- value() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Comma-separated list of properties that should be indexed, e.g.
- value() - Method in annotation type org.greenrobot.greendao.annotation.OrderBy
-
Comma-separated list of properties, e.g.
All Classes All Packages