public class ImplicitCollectionMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
ImplicitCollectionMapper(Mapper wrapped,
ReflectionProvider reflectionProvider) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Class definedIn,
java.lang.String fieldName,
java.lang.Class itemType) |
void |
add(java.lang.Class definedIn,
java.lang.String fieldName,
java.lang.String itemFieldName,
java.lang.Class itemType) |
void |
add(java.lang.Class definedIn,
java.lang.String fieldName,
java.lang.String itemFieldName,
java.lang.Class itemType,
java.lang.String keyFieldName) |
java.lang.String |
getFieldNameForItemTypeAndName(java.lang.Class definedIn,
java.lang.Class itemType,
java.lang.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(java.lang.Class itemType,
java.lang.String fieldName) |
java.lang.Class |
getItemTypeForItemFieldName(java.lang.Class definedIn,
java.lang.String itemFieldName) |
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
public ImplicitCollectionMapper(Mapper wrapped, ReflectionProvider reflectionProvider)
public java.lang.String getFieldNameForItemTypeAndName(java.lang.Class definedIn, java.lang.Class itemType, java.lang.String itemFieldName)
Mapper
getFieldNameForItemTypeAndName
in interface Mapper
getFieldNameForItemTypeAndName
in class MapperWrapper
definedIn
- owning typeitemType
- item typeitemFieldName
- optional item element namepublic java.lang.Class getItemTypeForItemFieldName(java.lang.Class definedIn, java.lang.String itemFieldName)
getItemTypeForItemFieldName
in interface Mapper
getItemTypeForItemFieldName
in class MapperWrapper
public Mapper.ImplicitCollectionMapping getImplicitCollectionDefForFieldName(java.lang.Class itemType, java.lang.String fieldName)
getImplicitCollectionDefForFieldName
in interface Mapper
getImplicitCollectionDefForFieldName
in class MapperWrapper
public void add(java.lang.Class definedIn, java.lang.String fieldName, java.lang.Class itemType)
public void add(java.lang.Class definedIn, java.lang.String fieldName, java.lang.String itemFieldName, java.lang.Class itemType)
public void add(java.lang.Class definedIn, java.lang.String fieldName, java.lang.String itemFieldName, java.lang.Class itemType, java.lang.String keyFieldName)
Copyright © 2004–2024 XStream. All rights reserved.