botorabi/HomieCenter

View on GitHub
src/main/java/net/vrfun/homiecenter/model/DeviceInfo.java

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
/*
 * Copyright (c) 2018 - 2021 by Botorabi. All rights reserved.
 * https://github.com/botorabi/HomieCenter
 *
 * License: MIT License (MIT), read the LICENSE text in
 *          main directory for more details.
 */
package net.vrfun.homiecenter.model;

/**
 * General device info
 *
 * @author          boto
 * Creation Date    6th June 2018
 */
public abstract class DeviceInfo {

    private String deviceType = "";
    private String id;
    private String ain;
    private String name;
    private String firmware;
    private String productName;
    private boolean present;

    public DeviceInfo() {}

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAIN() {
        return ain;
    }

    public void setAIN(String ain) {
        this.ain = ain;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirmware() {
        return firmware;
    }

    public void setFirmware(String firmware) {
        this.firmware = firmware;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public boolean isPresent() {
        return present;
    }

    public void setPresent(boolean present) {
        this.present = present;
    }
}