com.gentics.contentnode.rest.model
Enum ContentNodeItem.ItemType
java.lang.Object
java.lang.Enum<ContentNodeItem.ItemType>
com.gentics.contentnode.rest.model.ContentNodeItem.ItemType
- All Implemented Interfaces:
- Serializable, Comparable<ContentNodeItem.ItemType>
- Enclosing class:
- ContentNodeItem
public static enum ContentNodeItem.ItemType
- extends Enum<ContentNodeItem.ItemType>
Types of items to be fetched with method
- Author:
- norbert
page
public static final ContentNodeItem.ItemType page
file
public static final ContentNodeItem.ItemType file
image
public static final ContentNodeItem.ItemType image
folder
public static final ContentNodeItem.ItemType folder
channel
public static final ContentNodeItem.ItemType channel
node
public static final ContentNodeItem.ItemType node
values
public static ContentNodeItem.ItemType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ContentNodeItem.ItemType c : ContentNodeItem.ItemType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ContentNodeItem.ItemType valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.