Serializable
, Comparable<BelongsTo>
public enum BelongsTo extends Enum<BelongsTo>
Enum Constant | Description |
---|---|
BODY |
|
HEAD |
|
HEAD_AND_BODY |
Modifier and Type | Method | Description |
---|---|---|
String |
getDbCode() |
|
static BelongsTo |
toValue(Object value) |
|
static BelongsTo |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BelongsTo[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BelongsTo HEAD_AND_BODY
public static final BelongsTo HEAD
public static final BelongsTo BODY
public static BelongsTo[] values()
for (BelongsTo c : BelongsTo.values()) System.out.println(c);
public static BelongsTo 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 getDbCode()
Copyright © 2006–2018. All rights reserved.