org.eclipse.emf.emfstore.internal.server.startup
Class VersionRule

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.startup.VersionRule
All Implemented Interfaces:
UpdateXMIAttributeRule

public class VersionRule
extends Object
implements UpdateXMIAttributeRule

Author:
jfaltermeier

Constructor Summary
VersionRule()
           
 
Method Summary
 String getNewAttribute(String oldAttr)
          Computes the the new attribute based on the old value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionRule

public VersionRule()
Method Detail

getNewAttribute

public String getNewAttribute(String oldAttr)
Computes the the new attribute based on the old value.

Specified by:
getNewAttribute in interface UpdateXMIAttributeRule
Parameters:
oldAttr - the attribute before migration
Returns:
the attribute to be used after migration
See Also:
UpdateXMIAttributeRule.getNewAttribute(java.lang.String)


Copyright © 2015. All Rights Reserved.