Package app.tozzi.mail.pec.model
Enum DestinatarioPEC.TipoDestinatario
- java.lang.Object
-
- java.lang.Enum<DestinatarioPEC.TipoDestinatario>
-
- app.tozzi.mail.pec.model.DestinatarioPEC.TipoDestinatario
-
- All Implemented Interfaces:
Serializable,Comparable<DestinatarioPEC.TipoDestinatario>
- Enclosing class:
- DestinatarioPEC
public static enum DestinatarioPEC.TipoDestinatario extends Enum<DestinatarioPEC.TipoDestinatario>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATOESTERNO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DestinatarioPEC.TipoDestinatariofrom(String descrizione)static DestinatarioPEC.TipoDestinatariovalueOf(String name)Returns the enum constant of this type with the specified name.static DestinatarioPEC.TipoDestinatario[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ESTERNO
public static final DestinatarioPEC.TipoDestinatario ESTERNO
-
CERTIFICATO
public static final DestinatarioPEC.TipoDestinatario CERTIFICATO
-
-
Method Detail
-
values
public static DestinatarioPEC.TipoDestinatario[] 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 (DestinatarioPEC.TipoDestinatario c : DestinatarioPEC.TipoDestinatario.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DestinatarioPEC.TipoDestinatario 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 DestinatarioPEC.TipoDestinatario from(String descrizione)
-
-