samples/livedb/src/org/apidesign/livedb/LiveDB.java
author Jaroslav Tulach <jtulach@netbeans.org>
Wed, 14 Jul 2010 20:56:33 +0200
branchlivedb
changeset 357 837370f791ba
parent 355 d1e7424dc988
child 361 6507a9474b6d
permissions -rw-r--r--
Rewritting the processor to really connect to a database and read metadata from a real 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@355
    12
@Target(ElementType.PACKAGE)
jtulach@355
    13
@Retention(RetentionPolicy.SOURCE)
jtulach@355
    14
public @interface LiveDB {
jtulach@357
    15
    String url();
jtulach@357
    16
    String user();
jtulach@357
    17
    String password();
jtulach@357
    18
    String query();
jtulach@355
    19
    String classname();
jtulach@355
    20
}