public enum ItemType extends Enum<ItemType>
Java class for itemType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="itemType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="site"/> <enumeration value="sites"/> <enumeration value="application"/> <enumeration value="applications"/> <enumeration value="anchor"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ANCHOR
The item represents an anchor, which separates it from regular items.
|
APPLICATION
The item represents a application.
|
APPLICATIONS
The item represents a set of applications.
|
SITE
The item represents a site.
|
SITES
The item represents a set of sites.
|
Modifier and Type | Method and Description |
---|---|
static ItemType |
fromValue(String v) |
String |
value() |
static ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemType SITE
public static final ItemType SITES
public static final ItemType APPLICATION
public static final ItemType APPLICATIONS
public static final ItemType ANCHOR
public static ItemType[] values()
for (ItemType c : ItemType.values()) System.out.println(c);
public static ItemType 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 value()
Copyright © 2011–2019 aiticon GmbH. All rights reserved.