public enum RegionalMessageStatus extends Enum<RegionalMessageStatus>
| Modifier and Type | Class and Description |
|---|---|
static class |
RegionalMessageStatus.Adapter
Converts an integer to a RegionalMessageStatus enum value and vice versa.
|
| Enum Constant and Description |
|---|
DELETED_BY_AUTHOR |
SUPPRESSED_BUT_VIEWABLE |
SUPPRESSED_BY_MODERATOR |
VISIBLE |
| Modifier and Type | Method and Description |
|---|---|
static RegionalMessageStatus |
fromInt(int intValue)
Returns the RegionalMessageStatus represented by the supplied integer.
|
int |
toInt()
Returns the integer representation of this RegionalMessageStatus.
|
static RegionalMessageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionalMessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionalMessageStatus VISIBLE
public static final RegionalMessageStatus SUPPRESSED_BUT_VIEWABLE
public static final RegionalMessageStatus DELETED_BY_AUTHOR
public static final RegionalMessageStatus SUPPRESSED_BY_MODERATOR
public static RegionalMessageStatus[] values()
for (RegionalMessageStatus c : RegionalMessageStatus.values()) System.out.println(c);
public static RegionalMessageStatus 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 int toInt()
public static RegionalMessageStatus fromInt(int intValue)
intValue - the supplied integer.Copyright © 2017. All rights reserved.