public class DataMigratorLinkToParentToLinkFromLeft extends DataMigrator
Constructor and Description |
---|
DataMigratorLinkToParentToLinkFromLeft(Module parentmodule,
LinkObject<?,?> newlink,
LinkedToParent<?> oldlinktoparent)
creates a data migrator migrating parent-child into normal links
|
Modifier and Type | Method and Description |
---|---|
void |
generateMigratorToFile(SourceGenerator sg,
Module module)
generates the migrator code to a file
|
java.lang.String |
getClassName() |
changeName, cleanName, equals, getName
public DataMigratorLinkToParentToLinkFromLeft(Module parentmodule, LinkObject<?,?> newlink, LinkedToParent<?> oldlinktoparent)
parentmodule
- parent modulenewlink
- new link to create dataoldlinktoparent
- old linked to parent property to get data frompublic void generateMigratorToFile(SourceGenerator sg, Module module) throws java.io.IOException
DataMigrator
generateMigratorToFile
in class DataMigrator
sg
- source generationmodule
- module of the migratorjava.io.IOException
- if any issue happens while writing the filespublic java.lang.String getClassName()
getClassName
in class DataMigrator