|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Organization.Field>
org.wso2.carbon.registry.social.api.people.userprofile.model.Organization.Field
public static enum Organization.Field
An Enumeration of field names for Organization.
Enum Constant Summary | |
---|---|
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 | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Organization.Field>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |