Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.borg.model.tool
Class ApptKeyConverter

    java.lang.Object
      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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic