mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
47 lines
852 B
Java
47 lines
852 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.model;
|
||
|
|
||
|
public class GenericItem implements ItemWithDetails {
|
||
|
private String name;
|
||
|
private String details;
|
||
|
private int icon;
|
||
|
|
||
|
public GenericItem(String name, String details) {
|
||
|
this.name = name;
|
||
|
this.details = details;
|
||
|
}
|
||
|
|
||
|
public GenericItem(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
public GenericItem() {
|
||
|
}
|
||
|
|
||
|
public void setName(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
public void setDetails(String details) {
|
||
|
this.details = details;
|
||
|
}
|
||
|
|
||
|
public void setIcon(int icon) {
|
||
|
this.icon = icon;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getDetails() {
|
||
|
return details;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int getIcon() {
|
||
|
return icon;
|
||
|
}
|
||
|
}
|