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

public static enum Organization.Field extends Enum<Organization.Field>
An Enumeration of field names for Organization.
  • Enum Constant Details

    • 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 Details

    • values

      public static Organization.Field[] 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

      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Organization.Field>
      Returns:
      a string representation of the enum.