- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
package androidx.room;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target({})
|
|
@Retention(RetentionPolicy.CLASS)
|
|
/* loaded from: classes.dex */
|
|
public @interface ForeignKey {
|
|
public static final int CASCADE = 5;
|
|
public static final Companion Companion = Companion.$$INSTANCE;
|
|
public static final int NO_ACTION = 1;
|
|
public static final int RESTRICT = 2;
|
|
public static final int SET_DEFAULT = 4;
|
|
public static final int SET_NULL = 3;
|
|
|
|
@Retention(RetentionPolicy.CLASS)
|
|
public @interface Action {
|
|
}
|
|
|
|
String[] childColumns();
|
|
|
|
boolean deferred() default false;
|
|
|
|
Class<?> entity();
|
|
|
|
@Action
|
|
int onDelete() default 1;
|
|
|
|
@Action
|
|
int onUpdate() default 1;
|
|
|
|
String[] parentColumns();
|
|
|
|
public static final class Companion {
|
|
static final /* synthetic */ Companion $$INSTANCE = new Companion();
|
|
public static final int CASCADE = 5;
|
|
public static final int NO_ACTION = 1;
|
|
public static final int RESTRICT = 2;
|
|
public static final int SET_DEFAULT = 4;
|
|
public static final int SET_NULL = 3;
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|