Class DecoratorConstructor

All Implemented Interfaces:
Constructor, Writable

public class DecoratorConstructor extends ModelElement implements Constructor
Represents the constructor of a decorator.
Author:
Gunnar Morling
  • Constructor Details

    • DecoratorConstructor

      public DecoratorConstructor(String name, String delegateName, boolean invokeSuperConstructor)
  • 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.
      Specified by:
      getImportTypes in interface Constructor
      Specified by:
      getImportTypes in class ModelElement
      Returns:
      A set with type referenced by this model element. Must not be null.
    • getName

      public String getName()
      Specified by:
      getName in interface Constructor
    • getDelegateName

      public String getDelegateName()
    • isInvokeSuperConstructor

      public boolean isInvokeSuperConstructor()