androidx.room.PrimaryKey Java Examples
The following examples show how to use
androidx.room.PrimaryKey.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FeatureEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #2
Source File: TileEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #3
Source File: OfflineAreaEntity.java From ground-android with Apache License 2.0 | 4 votes |
@AutoValue.CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #4
Source File: FieldEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #5
Source File: MutationEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @PrimaryKey(autoGenerate = true) @ColumnInfo(name = "id") @Nullable public abstract Long getId();
Example #6
Source File: FormEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #7
Source File: UserEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #8
Source File: ObservationEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @PrimaryKey @ColumnInfo(name = "id") @NonNull public abstract String getId();
Example #9
Source File: MultipleChoiceEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @PrimaryKey @NonNull @ColumnInfo(name = "field_id") public abstract String getFieldId();
Example #10
Source File: ProjectEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();
Example #11
Source File: LayerEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @PrimaryKey @ColumnInfo(name = "id") public abstract String getId();