Class ExtractIDValueObjectQuickFix
- java.lang.Object
-
- org.contextmapper.dsl.quickfixes.tactic.ExtractIDValueObjectQuickFix
-
- All Implemented Interfaces:
CMLQuickFix<Attribute>
public class ExtractIDValueObjectQuickFix extends java.lang.Object implements CMLQuickFix<Attribute>
-
-
Constructor Summary
Constructors Constructor Description ExtractIDValueObjectQuickFix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyQuickfix(Attribute attribute)
Applies a quick fix (semantic change to the ContextMappingModel).java.lang.String
getDescription()
Defines the description text of the quick fix.java.lang.String
getName()
Defines the name of the quick fix.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.contextmapper.dsl.quickfixes.CMLQuickFix
applyQuickfix2EObject
-
-
-
-
Method Detail
-
applyQuickfix
public void applyQuickfix(Attribute attribute)
Description copied from interface:CMLQuickFix
Applies a quick fix (semantic change to the ContextMappingModel).- Specified by:
applyQuickfix
in interfaceCMLQuickFix<Attribute>
- Parameters:
attribute
- the object on which the quickfix is triggered (must be part of the model)
-
getName
public java.lang.String getName()
Description copied from interface:CMLQuickFix
Defines the name of the quick fix.- Specified by:
getName
in interfaceCMLQuickFix<Attribute>
- Returns:
- name of the quick fix as string
-
getDescription
public java.lang.String getDescription()
Description copied from interface:CMLQuickFix
Defines the description text of the quick fix.- Specified by:
getDescription
in interfaceCMLQuickFix<Attribute>
- Returns:
- the description text of the quick fix as string
-
-