net.sf.borg.model.tool
Class ApptKeyConverter

java.lang.Object
  extended by net.sf.borg.model.tool.ApptKeyConverter
All Implemented Interfaces:
ConversionTool

public class ApptKeyConverter
extends Object
implements ConversionTool

converts all appointments in a 1.7.1 database to use a simple, sequential primary key (like other objects) for version 1.7.2. In versions 1.7.1 and before, the appointment primary key was an encoded date, which forced a primary key change whenever an appointment changed date.


Constructor Summary
ApptKeyConverter()
           
 
Method Summary
 void convert()
          run the database conversion from 1.7.1 to 1.7.2
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApptKeyConverter

public ApptKeyConverter()
Method Detail

main

public static void main(String[] args)

convert

public void convert()
             throws Exception
run the database conversion from 1.7.1 to 1.7.2

Specified by:
convert in interface ConversionTool
Throws:
Exception


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae