KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > impl > core > nodetype > mix > Referenceable


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.core.nodetype.mix;
7
8
9 import javax.jcr.nodetype.PropertyDef;
10 import javax.jcr.nodetype.NodeType;
11 import javax.jcr.nodetype.NodeDef;
12
13
14 import javax.jcr.PropertyType;
15 import javax.jcr.Value;
16 import javax.jcr.StringValue;
17
18
19 import javax.jcr.version.OnParentVersionAction;
20 import org.exoplatform.services.jcr.impl.core.nodetype.NodeDefImpl;
21 import org.exoplatform.services.jcr.impl.core.nodetype.NodeTypeImpl;
22 import org.exoplatform.services.jcr.impl.core.nodetype.PropertyDefImpl;
23 import org.exoplatform.services.jcr.impl.core.nodetype.nt.Base;
24
25 /**
26  * Created by The eXo Platform SARL .
27  *
28  * @author <a HREF="mailto:geaz@users.sourceforge.net">Gennady Azarenkov</a>
29  * @version $Id: Referenceable.java,v 1.2 2004/07/08 23:36:48 benjmestrallet Exp $
30  */

31
32 public class Referenceable extends NodeTypeImpl {
33
34   public Referenceable() {
35     this.name = "mix:referenceable";
36     this.mixin = true;
37     this.declaredPropertyDefs = new PropertyDef[1];
38     this.declaredPropertyDefs[0] = new PropertyDefImpl("jcr:uuid", null, PropertyType.STRING,
39         null, null, true, true,
40         OnParentVersionAction.INITIALIZE, true, false, false);
41
42   }
43
44 }
45
Popular Tags