Class ImplicitCollectionMapper

  • All Implemented Interfaces:
    Mapper

    public class ImplicitCollectionMapper
    extends MapperWrapper
    • Constructor Detail

      • ImplicitCollectionMapper

        public ImplicitCollectionMapper​(Mapper wrapped)
    • Method Detail

      • getFieldNameForItemTypeAndName

        public java.lang.String getFieldNameForItemTypeAndName​(java.lang.Class definedIn,
                                                               java.lang.Class itemType,
                                                               java.lang.String itemFieldName)
        Description copied from interface: Mapper
        Get the name of the field that acts as the default collection for an object, or return null if there is none.
        Specified by:
        getFieldNameForItemTypeAndName in interface Mapper
        Overrides:
        getFieldNameForItemTypeAndName in class MapperWrapper
        Parameters:
        definedIn - owning type
        itemType - item type
        itemFieldName - optional item element name
      • add

        public void add​(java.lang.Class definedIn,
                        java.lang.String fieldName,
                        java.lang.Class itemType)
      • add

        public void add​(java.lang.Class definedIn,
                        java.lang.String fieldName,
                        java.lang.String itemFieldName,
                        java.lang.Class itemType)
      • add

        public void add​(java.lang.Class definedIn,
                        java.lang.String fieldName,
                        java.lang.String itemFieldName,
                        java.lang.Class itemType,
                        java.lang.String keyFieldName)