Package | Description |
---|---|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
Modifier and Type | Class and Description |
---|---|
static class |
FillStrategy.Array<T>
Fills an array of given type.
|
static class |
FillStrategy.Assign<T>
Populate an instance by simply assigning the 0-th element of the input values.
|
static class |
FillStrategy.Bean<T>
Create and populate a bean by invoking setter methods identified by alias name with each array
element value as argument.
|
static class |
FillStrategy.Factory<T>
Populate an instance created by given factory using a given put(key,value) method.
|
static class |
FillStrategy.Map<T>
Construct and populate an instance by invoking the put method
with each alias as key and element of the given array of values.
|
static class |
FillStrategy.NewInstance<T>
Construct and populate an instance by the given constructor and arguments.
|
Modifier and Type | Method and Description |
---|---|
FillStrategy<T> |
ResultShape.getStrategy() |
Modifier and Type | Method and Description |
---|---|
<X> ResultShape<X> |
ResultShape.nest(Class<X> cls,
FillStrategy strategy,
Class<?>... classes)
Creates a new shape of type X with the given class arguments and nests
the new shape within this shape.
|
Constructor and Description |
---|
ResultShape(Class<T> cls,
FillStrategy<T> strategy)
Construct a non-primitive shape with the given fill strategy.
|
ResultShape(Class<T> cls,
FillStrategy<T> strategy,
boolean primitive)
Construct a shape with the given fill strategy.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.