47 lines
900 B
Java
Executable File
47 lines
900 B
Java
Executable File
package eu.dnetlib.usagestats.sushilite.domain;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
/**
|
|
* Created by dpie on 04/01/2021.
|
|
*/
|
|
public class ReportAttribute {
|
|
private String name;
|
|
private String value;
|
|
|
|
public ReportAttribute() {
|
|
}
|
|
|
|
public ReportAttribute(String name, String value) {
|
|
this.name = name;
|
|
this.value = value;
|
|
}
|
|
|
|
@JsonProperty("Name")
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
@JsonProperty("Value")
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "ReportAttribute{" +
|
|
"name='" + name + '\'' +
|
|
", value='" + value + '\'' +
|
|
'}';
|
|
}
|
|
}
|