/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/ |
H A D | BookAuthor.kt | 20 import androidx.room.ForeignKey 23 ForeignKey(entity = Book::class, 26 onUpdate = ForeignKey.CASCADE, 27 onDelete = ForeignKey.CASCADE, 29 ForeignKey(entity = Author::class, 32 onUpdate = ForeignKey.CASCADE, 33 onDelete = ForeignKey.CASCADE,
|
H A D | Book.kt | 20 import androidx.room.ForeignKey 25 ForeignKey(entity = Publisher::class,
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | ForeignKeyAction.kt | 19 import androidx.room.ForeignKey 22 * Compiler representation of ForeignKey#Action. 25 NO_ACTION(ForeignKey.NO_ACTION, "NO ACTION"), 26 RESTRICT(ForeignKey.RESTRICT, "RESTRICT"), 27 SET_NULL(ForeignKey.SET_NULL, "SET NULL"), 28 SET_DEFAULT(ForeignKey.SET_DEFAULT, "SET DEFAULT"), 29 CASCADE(ForeignKey.CASCADE, "CASCADE");
|
H A D | ForeignKey.kt | 24 data class ForeignKey(val parentTable: String,
|
H A D | Entity.kt | 29 val foreignKeys: List<ForeignKey>,
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
H A D | Dependency.java | 21 import android.arch.persistence.room.ForeignKey; 33 @ForeignKey( 37 onDelete = ForeignKey.CASCADE, 38 onUpdate = ForeignKey.CASCADE), 39 @ForeignKey( 43 onDelete = ForeignKey.CASCADE, 44 onUpdate = ForeignKey.CASCADE)},
|
H A D | WorkName.java | 21 import android.arch.persistence.room.ForeignKey; 33 @ForeignKey( 37 onDelete = ForeignKey.CASCADE, 38 onUpdate = ForeignKey.CASCADE)},
|
H A D | WorkTag.java | 21 import android.arch.persistence.room.ForeignKey; 33 @ForeignKey( 37 onDelete = ForeignKey.CASCADE, 38 onUpdate = ForeignKey.CASCADE)},
|
H A D | SystemIdInfo.java | 21 import android.arch.persistence.room.ForeignKey; 32 @ForeignKey( 36 onDelete = ForeignKey.CASCADE, 37 onUpdate = ForeignKey.CASCADE)})
|
/frameworks/support/room/runtime/src/androidTest/java/androidx/room/migration/ |
H A D | TableInfoTest.java | 65 Collections.<TableInfo.ForeignKey>emptySet()))); 77 Collections.<TableInfo.ForeignKey>emptySet()))); 91 Collections.<TableInfo.ForeignKey>emptySet()))); 101 Collections.<TableInfo.ForeignKey>emptySet()))); 112 Collections.<TableInfo.ForeignKey>emptySet()))); 123 final TableInfo.ForeignKey foreignKey = info.foreignKeys.iterator().next(); 141 Set<TableInfo.ForeignKey> expected = new HashSet<>(); 142 expected.add(new TableInfo.ForeignKey("foo2", // table 148 expected.add(new TableInfo.ForeignKey("foo", // table 165 TableInfo.ForeignKey expecte [all...] |
/frameworks/support/room/common/src/main/java/androidx/room/ |
H A D | Entity.java | 118 * List of {@link ForeignKey} constraints on this entity. 120 * @return The list of {@link ForeignKey} constraints on this entity. 122 ForeignKey[] foreignKeys() default {};
|
H A D | ForeignKey.java | 49 public @interface ForeignKey { interface
|
/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
H A D | TableInfo.java | 63 public final Set<ForeignKey> foreignKeys; 73 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys, 85 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys) { 141 Set<ForeignKey> foreignKeys = readForeignKeys(database, tableName); 146 private static Set<ForeignKey> readForeignKeys(SupportSQLiteDatabase database, 148 Set<ForeignKey> foreignKeys = new HashSet<>(); 175 foreignKeys.add(new ForeignKey( 442 public static class ForeignKey { class in class:TableInfo 454 public ForeignKey(@NonNull String referenceTable, @NonNull String onDelete, method in class:TableInfo.ForeignKey 469 ForeignKey tha [all...] |
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/ |
H A D | EntityTest.kt | 72 foreignKeys: List<ForeignKey> = emptyList()): Entity { 88 deferred: Boolean): ForeignKey { 89 return ForeignKey(
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
H A D | ForeignKeyTest.java | 38 import androidx.room.ForeignKey; 132 @ForeignKey(entity = A.class, 148 @ForeignKey(entity = A.class, 164 @ForeignKey(entity = A.class, 167 onDelete = ForeignKey.CASCADE, 168 onUpdate = ForeignKey.CASCADE)}) 181 @ForeignKey(entity = A.class, 184 onDelete = ForeignKey.SET_NULL, 185 onUpdate = ForeignKey.CASCADE)})
|
H A D | RelationWithReservedKeywordTest.java | 33 import androidx.room.ForeignKey; 140 foreignKeys = @ForeignKey( 144 onDelete = ForeignKey.CASCADE),
|
H A D | ClearAllTablesTest.java | 39 import androidx.room.ForeignKey; 83 @ForeignKey(entity = Parent.class, parentColumns = "id", childColumns = "parentId")})
|
/frameworks/support/room/compiler/src/test/data/databasewriter/output/ |
H A D | ComplexDatabase.java | 9 import androidx.room.util.TableInfo.ForeignKey; 70 final HashSet<TableInfo.ForeignKey> _foreignKeysUser = new HashSet<TableInfo.ForeignKey>(0);
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
H A D | MigrationDb.java | 26 import androidx.room.ForeignKey; 72 @ForeignKey(entity = Entity1.class,
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/ |
H A D | MigrationDbKotlin.kt | 24 import androidx.room.ForeignKey 63 @Entity(foreignKeys = arrayOf(ForeignKey(entity = Entity1::class,
|
/frameworks/support/room/testing/src/main/java/androidx/room/testing/ |
H A D | MigrationTestHelper.java | 311 private static Set<TableInfo.ForeignKey> toForeignKeys( 316 Set<TableInfo.ForeignKey> result = new HashSet<>(bundles.size()); 318 result.add(new TableInfo.ForeignKey(bundle.getTable(),
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | EntityProcessor.kt | 32 import androidx.room.vo.ForeignKey 150 private fun checkIndicesForForeignKeys(entityForeignKeys: List<ForeignKey>, 179 pojo: Pojo): List<ForeignKey> { 229 ForeignKey( 579 * ForeignKey, before it is processed in the context of a database.
|