KickJava   Java API By Example, From Geeks To Geeks.

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


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: PathReference.java,v 1.2 2004/11/02 18:34:16 geaz Exp $
13  *
14  *
15  * @hibernate.class table="JCR_REPOSITORY_REFERENCE"
16  *
17  */

18
19 public class PathReference {
20     public PathReference() {
21     }
22
23   private Long JavaDoc id;
24   private String JavaDoc path;
25   private UUIDReference uuidRef;
26
27   /**
28    * @hibernate.id generator-class="increment"
29    **/

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

42    public String JavaDoc getPath() {
43      return path;
44    }
45    public void setPath(String JavaDoc path) {
46      this.path = path;
47    }
48
49   /**
50    * @hibernate.many-to-one column="UUID_REFERENCE_ID"
51    * ????not-null="true"
52    */

53   public UUIDReference getUuidRef() {
54     return uuidRef;
55   }
56
57   public void setUuidRef(UUIDReference UUID) {
58     this.uuidRef = UUID;
59   }
60
61 }
Popular Tags