Package app.tozzi.mail.pec.model
Enum TipoPostaCert
- java.lang.Object
-
- java.lang.Enum<TipoPostaCert>
-
- app.tozzi.mail.pec.model.TipoPostaCert
-
- All Implemented Interfaces:
Serializable,Comparable<TipoPostaCert>
public enum TipoPostaCert extends Enum<TipoPostaCert>
- Author:
- biagio.tozzi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCETTAZIONEAVVENUTA_CONSEGNAERROREERRORE_CONSEGNANON_ACCETTAZIONEPOSTA_CERTIFICATAPREAVVISO_ERRORE_CONSEGNAPRESA_IN_CARICORILEVAZIONE_VIRUS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TipoPostaCertfrom(String descrizione)static TipoPostaCertvalueOf(String name)Returns the enum constant of this type with the specified name.static TipoPostaCert[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCETTAZIONE
public static final TipoPostaCert ACCETTAZIONE
-
NON_ACCETTAZIONE
public static final TipoPostaCert NON_ACCETTAZIONE
-
PRESA_IN_CARICO
public static final TipoPostaCert PRESA_IN_CARICO
-
AVVENUTA_CONSEGNA
public static final TipoPostaCert AVVENUTA_CONSEGNA
-
POSTA_CERTIFICATA
public static final TipoPostaCert POSTA_CERTIFICATA
-
ERRORE
public static final TipoPostaCert ERRORE
-
ERRORE_CONSEGNA
public static final TipoPostaCert ERRORE_CONSEGNA
-
PREAVVISO_ERRORE_CONSEGNA
public static final TipoPostaCert PREAVVISO_ERRORE_CONSEGNA
-
RILEVAZIONE_VIRUS
public static final TipoPostaCert RILEVAZIONE_VIRUS
-
-
Method Detail
-
values
public static TipoPostaCert[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TipoPostaCert c : TipoPostaCert.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TipoPostaCert valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
from
public static TipoPostaCert from(String descrizione)
-
-