Class DefaultMapperReference

  • All Implemented Interfaces:
    Writable

    public class DefaultMapperReference
    extends MapperReference
    Mapper reference which is retrieved via the Mappers#getMapper() method. Used by default if no other component model is specified via Mapper#uses().
    Author:
    Gunnar Morling
    • Method Detail

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

        public boolean isAnnotatedMapper()
      • isSingleton

        public boolean isSingleton()