Enum Organization.Field
- java.lang.Object
-
- java.lang.Enum<Organization.Field>
-
- org.wso2.carbon.registry.social.api.people.userprofile.model.Organization.Field
-
- All Implemented Interfaces:
Serializable
,Comparable<Organization.Field>
- Enclosing interface:
- Organization
public static enum Organization.Field extends Enum<Organization.Field>
An Enumeration of field names for Organization.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS
the name of the address field.DESCRIPTION
the name of the description field.END_DATE
the name of the endDate field.FIELD
the name of the field field.NAME
the name of the name field.PRIMARY
the name of the primary field.SALARY
the name of the salary field.START_DATE
the name of the startDate field.SUB_FIELD
the name of the subField field.TITLE
the name of the title field.TYPE
the name of the type field, Should have the value of "job" or "school" to be put in the right js fields.WEBPAGE
the name of the webpage field.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Organization.Field
valueOf(String name)
Returns the enum constant of this type with the specified name.static Organization.Field[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDRESS
public static final Organization.Field ADDRESS
the name of the address field.
-
DESCRIPTION
public static final Organization.Field DESCRIPTION
the name of the description field.
-
END_DATE
public static final Organization.Field END_DATE
the name of the endDate field.
-
FIELD
public static final Organization.Field FIELD
the name of the field field.
-
NAME
public static final Organization.Field NAME
the name of the name field.
-
SALARY
public static final Organization.Field SALARY
the name of the salary field.
-
START_DATE
public static final Organization.Field START_DATE
the name of the startDate field.
-
SUB_FIELD
public static final Organization.Field SUB_FIELD
the name of the subField field.
-
TITLE
public static final Organization.Field TITLE
the name of the title field.
-
WEBPAGE
public static final Organization.Field WEBPAGE
the name of the webpage field.
-
TYPE
public static final Organization.Field TYPE
the name of the type field, Should have the value of "job" or "school" to be put in the right js fields.
-
PRIMARY
public static final Organization.Field PRIMARY
the name of the primary field.
-
-
Method Detail
-
values
public static Organization.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 (Organization.Field c : Organization.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 Organization.Field 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Organization.Field>
- Returns:
- a string representation of the enum.
-
-