1 5 6 package org.exoplatform.services.jcr.impl.core.nodetype.nt; 7 8 9 import javax.jcr.PropertyType; 10 import javax.jcr.version.OnParentVersionAction; 11 import org.exoplatform.services.jcr.impl.core.nodetype.NodeTypeImpl; 12 import org.exoplatform.services.jcr.impl.core.nodetype.PropertyDefImpl; 13 14 19 public class Query extends NodeTypeImpl { 20 24 public Query() { 25 this.name = "nt:query"; 26 this.mixin = false; 27 this.declaredSupertypes = new javax.jcr.nodetype.NodeType[1]; 28 this.declaredSupertypes[0] = new Base(); 29 this.declaredPropertyDefs = new javax.jcr.nodetype.PropertyDef[2]; 30 this.declaredPropertyDefs[0] = new PropertyDefImpl("jcr:statement", null, PropertyType.STRING, 31 null, null, false, false, 32 OnParentVersionAction.COPY, false, false, false); 33 this.declaredPropertyDefs[1] = new PropertyDefImpl("jcr:language", null, PropertyType.STRING, 34 null, null, false, false, 35 OnParentVersionAction.COPY, false, false, false); 36 } 37 } 38 | Popular Tags |