public enum TraitTypeEnum extends Enum<TraitTypeEnum>
Enum Constant and Description |
---|
LEGACY_TRAITABLE |
NON_TRAIT |
TRAIT |
TRAITABLE |
WRAPPED_TRAITABLE |
Modifier and Type | Method and Description |
---|---|
static TraitTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraitTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraitTypeEnum TRAIT
public static final TraitTypeEnum TRAITABLE
public static final TraitTypeEnum LEGACY_TRAITABLE
public static final TraitTypeEnum WRAPPED_TRAITABLE
public static final TraitTypeEnum NON_TRAIT
public static TraitTypeEnum[] values()
for (TraitTypeEnum c : TraitTypeEnum.values()) System.out.println(c);
public static TraitTypeEnum 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 nullCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.