public static enum Item.ItemFlag extends Enum<Item.ItemFlag> implements INumberEnum<Integer>
Enum Constant and Description |
---|
ENCRYPTED |
KEEPLINEBREAKS
Special flag to keep \n in string item values instead of replacing them with \0
(e.g.
|
NAMES |
PROTECTED |
READERS |
READWRITERS |
SIGNED |
SUMMARY |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static Item.ItemFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Item.ItemFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Item.ItemFlag SUMMARY
public static final Item.ItemFlag NAMES
public static final Item.ItemFlag READERS
public static final Item.ItemFlag READWRITERS
public static final Item.ItemFlag PROTECTED
public static final Item.ItemFlag ENCRYPTED
public static final Item.ItemFlag SIGNED
public static final Item.ItemFlag KEEPLINEBREAKS
public static Item.ItemFlag[] values()
for (Item.ItemFlag c : Item.ItemFlag.values()) System.out.println(c);
public static Item.ItemFlag 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 Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.