Class MapMappingMethod

All Implemented Interfaces:
Writable

public class MapMappingMethod extends NormalTypeMappingMethod
A MappingMethod implemented by a Mapper class which maps one Map type to another. Keys and values are mapped either by a TypeConversion or another mapping method if required.
Author:
Gunnar Morling
  • Method Details

    • getSourceParameter

      public Parameter getSourceParameter()
    • getSourceParameterPresenceCheck

      public PresenceCheck getSourceParameterPresenceCheck()
    • getSourceElementTypes

      public List<Type> getSourceElementTypes()
    • getResultElementTypes

      public List<Type> getResultElementTypes()
    • getKeyAssignment

      public Assignment getKeyAssignment()
    • getValueAssignment

      public Assignment getValueAssignment()
    • getImportTypes

      public Set<Type> getImportTypes()
      Description copied from class: ModelElement
      Returns a set containing those Types referenced by this model element for which an import statement needs to be declared.
      Overrides:
      getImportTypes in class NormalTypeMappingMethod
      Returns:
      A set with type referenced by this model element. Must not be null.
    • getKeyVariableName

      public String getKeyVariableName()
    • getValueVariableName

      public String getValueVariableName()
    • getEntryVariableName

      public String getEntryVariableName()
    • getIterableCreation

      public IterableCreation getIterableCreation()