KickJava   Java API By Example, From Geeks To Geeks.

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


1 package demo.drupal.persistence;
2
3 import javax.persistence.Entity;
4 import javax.persistence.Table;
5
6 @Entity
7 @Table(name="locales_target")
8 public class LocaleTarget {
9   /**
10    * CREATE TABLE `locales_target` (
11    * `lid` int(11) NOT NULL default '0',
12    * `translation` blob NOT NULL,
13    * `locale` varchar(12) NOT NULL default '',
14    * `plid` int(11) NOT NULL default '0',
15    * `plural` int(1) NOT NULL default '0',
16    * KEY `lid` (`lid`),
17    * KEY `lang` (`locale`),
18    * KEY `plid` (`plid`),
19    * KEY `plural` (`plural`)
20    * );
21    */

22
23   private int lid;
24   private String JavaDoc translation; // blob
25
private String JavaDoc locale;
26   private int plid;
27   private int plural;
28 }
29
Popular Tags