UpdateMethod.kt revision 86b3f8d9bd637749668174e0736fe9fbecbcfb09
174b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar/*
274b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * Copyright (C) 2017 The Android Open Source Project
374b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar *
474b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License");
574b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * you may not use this file except in compliance with the License.
674b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * You may obtain a copy of the License at
774b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar *
874b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar *      http://www.apache.org/licenses/LICENSE-2.0
974b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar *
1074b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * Unless required by applicable law or agreed to in writing, software
1174b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS,
1274b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1374b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * See the License for the specific language governing permissions and
1474b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar * limitations under the License.
1574b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar */
1674b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar
1764db0cc15b78b62a1d44a70fc8b4552e660d952cYigit Boyarpackage android.arch.persistence.room.vo
1874b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar
1964db0cc15b78b62a1d44a70fc8b4552e660d952cYigit Boyarimport android.arch.persistence.room.OnConflictStrategy
2074b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyarimport javax.lang.model.element.ExecutableElement
2174b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyar
2274b28faea4bcc4b7fab113a61a066d22dfae7258Yigit Boyarclass UpdateMethod(element: ExecutableElement, name: String,
2386b3f8d9bd637749668174e0736fe9fbecbcfb09Yuichi Araki                   entities: Map<String, Entity>, returnCount: Boolean,
2496cc740203eaa752fc85ca7ca722a8de550ae88cYigit Boyar                   parameters: List<ShortcutQueryParameter>,
2596cc740203eaa752fc85ca7ca722a8de550ae88cYigit Boyar                   @OnConflictStrategy val onConflictStrategy: Int) : ShortcutMethod(
2686b3f8d9bd637749668174e0736fe9fbecbcfb09Yuichi Araki        element, name, entities, returnCount, parameters)
27