Removed DOCUMENT ME comments that were generated and applied source code
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / DerbyDatabaseProvider.java
1 /*
2  * SCJD assignment, URLyBird, Erik Brakkee.
3  * Candidate ID: sr1399267.
4  */
5 package org.wamblee.support.persistence;
6
7 import java.util.Arrays;
8 import java.util.List;
9
10 /**
11  * 
12  * @author $author$
13  * @version $Revision$
14  */
15 public class DerbyDatabaseProvider extends AbstractDatabaseProvider {
16     /**
17      * Capabilities of this type of database.
18      */
19     public static final List<String> CAPABILIITIES = Arrays.asList(
20         DatabaseProvider.CAPABILITY_IN_MEMORY, "DERBY");
21
22     /**
23      * Creates a new DerbyDatabaseProvider object.
24      */
25     public DerbyDatabaseProvider() {
26         // Empty
27     }
28
29     public Database create() {
30         return new DerbyDatabase();
31     }
32
33     public DatabaseDescription getDescription() {
34         return new DatabaseDescription(CAPABILIITIES.toArray(new String[0]),
35             "Derby", "In-memory, volatile, set breakpoint to debug");
36     }
37
38     @Override
39     protected List<String> getCapabilities() {
40         return CAPABILIITIES;
41     }
42 }