Enum Person.Field
- All Implemented Interfaces:
Serializable,Comparable<Person.Field>,java.lang.constant.Constable
- Enclosing interface:
Person
The fields that represent the person object in json form.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe json field for aboutMe.the json field for accounts.the json field for activities.the json field for addresses.the json field for age.the json field for appData.the json field for birthday.the json field for bodyType.the json field for books.the json field for cars.the json field for children.the json field for currentLocation.the json field for display name.the json field for drinker.the json field for emails.the json field for ethnicity.the json field for fashion.the json field for food.the json field for gender.the json field for happiestWhen.the json field for hasApp.the json field for heroes.the json field for humor.the json field for id.the json field for IM accounts.the json field for interests.the json field for jobInterests.the json field for languagesSpoken.the json field for updated.the json field for livingArrangement.the json field for lookingFor.the json field for movies.the json field for music.the json field for name.the json field for networkPresence.the json field for nickname.the json field for organiztions.the json field for pets.the json field for phoneNumbers.the json field for photos.the json field for politicalViews.the json field for preferredUsernamethe json field for profileSong.the json field for profileUrl.the json field for profileVideo.the json field for quotes.the json field for relationshipStatus.the json field for religion.the json field for romance.the json field for scaredOf.the json field for sexualOrientation.the json field for smoker.the json field for sports.the json field for status.the json field for tags.the json field for thumbnailUrl.the json field for turnOffs.the json field for turnOns.the json field for tvShows.the json field for urls.the json field for utcOffset. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe set of all fields.The set of default fields returned fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic Person.FieldfromUrlString(String urlString) Converts from a url string (usually passed in the fields= parameter) into the corresponding field enum.static Person.FieldtoString()emit the field as a json element.static Person.FieldReturns the enum constant of this type with the specified name.static Person.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABOUT_ME
the json field for aboutMe. -
ACCOUNTS
the json field for accounts. -
ACTIVITIES
the json field for activities. -
ADDRESSES
the json field for addresses. -
AGE
the json field for age. -
APP_DATA
the json field for appData. -
BODY_TYPE
the json field for bodyType. -
BOOKS
the json field for books. -
CARS
the json field for cars. -
CHILDREN
the json field for children. -
CURRENT_LOCATION
the json field for currentLocation. -
BIRTHDAY
the json field for birthday. -
DISPLAY_NAME
the json field for display name. -
DRINKER
the json field for drinker. -
EMAILS
the json field for emails. -
ETHNICITY
the json field for ethnicity. -
FASHION
the json field for fashion. -
FOOD
the json field for food. -
GENDER
the json field for gender. -
HAPPIEST_WHEN
the json field for happiestWhen. -
HAS_APP
the json field for hasApp. -
HEROES
the json field for heroes. -
HUMOR
the json field for humor. -
ID
the json field for id. -
IMS
the json field for IM accounts. -
INTERESTS
the json field for interests. -
JOB_INTERESTS
the json field for jobInterests. -
LANGUAGES_SPOKEN
the json field for languagesSpoken. -
LAST_UPDATED
the json field for updated. -
LIVING_ARRANGEMENT
the json field for livingArrangement. -
LOOKING_FOR
the json field for lookingFor. -
MOVIES
the json field for movies. -
MUSIC
the json field for music. -
NAME
the json field for name. -
NETWORKPRESENCE
the json field for networkPresence. -
NICKNAME
the json field for nickname. -
ORGANIZATIONS
the json field for organiztions. -
PETS
the json field for pets. -
PHONE_NUMBERS
the json field for phoneNumbers. -
PHOTOS
the json field for photos. -
POLITICAL_VIEWS
the json field for politicalViews. -
PREFERRED_USERNAME
the json field for preferredUsername -
PROFILE_SONG
the json field for profileSong. -
PROFILE_URL
the json field for profileUrl. -
PROFILE_VIDEO
the json field for profileVideo. -
QUOTES
the json field for quotes. -
RELATIONSHIP_STATUS
the json field for relationshipStatus. -
RELIGION
the json field for religion. -
ROMANCE
the json field for romance. -
SCARED_OF
the json field for scaredOf. -
SEXUAL_ORIENTATION
the json field for sexualOrientation. -
SMOKER
the json field for smoker. -
SPORTS
the json field for sports. -
STATUS
the json field for status. -
TAGS
the json field for tags. -
THUMBNAIL_URL
the json field for thumbnailUrl. -
UTC_OFFSET
the json field for utcOffset. -
TURN_OFFS
the json field for turnOffs. -
TURN_ONS
the json field for turnOns. -
TV_SHOWS
the json field for tvShows. -
URLS
the json field for urls.
-
-
Field Details
-
ALL_FIELDS
The set of all fields. -
DEFAULT_FIELDS
The set of default fields returned fields.
-
-
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
emit the field as a json element.- Overrides:
toStringin classEnum<Person.Field>- Returns:
- the field name
-
getField
-
fromUrlString
Converts from a url string (usually passed in the fields= parameter) into the corresponding field enum.- Parameters:
urlString- The string to translate.- Returns:
- The corresponding person field.
-