mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix relationship direction argument handling as found by OpenCMIS tests.
- added none value to enum - fixed mapping of value to enum git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,6 +31,7 @@ package org.alfresco.cmis;
|
|||||||
*/
|
*/
|
||||||
public enum CMISRelationshipDirectionEnum implements EnumLabel
|
public enum CMISRelationshipDirectionEnum implements EnumLabel
|
||||||
{
|
{
|
||||||
|
NONE("none"),
|
||||||
SOURCE("source"),
|
SOURCE("source"),
|
||||||
TARGET("target"),
|
TARGET("target"),
|
||||||
BOTH("both");
|
BOTH("both");
|
||||||
@@ -56,5 +57,5 @@ public enum CMISRelationshipDirectionEnum implements EnumLabel
|
|||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EnumFactory<CMISRelationshipDirectionEnum> FACTORY = new EnumFactory<CMISRelationshipDirectionEnum>(CMISRelationshipDirectionEnum.class, BOTH);
|
public static EnumFactory<CMISRelationshipDirectionEnum> FACTORY = new EnumFactory<CMISRelationshipDirectionEnum>(CMISRelationshipDirectionEnum.class, NONE);
|
||||||
}
|
}
|
Reference in New Issue
Block a user