wt.fc
Class IdentityMigrateHelper
java.lang.Object
wt.fc.IdentityMigrateHelper
- public class IdentityMigrateHelper
- extends Object
Provides migration with a way to assign values to restricted attributes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityMigrateHelper
public IdentityMigrateHelper()
setIdentity
public static void setIdentity(Identified obj,
IdentificationObject identity)
throws WTException
- Assigns the object the given identity, even if the object is persistent
- Parameters:
obj
- The object whose identity should be updatedidentity
- The object's new identity
- Throws:
WTException
changeIdentity
public static void changeIdentity(Identified obj,
IdentificationObject identity)
throws WTException
- Throws:
WTException