Class Decorator

  • All Implemented Interfaces:
    Writable

    public class Decorator
    extends GeneratedType
    Represents a decorator applied to a generated mapper type.
    • Field Detail

      • decoratorType

        private final Type decoratorType
      • mapperType

        private final Type mapperType
    • Method Detail

      • getImportTypes

        public java.util.SortedSet<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 GeneratedType
        Returns:
        A set with type referenced by this model element. Must not be null.
      • getMapperType

        public Type getMapperType()