public static enum AnterosPersistenceJacksonModule.Feature extends Enum<AnterosPersistenceJacksonModule.Feature>
| Enum Constant and Description |
|---|
FORCE_LAZY_LOADING
Indica se o objeto com lazy load deve ser carregado para e depois
serializado ou serializado como nulo.
|
REQUIRE_EXPLICIT_LAZY_LOADING_MARKER
This feature determines how
org.hibernate.collection.PersistentCollections properties for
which no annotation is found are handled with respect to
lazy-loading: if true, lazy-loading is only assumed if annotation is
used to indicate that; if false, lazy-loading is assumed to be the
default. |
USE_TRANSIENT_ANNOTATION
Indica se a anotação
Transient deve
ser verificada ou não; se verdadeiro, irá considerar |
| Modifier and Type | Method and Description |
|---|---|
static int |
collectDefaults()
Method that calculates bit set (flags) of all features that are
enabled by default.
|
boolean |
enabledByDefault() |
boolean |
enabledIn(int flags) |
int |
getMask() |
static AnterosPersistenceJacksonModule.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnterosPersistenceJacksonModule.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnterosPersistenceJacksonModule.Feature FORCE_LAZY_LOADING
Valor padrão é falso.
public static final AnterosPersistenceJacksonModule.Feature USE_TRANSIENT_ANNOTATION
Transient deve
ser verificada ou não; se verdadeiro, irá considerarpublic static final AnterosPersistenceJacksonModule.Feature REQUIRE_EXPLICIT_LAZY_LOADING_MARKER
org.hibernate.collection.PersistentCollections properties for
which no annotation is found are handled with respect to
lazy-loading: if true, lazy-loading is only assumed if annotation is
used to indicate that; if false, lazy-loading is assumed to be the
default. Note that FORCE_LAZY_LOADING has priority over this
Feature; meaning that if it is defined as true, setting of this
Feature has no effect.
Default value is false, meaning that laziness is considered to be the default value.
public static AnterosPersistenceJacksonModule.Feature[] values()
for (AnterosPersistenceJacksonModule.Feature c : AnterosPersistenceJacksonModule.Feature.values()) System.out.println(c);
public static AnterosPersistenceJacksonModule.Feature 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 static int collectDefaults()
public boolean enabledIn(int flags)
public boolean enabledByDefault()
public int getMask()
Copyright © 2020 Anteros Tecnologia. All rights reserved.