KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > impl > storage > rdb > repository > data > ContainerRecord


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5
6 package org.exoplatform.services.jcr.impl.storage.rdb.repository.data;
7
8 /**
9  * Created by The eXo Platform SARL .
10  *
11  * @author <a HREF="mailto:geaz@users.sourceforge.net">Gennady Azarenkov</a>
12  * @version $Id: ContainerRecord.java,v 1.2 2004/11/02 18:34:16 geaz Exp $
13  *
14  * @hibernate.class table="JCR_REPOSITORY_CONTAINER"
15  *
16  */

17
18 public class ContainerRecord {
19     public ContainerRecord() {
20     }
21
22   private Long JavaDoc id;
23   private String JavaDoc name;
24
25   /**
26    * @hibernate.id generator-class="increment"
27    **/

28   public Long JavaDoc getId() {
29     return id;
30   }
31   public void setId(Long JavaDoc id) {
32     this.id = id;
33   }
34
35
36   /**
37    * @hibernate.property name="NAME"
38    * not-null="true"
39    * unique="true"
40    */

41    public String JavaDoc getName() {
42      return name;
43    }
44    public void setName(String JavaDoc name) {
45      this.name = name;
46    }
47
48 }
49
Popular Tags