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>,java.lang.constant.Constable
- Enclosing interface:
Organization
An Enumeration of field names for Organization.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe name of the address field.the name of the description field.the name of the endDate field.the name of the field field.the name of the name field.the name of the primary field.the name of the salary field.the name of the startDate field.the name of the subField field.the name of the title field.the name of the type field, Should have the value of "job" or "school" to be put in the right js fields.the name of the webpage field. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static Organization.FieldReturns 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 Details
-
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. -
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. -
WEBPAGE
the name of the webpage 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
the name of the primary field.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Overrides:
toStringin classEnum<Organization.Field>- Returns:
- a string representation of the enum.
-