samples/livedb/src/org/apidesign/livedb/LiveDB.java
author Jaroslav Tulach <jtulach@netbeans.org>
Fri Aug 27 14:06:39 2010 +0200
changeset 365 0b7ec6ef8a72
parent 357 837370f791ba
permissions -rw-r--r--
Providing static as well as dynamic code completions for the select statement
     1 package org.apidesign.livedb;
     2 
     3 import java.lang.annotation.ElementType;
     4 import java.lang.annotation.Retention;
     5 import java.lang.annotation.RetentionPolicy;
     6 import java.lang.annotation.Target;
     7 
     8 /**
     9  *
    10  * @author Jaroslav Tulach <jtulach@netbeans.org>
    11  */
    12 // BEGIN: livedb.connection.annotation
    13 @Target(ElementType.PACKAGE)
    14 @Retention(RetentionPolicy.SOURCE)
    15 public @interface LiveDB {
    16     String url();
    17     String user();
    18     String password();
    19     String query();
    20     String classname();
    21 }
    22 // END: livedb.connection.annotation