public static enum Organization.Field extends Enum<Organization.Field>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final Organization.Field ADDRESS
public static final Organization.Field DESCRIPTION
public static final Organization.Field END_DATE
public static final Organization.Field FIELD
public static final Organization.Field NAME
public static final Organization.Field SALARY
public static final Organization.Field START_DATE
public static final Organization.Field SUB_FIELD
public static final Organization.Field TITLE
public static final Organization.Field WEBPAGE
public static final Organization.Field TYPE
public static final Organization.Field PRIMARY
public static Organization.Field[] values()
for (Organization.Field c : Organization.Field.values()) System.out.println(c);
public static Organization.Field valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Organization.Field>
Copyright © 2021 WSO2. All rights reserved.