From 085e52d4b6977ec536c5a5f0c26f8a3b6ac3bc1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Sun, 10 Dec 2023 19:07:49 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=83=87=E3=83=AB=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/data/model/DeviceMetaModel.java | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 data/src/main/java/one/nem/lacerta/data/model/DeviceMetaModel.java diff --git a/data/src/main/java/one/nem/lacerta/data/model/DeviceMetaModel.java b/data/src/main/java/one/nem/lacerta/data/model/DeviceMetaModel.java new file mode 100644 index 00000000..166e6993 --- /dev/null +++ b/data/src/main/java/one/nem/lacerta/data/model/DeviceMetaModel.java @@ -0,0 +1,34 @@ +package one.nem.lacerta.data.model; + +public class DeviceMetaModel { + private String DeviceManufacturer; + private String DeviceModel; + private String AndroidVersion; + private String AndroidApiLevel; + + public DeviceMetaModel(String DeviceManufacturer, String DeviceModel, String AndroidVersion, String AndroidApiLevel) { + this.DeviceManufacturer = DeviceManufacturer; + this.DeviceModel = DeviceModel; + this.AndroidVersion = AndroidVersion; + this.AndroidApiLevel = AndroidApiLevel; + } + + // Getters + // TODO-rca: ボイラープレートコードなので削減する + + public String getDeviceManufacturer() { + return DeviceManufacturer; + } + + public String getDeviceModel() { + return DeviceModel; + } + + public String getAndroidVersion() { + return AndroidVersion; + } + + public String getAndroidApiLevel() { + return AndroidApiLevel; + } +}