public final class ViewNsMigrationUtil extends Object
|Modifier and Type||Method and Description|
Checks whether the view name space uri of the given file needs to be migrated.
If the given file references the view ecore, migrate the view ecore namespace URI of the template model to the namespace URI of the registered version of the view ecore.
public static boolean migrateViewEcoreNsUri(File file) throws IOException
Note: If no migration is necessary, nothing is written to the output writer.
public static boolean checkMigration(File file) throws IOException
file- The file to check
trueif no migration is necessary and
falseif the name space uri needs to be migrated.
IOException- if the file cannot be read
Copyright © 2020. All rights reserved.