public static enum BlogPostQuery.OrderBy extends Enum<BlogPostQuery.OrderBy>
PUBLISHED.| Enum Constant and Description |
|---|
EDITED
Order the returned feed's entries by their <app:edited> values.
|
PUBLISHED
Order the returned feed's entries by their <published> values.
|
UPDATED
Order the returned feed's entries by their <updated> values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toValue()
Returns the value used in the URL.
|
static BlogPostQuery.OrderBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlogPostQuery.OrderBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlogPostQuery.OrderBy EDITED
public static final BlogPostQuery.OrderBy PUBLISHED
public static final BlogPostQuery.OrderBy UPDATED
public static BlogPostQuery.OrderBy[] values()
for (BlogPostQuery.OrderBy c : BlogPostQuery.OrderBy.values()) System.out.println(c);
public static BlogPostQuery.OrderBy 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 toValue()
Copyright © 2012. All Rights Reserved.