public enum EntityTypeEnum extends Enum<EntityTypeEnum> implements EntityTypeExtEnum
Modifier and Type | Method and Description |
---|---|
String |
getEntityType()
Gets name of this enum.
|
static EntityTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static EntityTypeEnum[] values()
for (EntityTypeEnum c : EntityTypeEnum.values()) System.out.println(c);
public static EntityTypeEnum 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 String getEntityType()
EntityTypeExtEnum
getEntityType
in interface EntityTypeExtEnum
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.