public static enum ProductInfoTag.Product extends Enum<ProductInfoTag.Product>
| Modifier and Type | Method and Description |
|---|---|
static ProductInfoTag.Product |
fromCode(int code) |
int |
getCode() |
String |
getName() |
static ProductInfoTag.Product |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductInfoTag.Product[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductInfoTag.Product UNKNOWN
public static final ProductInfoTag.Product J2EE
public static final ProductInfoTag.Product DOTNET
public static final ProductInfoTag.Product ROYALE
public static ProductInfoTag.Product[] values()
for (ProductInfoTag.Product c : ProductInfoTag.Product.values()) System.out.println(c);
public static ProductInfoTag.Product 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 ProductInfoTag.Product fromCode(int code)
public int getCode()
public String getName()
Copyright © 2023 The Apache Software Foundation. All rights reserved.