public enum AddedByType extends Enum<AddedByType>
| Modifier and Type | Field and Description |
|---|---|
String |
displayStr |
Integer |
value |
| Modifier and Type | Method and Description |
|---|---|
static AddedByType |
fromValue(Integer value) |
static AddedByType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddedByType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddedByType ADMIN
public static final AddedByType SUPPLIER
public static final AddedByType Unknown
public static AddedByType[] values()
for (AddedByType c : AddedByType.values()) System.out.println(c);
public static AddedByType 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 static AddedByType fromValue(Integer value) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2026. All rights reserved.