1e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria/* 2e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * Copyright (C) 2017 The Android Open Source Project 3e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * 4e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * Licensed under the Apache License, Version 2.0 (the "License"); 5e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * you may not use this file except in compliance with the License. 6e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * You may obtain a copy of the License at 7e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * 8e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * http://www.apache.org/licenses/LICENSE-2.0 9e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * 10e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * Unless required by applicable law or agreed to in writing, software 11e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * distributed under the License is distributed on an "AS IS" BASIS, 12e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * See the License for the specific language governing permissions and 14e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria * limitations under the License. 15e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria */ 16564e43098c323d1a90be53c190b8fdbdde973505Sumir Katariapackage androidx.work.integration.testapp.db; 17e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria 18c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarimport android.arch.persistence.room.Entity; 19c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarimport android.arch.persistence.room.Ignore; 20c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarimport android.arch.persistence.room.PrimaryKey; 21c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarimport android.graphics.Bitmap; 22c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarimport android.support.annotation.NonNull; 23e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria 24e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria/** 25c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar * A POJO for a processed image 26e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria */ 27c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar@Entity 28c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagarpublic class Image { 29c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar @PrimaryKey 30c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar @NonNull 31c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar public String mOriginalAssetName; 32e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria 33c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar public String mProcessedFilePath; 34c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar 35c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar public boolean mIsProcessed; 36c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar 37c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar @Ignore 38c5c83e113f5047c3c957a6179bac88721bceb6abXyan Bhatnagar public Bitmap mImage; 39e89fa65672b38c2f8c80f0e89e592a0b175d24aeSumir Kataria} 40