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(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) |
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, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getLocalConverter, isImmutableValueType, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMemberpublic ImplicitCollectionMapper(Mapper wrapped)
public ImplicitCollectionMapper(ClassMapper wrapped)
ImplicitCollectionMapper(Mapper)public java.lang.String getFieldNameForItemTypeAndName(java.lang.Class definedIn,
java.lang.Class itemType,
java.lang.String itemFieldName)
MappergetFieldNameForItemTypeAndName in interface MappergetFieldNameForItemTypeAndName in class MapperWrapperdefinedIn - owning typeitemType - item typeitemFieldName - optional item element namepublic java.lang.Class getItemTypeForItemFieldName(java.lang.Class definedIn,
java.lang.String itemFieldName)
getItemTypeForItemFieldName in interface MappergetItemTypeForItemFieldName in class MapperWrapperpublic Mapper.ImplicitCollectionMapping getImplicitCollectionDefForFieldName(java.lang.Class itemType, java.lang.String fieldName)
getImplicitCollectionDefForFieldName in interface MappergetImplicitCollectionDefForFieldName in class MapperWrapperpublic 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)
Copyright © 2004-2012 XStream. All Rights Reserved.