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

90 lines
2.2 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-10-12 13:04:01 +02:00
public enum ConcessioniFormCardTitle {
2020-12-01 18:15:13 +01:00
INFORMAZIONI_DI_PROGETTO("Informazioni", "Informazioni di Progetto", 1, false, null),
2020-12-18 11:37:23 +01:00
ABSTRACT_RELAZIONE_DI_SCAVO("Abstract Relazione di Scavo", "Abstract Relazione di Scavo", 2, false, null),
RELAZIONE_DI_SCAVO("Relazione di Scavo", "Relazione di Scavo", 3, false, null),
IMMAGINI_RAPPRESENTATIVE("Immagini Rappresentative", "Immagini Rappresentative", 4, true, 8),
POSIZIONAMENTO_DELL_AREA_DI_INDAGINE("Posizionamento", "Posizionamento dell'Area di Indagine", 5, false, null),
PIANTA_DI_FINE_SCAVO("Pianta di Fine Scavo", "Pianta di Fine Scavo", 6, true, null);
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;
2020-10-12 13:04:01 +02:00
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
* @param internalRepeatibleForm the internal repeatible form
* @param maxFormRepeatability the max form repeatability
*/
private ConcessioniFormCardTitle(String key, String title, int order, boolean internalRepeatibleForm, Integer maxFormRepeatability) {
2020-10-12 13:04:01 +02:00
this.key = key;
this.title = title;
this.order = order;
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
}