argos/dmp-backend/core/src/main/java/eu/eudat/commons/types/descriptiontemplate/MultiplicityEntity.java

51 lines
1.1 KiB
Java
Raw Normal View History

2023-10-27 17:46:34 +02:00
package eu.eudat.commons.types.descriptiontemplate;
2024-01-30 15:31:03 +01:00
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
@XmlAccessorType(XmlAccessType.FIELD)
2023-10-27 17:46:34 +02:00
public class MultiplicityEntity {
2024-01-30 15:31:03 +01:00
@XmlAttribute(name="min")
2018-02-16 11:34:02 +01:00
private int min;
2024-01-30 15:31:03 +01:00
@XmlAttribute(name="max")
2018-02-16 11:34:02 +01:00
private int max;
2024-01-30 15:31:03 +01:00
@XmlAttribute(name="placeholder")
private String placeholder;
2024-01-30 15:31:03 +01:00
@XmlAttribute(name="tableView")
private boolean tableView;
2018-02-16 11:34:02 +01:00
public int getMin() {
return min;
}
public void setMin(int min) {
this.min = min;
}
public int getMax() {
return max;
}
public void setMax(int max) {
this.max = max;
}
public String getPlaceholder() {
return placeholder;
}
2018-02-16 11:34:02 +01:00
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public boolean getTableView() {
return tableView;
}
public void setTableView(boolean tableView) {
this.tableView = tableView;
}
}