Constructor and Description |
---|
VdmEntityUtil(Class<EntityT> entityClass) |
Modifier and Type | Method and Description |
---|---|
EntityT |
fromFields(Map<String,Object> fields)
Given a map of entity properties, this type-safe method instantiates entities of the given type.
|
static <EntityT> Class<EntityT> |
getEntityClass(FluentHelperBasic<?,?,?> fluentHelper)
Helper method to resolve the expected entity type for the provided fluent helper instance.
|
@Nonnull public EntityT fromFields(@Nonnull Map<String,Object> fields)
fields
- A map of entity properties.@Nonnull @Beta public static <EntityT> Class<EntityT> getEntityClass(@Nonnull FluentHelperBasic<?,?,?> fluentHelper)
EntityT
- The generic entity type.fluentHelper
- The fluent helper instance to resolve the entity type for.Copyright © 2021 SAP SE. All rights reserved.