com.puppycrawl.tools.checkstyle.checks.j2ee

Class PersistenceOption

public final class PersistenceOption extends AbstractOption

Represents the policy for checking entity bean restrictions according to whether persistence is bean-managed, container-managed, or mixed.

Author: Rick Giles

Field Summary
static PersistenceOptionBEAN
Represents the bean-managed persistence policy.
static PersistenceOptionCONTAINER
Represents the container-managed persistence policy.
static PersistenceOptionMIXED
Represents the policy that the persistence management may be bean-managed or container-managed.
Method Summary
protected MapgetStrToOpt()
{@inheritDoc}

Field Detail

BEAN

public static final PersistenceOption BEAN
Represents the bean-managed persistence policy.

CONTAINER

public static final PersistenceOption CONTAINER
Represents the container-managed persistence policy.

MIXED

public static final PersistenceOption MIXED
Represents the policy that the persistence management may be bean-managed or container-managed.

Method Detail

getStrToOpt

protected Map getStrToOpt()
{@inheritDoc}