public class EntityTypeMapping extends Object
| Modifier and Type | Method and Description |
|---|---|
static EntityTypeMapping |
create(Map<String,Object> mappings) |
static EntityTypeMapping |
create(String name,
Map<String,Object> mappings) |
EntityTypeMapping |
getEntityTypeMapping(String name)
If this
EntityTypeMapping is complex the mapping for the property
with the given name is returned; otherwise an empty EntityTypeMapping is returned. |
Class<?> |
getMappingClass(String name)
If this
EntityTypeMapping is complex the mapping Class for the property
with the given name is returned; otherwise NULL is returned. |
String |
toString() |
public static EntityTypeMapping create(Map<String,Object> mappings) throws EntityProviderException
EntityProviderExceptionpublic static EntityTypeMapping create(String name, Map<String,Object> mappings) throws EntityProviderException
EntityProviderExceptionpublic EntityTypeMapping getEntityTypeMapping(String name)
EntityTypeMapping is complex the mapping for the property
with the given name is returned; otherwise an empty EntityTypeMapping is returned.name - public Class<?> getMappingClass(String name)
EntityTypeMapping is complex the mapping Class for the property
with the given name is returned; otherwise NULL is returned.name - Class for the property with given name or NULL.Copyright © 2020. All rights reserved.