public static enum EntityProcessorContext.Type extends Enum<EntityProcessorContext.Type>
EntityProcessor.process(EntityProcessorContext)
is triggered.Enum Constant and Description |
---|
CLASS_READER
Context created to process entity class when reading entity from an input stream into an Java object.
|
CLASS_WRITER
Context created to process entity class when writing entity to an output stream from an Java object.
|
METHOD_READER
Context created to process property accessors when reading entity from an input stream into an Java object.
|
METHOD_WRITER
Context created to process property accessors when writing entity to an output stream from an Java object.
|
PROPERTY_READER
Context created to process entity properties when reading entity from an input stream into an Java object.
|
PROPERTY_WRITER
Context created to process entity properties when writing entity to an output stream from an Java object.
|
Modifier and Type | Method and Description |
---|---|
static EntityProcessorContext.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityProcessorContext.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityProcessorContext.Type CLASS_READER
EntityProcessorContext.getEntityClass()
, EntityProcessorContext.getEntityGraph()
.public static final EntityProcessorContext.Type CLASS_WRITER
EntityProcessorContext.getEntityClass()
, EntityProcessorContext.getEntityGraph()
.public static final EntityProcessorContext.Type PROPERTY_READER
EntityProcessorContext.getField()
, EntityProcessorContext.getMethod()
, EntityProcessorContext.getEntityGraph()
.public static final EntityProcessorContext.Type PROPERTY_WRITER
EntityProcessorContext.getField()
, EntityProcessorContext.getMethod()
, EntityProcessorContext.getEntityGraph()
.public static final EntityProcessorContext.Type METHOD_READER
EntityProcessorContext.getMethod()
, EntityProcessorContext.getEntityGraph()
.public static final EntityProcessorContext.Type METHOD_WRITER
EntityProcessorContext.getMethod()
, EntityProcessorContext.getEntityGraph()
.public static EntityProcessorContext.Type[] values()
for (EntityProcessorContext.Type c : EntityProcessorContext.Type.values()) System.out.println(c);
public static EntityProcessorContext.Type 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 nullCopyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.