public enum ProductTypeEnum extends java.lang.Enum<ProductTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
static ProductTypeEnum |
getConstantByValue(int value) |
int |
getValue() |
static ProductTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductTypeEnum DESKTOP
public static final ProductTypeEnum MOBILE
public static ProductTypeEnum[] values()
for (ProductTypeEnum c : ProductTypeEnum.values()) System.out.println(c);
public static ProductTypeEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ProductTypeEnum getConstantByValue(int value) throws net.anotheria.asg.exception.ConstantNotFoundException
net.anotheria.asg.exception.ConstantNotFoundExceptionCopyright © 2012-2023 anotheria.net. All Rights Reserved.