| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private ReflectionProvider |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public String | getFieldNameForItemTypeAndName(Class<T>
owning type definedIn, Class<T> item type itemType, String optional item element name itemFieldName)Overrides com. Implements com. |
| public Mapper. | |
| public Class | getItemTypeForItemFieldName(Class<T> definedIn, String itemFieldName)
Overrides com. Implements com. |
| private ImplicitCollectionMapper. | |
| private ImplicitCollectionMapper. |
| classNameToMapper | back to summary |
|---|---|
| private final Map<K, V> classNameToMapper | |
| reflectionProvider | back to summary |
|---|---|
| private ReflectionProvider reflectionProvider | |
| ImplicitCollectionMapper | back to summary |
|---|---|
| public ImplicitCollectionMapper(Mapper wrapped, ReflectionProvider reflectionProvider) | |
| add | back to summary |
|---|---|
| public void add(Class<T> definedIn, String fieldName, Class<T> itemType) | |
| add | back to summary |
|---|---|
| public void add(Class<T> definedIn, String fieldName, String itemFieldName, Class<T> itemType) | |
| add | back to summary |
|---|---|
| public void add(Class<T> definedIn, String fieldName, String itemFieldName, Class<T> itemType, String keyFieldName) | |
| getFieldNameForItemTypeAndName | back to summary |
|---|---|
| public String getFieldNameForItemTypeAndName(Class<T> definedIn, Class<T> itemType, String itemFieldName) Overrides com. Implements com. Doc from com. Get the name of the field that acts as the default collection for an object, or return null if there is none. | |
| getImplicitCollectionDefForFieldName | back to summary |
|---|---|
| public Mapper. Overrides com. Implements com. | |
| getItemTypeForItemFieldName | back to summary |
|---|---|
| public Class Overrides com. Implements com. | |
| getMapper | back to summary |
|---|---|
| private ImplicitCollectionMapper. | |
| getOrCreateMapper | back to summary |
|---|---|
| private ImplicitCollectionMapper. | |
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private Map | |
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | |
| private ImplicitCollectionMapper. | |
| public Mapper. | |
| public Class |
| definedIn | back to summary |
|---|---|
| private Class<T> definedIn | |
| fieldNameToDef | back to summary |
|---|---|
| private Map<K, V> fieldNameToDef | |
| itemFieldNameToDef | back to summary |
|---|---|
| private Map<K, V> itemFieldNameToDef | |
| namedItemTypeToDef | back to summary |
|---|---|
| private Map<K, V> namedItemTypeToDef | |
| ImplicitCollectionMapperForClass | back to summary |
|---|---|
| pack-priv ImplicitCollectionMapperForClass(Class<T> definedIn) | |
| add | back to summary |
|---|---|
| public void add(ImplicitCollectionMapper. | |
| getFieldNameForItemTypeAndName | back to summary |
|---|---|
| public String getFieldNameForItemTypeAndName(Class<T> itemType, String itemFieldName) | |
| getImplicitCollectionDefByItemFieldName | back to summary |
|---|---|
| private ImplicitCollectionMapper. | |
| getImplicitCollectionDefForFieldName | back to summary |
|---|---|
| public Mapper. | |
| getItemTypeForItemFieldName | back to summary |
|---|---|
| public Class | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final Class | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImplicitCollectionMappingImpl(String fieldName, Class<T> itemType, String itemFieldName, String keyFieldName)
|
| Modifier and Type | Method and Description |
|---|---|
| public ImplicitCollectionMapper. | |
| public String | |
| public String | |
| public Class | |
| public String |
| fieldName | back to summary |
|---|---|
| private final String fieldName | |
| itemFieldName | back to summary |
|---|---|
| private final String itemFieldName | |
| itemType | back to summary |
|---|---|
| private final Class<T> itemType | |
| keyFieldName | back to summary |
|---|---|
| private final String keyFieldName | |
| ImplicitCollectionMappingImpl | back to summary |
|---|---|
| pack-priv ImplicitCollectionMappingImpl(String fieldName, Class<T> itemType, String itemFieldName, String keyFieldName) | |
| createNamedItemType | back to summary |
|---|---|
| public ImplicitCollectionMapper. | |
| getFieldName | back to summary |
|---|---|
| public String getFieldName() Implements com. | |
| getItemFieldName | back to summary |
|---|---|
| public String getItemFieldName() Implements com. | |
| getItemType | back to summary |
|---|---|
| public Class Implements com. | |
| getKeyFieldName | back to summary |
|---|---|
| public String getKeyFieldName() Implements com. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| private static boolean |
| itemFieldName | back to summary |
|---|---|
| pack-priv String itemFieldName | |
| itemType | back to summary |
|---|---|
| pack-priv Class<T> itemType | |
| NamedItemType | back to summary |
|---|---|
| pack-priv NamedItemType(Class<T> itemType, String itemFieldName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEquals | back to summary |
|---|---|
| private static boolean isEquals(Object a, Object b) | |