chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabri...@apache.org
Subject svn commit: r927040 - /incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java
Date Wed, 24 Mar 2010 12:45:06 GMT
Author: gabriele
Date: Wed Mar 24 12:45:06 2010
New Revision: 927040

URL: http://svn.apache.org/viewvc?rev=927040&view=rev
Log:
-- added property and type definition constants
-- more checkins coming related to https://issues.apache.org/jira/browse/CMIS-146

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java?rev=927040&r1=927039&r2=927040&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-abdera/src/main/java/org/apache/chemistry/abdera/ext/CMISConstants.java
Wed Mar 24 12:45:06 2010
@@ -128,17 +128,19 @@ public interface CMISConstants {
     public static final QName TYPE_ID = new QName(CMIS_NS, "id");
     public static final QName TYPE_LOCAL_NAME = new QName(CMIS_NS, "localName");
     public static final QName TYPE_LOCAL_NAMESPACE = new QName(CMIS_NS, "localNamespace");
-    public static final QName TYPE_DISPLAY_NAME = new QName(CMIS_NS, "displayName");
     public static final QName TYPE_QUERY_NAME = new QName(CMIS_NS, "queryName");
-    public static final QName TYPE_DESCRIPTION = new QName(CMIS_NS, "description");
+    public static final QName TYPE_DISPLAY_NAME = new QName(CMIS_NS, "displayName");
     public static final QName TYPE_BASE_ID = new QName(CMIS_NS, "baseId");
+    public static final QName TYPE_PARENT_ID = new QName(CMIS_NS, "parentId");
+    public static final QName TYPE_DESCRIPTION = new QName(CMIS_NS, "description");
     public static final QName TYPE_CREATABLE = new QName(CMIS_NS, "creatable");
     public static final QName TYPE_FILEABLE = new QName(CMIS_NS, "fileable");
     public static final QName TYPE_QUERYABLE = new QName(CMIS_NS, "queryable");
-    public static final QName TYPE_FULL_TEXT_INDEXED = new QName(CMIS_NS, "fulltextIndexed");
-    public static final QName TYPE_INCLUDED_IN_SUPERTYPE_QUERY = new QName(CMIS_NS, "includedInSupertypeQuery");
     public static final QName TYPE_CONTROLLABLE_POLICY = new QName(CMIS_NS, "controllablePolicy");
     public static final QName TYPE_CONTROLLABLE_ACL = new QName(CMIS_NS, "controllableACL");
+    public static final QName TYPE_FULL_TEXT_INDEXED = new QName(CMIS_NS, "fulltextIndexed");
+    public static final QName TYPE_INCLUDED_IN_SUPERTYPE_QUERY = new QName(CMIS_NS, "includedInSupertypeQuery");
+    
     
     // CMIS Property Definition
     public static final QName STRING_PROPERTY_DEFINITION = new QName(CMIS_NS, "propertyStringDefinition");
@@ -152,8 +154,8 @@ public interface CMISConstants {
     public static final QName PROPDEF_ID = new QName(CMIS_NS, "id");
     public static final QName PROPDEF_LOCAL_NAME = new QName(CMIS_NS, "localName");
     public static final QName PROPDEF_LOCAL_NAMESPACE = new QName(CMIS_NS, "localNamespace");
-    public static final QName PROPDEF_DISPLAY_NAME = new QName(CMIS_NS, "displayName");
     public static final QName PROPDEF_QUERY_NAME = new QName(CMIS_NS, "queryName");
+    public static final QName PROPDEF_DISPLAY_NAME = new QName(CMIS_NS, "displayName");
     public static final QName PROPDEF_DESCRIPTION = new QName(CMIS_NS, "description");
     public static final QName PROPDEF_PROPERTY_TYPE = new QName(CMIS_NS, "propertyType");
     public static final QName PROPDEF_CARDINALITY = new QName(CMIS_NS, "cardinality");
@@ -162,8 +164,18 @@ public interface CMISConstants {
     public static final QName PROPDEF_REQUIRED = new QName(CMIS_NS, "required");
     public static final QName PROPDEF_QUERYABLE = new QName(CMIS_NS, "queryable");
     public static final QName PROPDEF_ORDERABLE = new QName(CMIS_NS, "orderable");
+    public static final QName PROPDEF_CHOICES = new QName(CMIS_NS, "choices");
+    public static final QName PROPDEF_CHOICES_DISPLAY_NAME = new QName(CMIS_NS, "displayName");
     public static final QName PROPDEF_OPEN_CHOICE = new QName(CMIS_NS, "openChoice");
-    // TODO: choice
+    public static final QName PROPDEF_DEFAULT_VALUE = new QName(CMIS_NS, "defaultValue");
+    
+    // Integer specific defs
+    public static final QName PROPDEF_INT_MIN_VALUE = new QName(CMIS_NS, "minValue");
+    public static final QName PROPDEF_INT_MAX_VALUE = new QName(CMIS_NS, "maxValue");
+    // Date specific defs
+    public static final QName PROPDEF_DATE_RESOLUTION = new QName(CMIS_NS, "resolution");
+    // String specific defs
+    public static final QName PROPDEF_STRING_RESOLUTION = new QName(CMIS_NS, "maxLength");
     
     // CMIS Number of Items
     public static final QName NUM_ITEMS = new QName(CMISRA_NS, "numItems");



Mime
View raw message