public class Mappings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Mappings.ClassMapping |
static class |
Mappings.CollectionMapping |
static class |
Mappings.Getter |
static class |
Mappings.Setter |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Type,Mappings.ClassMapping> |
classes |
protected ConcurrentMap<Type,Mappings.CollectionMapping> |
collections |
Constructor and Description |
---|
Mappings() |
Modifier and Type | Method and Description |
---|---|
<T> Mappings.CollectionMapping |
findCollectionMapping(ParameterizedType genericType,
Class<T> raw) |
Mappings.ClassMapping |
findOrCreateClassMapping(Type clazz) |
Mappings.ClassMapping |
getClassMapping(Type clazz) |
static boolean |
isPrimitive(Type type) |
protected final ConcurrentMap<Type,Mappings.ClassMapping> classes
protected final ConcurrentMap<Type,Mappings.CollectionMapping> collections
public <T> Mappings.CollectionMapping findCollectionMapping(ParameterizedType genericType, Class<T> raw)
public static boolean isPrimitive(Type type)
public Mappings.ClassMapping getClassMapping(Type clazz)
public Mappings.ClassMapping findOrCreateClassMapping(Type clazz)
Copyright © 2014 The Apache Software Foundation. All rights reserved.