Package de.uplanet.lucy.mail
Enum SENDER_ADDRESS_TYPE
- java.lang.Object
-
- java.lang.Enum<SENDER_ADDRESS_TYPE>
-
- de.uplanet.lucy.mail.SENDER_ADDRESS_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<SENDER_ADDRESS_TYPE>
@ConstantClass public enum SENDER_ADDRESS_TYPE extends Enum<SENDER_ADDRESS_TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS
A static sender address.DATAFIELD
A sender address from a data field.DEFAULT
The default sender of the portal.PROCESSING_CONTEXT
A value from the processing context.RESPONSIBLE_PERSON
The person that is responsible within the given context.USER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SENDER_ADDRESS_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static SENDER_ADDRESS_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final SENDER_ADDRESS_TYPE USER
-
RESPONSIBLE_PERSON
public static final SENDER_ADDRESS_TYPE RESPONSIBLE_PERSON
The person that is responsible within the given context.
-
ADDRESS
public static final SENDER_ADDRESS_TYPE ADDRESS
A static sender address.
-
PROCESSING_CONTEXT
public static final SENDER_ADDRESS_TYPE PROCESSING_CONTEXT
A value from the processing context.
-
DATAFIELD
public static final SENDER_ADDRESS_TYPE DATAFIELD
A sender address from a data field.
-
DEFAULT
public static final SENDER_ADDRESS_TYPE DEFAULT
The default sender of the portal.
-
-
Method Detail
-
values
public static SENDER_ADDRESS_TYPE[] 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 (SENDER_ADDRESS_TYPE c : SENDER_ADDRESS_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SENDER_ADDRESS_TYPE 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
-
-