chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r951586 - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src: main/java/org/apache/chemistry/opencmis/inmemory/types/ test/java/org/apache/chemistry/opencmis/inmemory/
Date Fri, 04 Jun 2010 21:51:02 GMT
Author: jens
Date: Fri Jun  4 21:51:02 2010
New Revision: 951586

URL: http://svn.apache.org/viewvc?rev=951586&view=rev
Log:
make some sample property definitions multi values as it is mentioned in their description

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java?rev=951586&r1=951585&r2=951586&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/DefaultTypeSystemCreator.java
Fri Jun  4 21:51:02 2010
@@ -157,14 +157,14 @@ public class DefaultTypeSystemCreator im
                 "Sample Decimal Property");
         propertyDefinitions.put(prop3.getId(), prop3);
 
-        prop3 = PropertyCreationHelper.createDecimalDefinition("DecimalPropMV", "Sample Decimal
multi-value Property");
+        prop3 = PropertyCreationHelper.createDecimalMultiDefinition("DecimalPropMV", "Sample
Decimal multi-value Property");
         propertyDefinitions.put(prop3.getId(), prop3);
 
         PropertyHtmlDefinitionImpl prop4 = PropertyCreationHelper.createHtmlDefinition("HtmlProp",
                 "Sample Html Property");
         propertyDefinitions.put(prop4.getId(), prop4);
 
-        prop4 = PropertyCreationHelper.createHtmlDefinition("HtmlPropMV", "Sample Html multi-value
Property");
+        prop4 = PropertyCreationHelper.createHtmlMultiDefinition("HtmlPropMV", "Sample Html
multi-value Property");
         propertyDefinitions.put(prop4.getId(), prop4);
 
         PropertyIdDefinitionImpl prop5 = PropertyCreationHelper.createIdDefinition("IdProp",
"Sample Id Property");
@@ -177,7 +177,7 @@ public class DefaultTypeSystemCreator im
                 "Sample Int Property");
         propertyDefinitions.put(prop6.getId(), prop6);
 
-        prop6 = PropertyCreationHelper.createIntegerDefinition("IntPropMV", "Sample Int multi-value
Property");
+        prop6 = PropertyCreationHelper.createIntegerMultiDefinition("IntPropMV", "Sample
Int multi-value Property");
         propertyDefinitions.put(prop6.getId(), prop6);
 
         PropertyStringDefinitionImpl prop7 = PropertyCreationHelper.createStringDefinition("StringProp",
@@ -187,7 +187,7 @@ public class DefaultTypeSystemCreator im
         PropertyUriDefinitionImpl prop8 = PropertyCreationHelper.createUriDefinition("UriProp",
"Sample Uri Property");
         propertyDefinitions.put(prop8.getId(), prop8);
 
-        prop8 = PropertyCreationHelper.createUriDefinition("UriPropMV", "Sample Uri multi-value
Property");
+        prop8 = PropertyCreationHelper.createUriMultiDefinition("UriPropMV", "Sample Uri
multi-value Property");
         propertyDefinitions.put(prop8.getId(), prop8);
 
         PropertyStringDefinitionImpl prop9 = PropertyCreationHelper.createStringDefinition("PickListProp",

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java?rev=951586&r1=951585&r2=951586&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/UnitTestTypeSystemCreator.java
Fri Jun  4 21:51:02 2010
@@ -163,7 +163,7 @@ public class UnitTestTypeSystemCreator i
                 "Sample Decimal Property");
         propertyDefinitions.put(prop3.getId(), prop3);
 
-        prop3 = PropertyCreationHelper.createDecimalDefinition("DecimalPropMV", "Sample Decimal
multi-value Property");
+        prop3 = PropertyCreationHelper.createDecimalMultiDefinition("DecimalPropMV", "Sample
Decimal multi-value Property");
         propertyDefinitions.put(prop3.getId(), prop3);
 
         PropertyHtmlDefinitionImpl prop4 = PropertyCreationHelper.createHtmlDefinition("HtmlProp",
@@ -176,14 +176,14 @@ public class UnitTestTypeSystemCreator i
         PropertyIdDefinitionImpl prop5 = PropertyCreationHelper.createIdDefinition("IdProp",
"Sample Id Property");
         propertyDefinitions.put(prop5.getId(), prop5);
 
-        prop5 = PropertyCreationHelper.createIdDefinition("IdPropMV", "Sample Id Html multi-value
Property");
+        prop5 = PropertyCreationHelper.createIdMultiDefinition("IdPropMV", "Sample Id Html
multi-value Property");
         propertyDefinitions.put(prop5.getId(), prop5);
 
         PropertyIntegerDefinitionImpl prop6 = PropertyCreationHelper.createIntegerDefinition("IntProp",
                 "Sample Int Property");
         propertyDefinitions.put(prop6.getId(), prop6);
 
-        prop6 = PropertyCreationHelper.createIntegerDefinition("IntPropMV", "Sample Int multi-value
Property");
+        prop6 = PropertyCreationHelper.createIntegerMultiDefinition("IntPropMV", "Sample
Int multi-value Property");
         propertyDefinitions.put(prop6.getId(), prop6);
 
         PropertyStringDefinitionImpl prop7 = PropertyCreationHelper.createStringDefinition("StringProp",
@@ -193,7 +193,7 @@ public class UnitTestTypeSystemCreator i
         PropertyUriDefinitionImpl prop8 = PropertyCreationHelper.createUriDefinition("UriProp",
"Sample Uri Property");
         propertyDefinitions.put(prop8.getId(), prop8);
 
-        prop8 = PropertyCreationHelper.createUriDefinition("UriPropMV", "Sample Uri multi-value
Property");
+        prop8 = PropertyCreationHelper.createUriMultiDefinition("UriPropMV", "Sample Uri
multi-value Property");
         propertyDefinitions.put(prop8.getId(), prop8);
 
         PropertyStringDefinitionImpl prop9 = PropertyCreationHelper.createStringDefinition("PickListProp",



Mime
View raw message