Class NormalTypeMappingMethod

All Implemented Interfaces:
Writable
Direct Known Subclasses:
BeanMappingMethod, ContainerMappingMethod, MapMappingMethod

public abstract class NormalTypeMappingMethod extends MappingMethod
A MappingMethod that is used by the main mapping methods (BeanMappingMethod, MapMappingMethod, IterableMappingMethod and StreamMappingMethod (non-enum / non-value mapping)
Author:
Filip Hrisafov
  • Method Details

    • 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 MappingMethod
      Returns:
      A set with type referenced by this model element. Must not be null.
    • isMapNullToDefault

      public boolean isMapNullToDefault()
    • getFactoryMethod

      public MethodReference getFactoryMethod()
    • getAnnotations

      public List<Annotation> getAnnotations()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class MappingMethod
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class MappingMethod