Class ExtractIDValueObjectQuickFix

java.lang.Object
org.contextmapper.dsl.quickfixes.tactic.ExtractIDValueObjectQuickFix
All Implemented Interfaces:
CMLQuickFix<Attribute>

public class ExtractIDValueObjectQuickFix extends Object implements CMLQuickFix<Attribute>
  • Constructor Details

    • ExtractIDValueObjectQuickFix

      public ExtractIDValueObjectQuickFix()
  • Method Details

    • applyQuickfix

      public void applyQuickfix(Attribute attribute)
      Description copied from interface: CMLQuickFix
      Applies a quick fix (semantic change to the ContextMappingModel).
      Specified by:
      applyQuickfix in interface CMLQuickFix<Attribute>
      Parameters:
      attribute - the object on which the quickfix is triggered (must be part of the model)
    • getName

      public String getName()
      Description copied from interface: CMLQuickFix
      Defines the name of the quick fix.
      Specified by:
      getName in interface CMLQuickFix<Attribute>
      Returns:
      name of the quick fix as string
    • getDescription

      public String getDescription()
      Description copied from interface: CMLQuickFix
      Defines the description text of the quick fix.
      Specified by:
      getDescription in interface CMLQuickFix<Attribute>
      Returns:
      the description text of the quick fix as string