public abstract class EntityAccess extends Object implements PropertyWriter, RelationalWriter
| Constructor and Description |
|---|
EntityAccess() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
merge(Class<?> parameterType,
Object newValues,
Collection currentValues,
Class elementType)
Merges the contents of collection with hydrated ensuring no duplicates and returns the result as an
instance of the given parameter type.
|
static Object |
merge(Class<?> parameterType,
Object newValues,
Object[] currentValues,
Class elementType) |
static Collection<Object> |
union(Collection collection,
Collection hydrated,
Class elementType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforScalar, relationshipDirection, relationshipName, typeParameterDescriptortype, writepublic static Object merge(Class<?> parameterType, Object newValues, Object[] currentValues, Class elementType)
public static Object merge(Class<?> parameterType, Object newValues, Collection currentValues, Class elementType)
parameterType - The type of Iterable or array to returnnewValues - The objects to merge into a collection of the given parameter type, which may not necessarily be of a
type assignable from parameterType alreadycurrentValues - The Iterable to merge into, which may be null if a new collection needs creatingelementType - The type of the element in the array or collectionpublic static Collection<Object> union(Collection collection, Collection hydrated, Class elementType)
Copyright © 2016 Neo Technology, Inc.. All rights reserved.