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
jtulach@355
     1
package org.apidesign.livedb;
jtulach@355
     2
jtulach@355
     3
import java.lang.annotation.ElementType;
jtulach@355
     4
import java.lang.annotation.Retention;
jtulach@355
     5
import java.lang.annotation.RetentionPolicy;
jtulach@355
     6
import java.lang.annotation.Target;
jtulach@355
     7
jtulach@355
     8
/**
jtulach@355
     9
 *
jtulach@355
    10
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jtulach@355
    11
 */
jtulach@361
    12
// BEGIN: livedb.connection.annotation
jtulach@355
    13
@Target(ElementType.PACKAGE)
jtulach@355
    14
@Retention(RetentionPolicy.SOURCE)
jtulach@355
    15
public @interface LiveDB {
jtulach@357
    16
    String url();
jtulach@357
    17
    String user();
jtulach@357
    18
    String password();
jtulach@357
    19
    String query();
jtulach@355
    20
    String classname();
jtulach@355
    21
}
jtulach@361
    22
// END: livedb.connection.annotation