|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MarketListingCategory>
com.google.code.facebookapi.MarketListingCategory
public enum MarketListingCategory
Enum for specifying categories in marketplace listings and API calls.
| Enum Constant Summary | |
|---|---|
FORSALE
Category to specify for a for-sale listing |
|
FORSALE_WANTED
Category for a listing seeking items for sale |
|
FREE
Category for a listing advertising free goods/services |
|
HOUSING
Category to specify for a housing listing |
|
HOUSING_WANTED
Category for a listing seeking housing |
|
JOBS
Category to specify for a job posting |
|
JOBS_WANTED
Category for a listing seeking employment |
|
OTHER
Category for any listing that doesn't fit in any of the other categories |
|
OTHER_WANTED
Category for a listing seeking anything that doesn't fit in any other category |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get the name by which Facebook refers to this category. |
static MarketListingCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MarketListingCategory[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MarketListingCategory FORSALE
public static final MarketListingCategory HOUSING
public static final MarketListingCategory JOBS
public static final MarketListingCategory OTHER
public static final MarketListingCategory FREE
public static final MarketListingCategory FORSALE_WANTED
public static final MarketListingCategory HOUSING_WANTED
public static final MarketListingCategory JOBS_WANTED
public static final MarketListingCategory OTHER_WANTED
| Method Detail |
|---|
public static MarketListingCategory[] values()
for (MarketListingCategory c : MarketListingCategory.values()) System.out.println(c);
public static MarketListingCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||