public class ImplicitCollectionMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null| Constructor and Description |
|---|
ImplicitCollectionMapper(ClassMapper wrapped)
Deprecated.
As of 1.2, use
ImplicitCollectionMapper(Mapper) |
ImplicitCollectionMapper(Mapper wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Class definedIn,
String fieldName,
Class itemType) |
void |
add(Class definedIn,
String fieldName,
String itemFieldName,
Class itemType) |
String |
getFieldNameForItemTypeAndName(Class definedIn,
Class itemType,
String itemFieldName)
Get the name of the field that acts as the default collection for an object, or return null if there is none.
|
Mapper.ImplicitCollectionMapping |
getImplicitCollectionDefForFieldName(Class itemType,
String fieldName) |
Class |
getItemTypeForItemFieldName(Class definedIn,
String itemFieldName) |
aliasForAttribute, aliasForAttribute, attributeForAlias, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getLocalConverter, isImmutableValueType, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMemberpublic ImplicitCollectionMapper(Mapper wrapped)
public ImplicitCollectionMapper(ClassMapper wrapped)
ImplicitCollectionMapper(Mapper)public String getFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName)
MappergetFieldNameForItemTypeAndName in interface MappergetFieldNameForItemTypeAndName in class MapperWrapperdefinedIn - owning typeitemType - item typeitemFieldName - optional item element namepublic Class getItemTypeForItemFieldName(Class definedIn, String itemFieldName)
getItemTypeForItemFieldName in interface MappergetItemTypeForItemFieldName in class MapperWrapperpublic Mapper.ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType, String fieldName)
getImplicitCollectionDefForFieldName in interface MappergetImplicitCollectionDefForFieldName in class MapperWrapperCopyright © 2021 Internet2. All rights reserved.