mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
モデル定義
This commit is contained in:
parent
24332576e2
commit
085e52d4b6
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user