Поделиться через


HibernateSupport Class

public final class HibernateSupport
extends ExpandableStringEnum<HibernateSupport>

Indicates whether hibernate is enabled/disabled.

Field Summary

Modifier and Type Field and Description
static final HibernateSupport DISABLED

Static value Disabled for HibernateSupport.

static final HibernateSupport ENABLED

Static value Enabled for HibernateSupport.

Constructor Summary

Constructor Description
HibernateSupport()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HibernateSupport value.

Method Summary

Modifier and Type Method and Description
static HibernateSupport fromString(String name)

Creates or finds a HibernateSupport from its string representation.

static Collection<HibernateSupport> values()

Gets known HibernateSupport values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final HibernateSupport DISABLED

Static value Disabled for HibernateSupport.

ENABLED

public static final HibernateSupport ENABLED

Static value Enabled for HibernateSupport.

Constructor Details

HibernateSupport

@Deprecated
public HibernateSupport()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HibernateSupport value.

Method Details

fromString

public static HibernateSupport fromString(String name)

Creates or finds a HibernateSupport from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HibernateSupport.

values

public static Collection<HibernateSupport> values()

Gets known HibernateSupport values.

Returns:

known HibernateSupport values.

Applies to