org.nuiton.topia.migration.transformation
Class AbstractMigration

java.lang.Object
  extended by org.nuiton.topia.migration.transformation.AbstractMigration
All Implemented Interfaces:
Migration
Direct Known Subclasses:
MigrationNull

Deprecated. since 2.3.4, please use now the simplify service TopiaMigrationEngine

@Deprecated
public abstract class AbstractMigration
extends Object
implements Migration

AbstractMigration.java

Author:
Chatellier Eric, Chevallereau Benjamin, Eon Sébastien, Trève Vincent

Constructor Summary
AbstractMigration()
          Deprecated.  
 
Method Summary
abstract  void migrate(MapAdapter map, MapHelper helper)
          Deprecated. Effectue la migration
 ProxyClass migrateFrom()
          Deprecated. Nom de la classe depuis laquelle provient la nouvelle classe
 Serializable modifyId(Serializable value)
          Deprecated. Modification de l'identifiant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMigration

public AbstractMigration()
Deprecated. 
Method Detail

modifyId

public Serializable modifyId(Serializable value)
Deprecated. 
Modification de l'identifiant

Specified by:
modifyId in interface Migration
Parameters:
value - L'ancienne valeur de l'identifiant
Returns:
La nouvelle valeur de l'identifiant

migrateFrom

public ProxyClass migrateFrom()
Deprecated. 
Nom de la classe depuis laquelle provient la nouvelle classe

Specified by:
migrateFrom in interface Migration
Returns:
Le nom de la classe depuis laquelle provient la nouvelle classe ou null si le nom ne change pas

migrate

public abstract void migrate(MapAdapter map,
                             MapHelper helper)
Deprecated. 
Effectue la migration

Specified by:
migrate in interface Migration
Parameters:
map - La map d'entree/sortie
helper - Le helper permettant d'acceder au autre tuple de la base


Copyright © 2004-2010 CodeLutin. All Rights Reserved.