KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > demo > drupal > persistence > Filter


1 package demo.drupal.persistence;
2
3 import javax.persistence.Entity;
4 import javax.persistence.Table;
5
6 @Entity
7 @Table(name="filters")
8 public class Filter {
9   /**
10    * CREATE TABLE `filters` (
11    * `format` int(4) NOT NULL default '0',
12    * `module` varchar(64) NOT NULL default '',
13    * `delta` tinyint(2) NOT NULL default '0',
14    * `weight` tinyint(2) NOT NULL default '0',
15    * KEY `weight` (`weight`)
16    * );
17    */

18
19   private int format;
20   private String JavaDoc module;
21   private int delta;
22   private int weight;
23 }
24
Popular Tags