geoportal-data-entry-app/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ConcessioniFormCardTitle.java

92 lines
2.0 KiB
Java
Raw Normal View History

2020-10-12 13:04:01 +02:00
package org.gcube.portlets.user.geoportaldataentry.client;
2020-12-01 18:15:13 +01:00
/**
* The Enum ConcessioniFormCardTitle.
*
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
*
* Nov 30, 2020
2020-12-01 18:15:13 +01:00
*/
public class ConcessioniFormCardTitle {
2020-10-12 13:04:01 +02:00
private String key;
private String title;
private Integer order;
private boolean internalRepeatibleForm;
2020-12-01 18:15:13 +01:00
private Integer maxFormRepeatability;
private Integer minFormRepeatability;
2020-12-01 18:15:13 +01:00
/**
* Instantiates a new concessioni form card title.
*
* @param key the key
* @param title the title
* @param order the order
2020-12-01 18:15:13 +01:00
* @param internalRepeatibleForm the internal repeatible form
* @param maxFormRepeatability the max form repeatability
2020-12-01 18:15:13 +01:00
*/
public ConcessioniFormCardTitle(String key, String title, int order, boolean internalRepeatibleForm,
Integer minFormRepeatability, Integer maxFormRepeatability) {
2020-10-12 13:04:01 +02:00
this.key = key;
this.title = title;
this.order = order;
this.minFormRepeatability = minFormRepeatability;
2020-10-12 13:04:01 +02:00
this.internalRepeatibleForm = internalRepeatibleForm;
2020-12-01 18:15:13 +01:00
this.maxFormRepeatability = maxFormRepeatability;
2020-10-12 13:04:01 +02:00
}
2020-12-01 18:15:13 +01:00
/**
* Gets the key.
*
* @return the key
*/
2020-10-12 13:04:01 +02:00
public String getKey() {
return key;
}
2020-12-01 18:15:13 +01:00
/**
* Gets the title.
*
* @return the title
*/
2020-10-12 13:04:01 +02:00
public String getTitle() {
return title;
}
2020-12-01 18:15:13 +01:00
/**
* Gets the order.
*
* @return the order
*/
2020-10-12 13:04:01 +02:00
public Integer getOrder() {
return order;
}
2020-12-01 18:15:13 +01:00
/**
* Checks if is internal repeatible form.
*
* @return true, if is internal repeatible form
*/
2020-10-12 13:04:01 +02:00
public boolean isInternalRepeatibleForm() {
return internalRepeatibleForm;
}
2020-12-01 18:15:13 +01:00
/**
* Gets the max form repeatability.
*
* @return the max form repeatability
*/
public Integer getMaxFormRepeatability() {
return maxFormRepeatability;
}
2020-10-12 13:04:01 +02:00
public Integer getMinFormRepeatability() {
return minFormRepeatability;
}
public void setMinFormRepeatability(Integer minFormRepeatability) {
this.minFormRepeatability = minFormRepeatability;
}
2020-10-12 13:04:01 +02:00
}