Package org.opencms.workplace
Enum CmsAccountInfo.Field
- java.lang.Object
-
- java.lang.Enum<CmsAccountInfo.Field>
-
- org.opencms.workplace.CmsAccountInfo.Field
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsAccountInfo.Field>
- Enclosing class:
- CmsAccountInfo
public static enum CmsAccountInfo.Field extends java.lang.Enum<CmsAccountInfo.Field>
Account info fields.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description addinfo
An additional info field.address
The address field.city
The city field.country
The country field.email
The email field.firstname
The first name field.institution
The institution field.lastname
The last name field.zipcode
The zip code field.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsAccountInfo.Field
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsAccountInfo.Field[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
addinfo
public static final CmsAccountInfo.Field addinfo
An additional info field.
-
address
public static final CmsAccountInfo.Field address
The address field.
-
city
public static final CmsAccountInfo.Field city
The city field.
-
country
public static final CmsAccountInfo.Field country
The country field.
-
email
public static final CmsAccountInfo.Field email
The email field.
-
firstname
public static final CmsAccountInfo.Field firstname
The first name field.
-
institution
public static final CmsAccountInfo.Field institution
The institution field.
-
lastname
public static final CmsAccountInfo.Field lastname
The last name field.
-
zipcode
public static final CmsAccountInfo.Field zipcode
The zip code field.
-
-
Method Detail
-
values
public static CmsAccountInfo.Field[] 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 (CmsAccountInfo.Field c : CmsAccountInfo.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsAccountInfo.Field valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-