androidx.room.Embedded Java Examples
The following examples show how to use
androidx.room.Embedded.
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 @Embedded public abstract Coordinates getLocation();
Example #2
Source File: FeatureEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @Embedded(prefix = "created_") public abstract AuditInfoEntity getCreated();
Example #3
Source File: FeatureEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @Embedded(prefix = "modified_") public abstract AuditInfoEntity getLastModified();
Example #4
Source File: FeatureMutationEntity.java From ground-android with Apache License 2.0 | 4 votes |
/** Non-null if the feature's location was updated, null if unchanged. */ @CopyAnnotations @Nullable @Embedded public abstract Coordinates getNewLocation();
Example #5
Source File: AuditInfoEntity.java From ground-android with Apache License 2.0 | 4 votes |
/** * Returns the user initiating the related action. This can never be null, since users must always * be logged in to make changes. */ @CopyAnnotations @Embedded(prefix = "user_") @NonNull public abstract UserDetails getUser();
Example #6
Source File: ObservationEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @Embedded(prefix = "created_") public abstract AuditInfoEntity getCreated();
Example #7
Source File: ObservationEntity.java From ground-android with Apache License 2.0 | 4 votes |
@CopyAnnotations @NonNull @Embedded(prefix = "modified_") public abstract AuditInfoEntity getLastModified();