Fix ALF-2299: CMOS AtomPub binding - Property definition does not map Alfresco content model defined MINMAX constraints

- MINMAX constraint now mapped to minValue and maxValue in CMIS property definition

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-03-31 16:35:45 +00:00
parent fcc149147f
commit d452965061
2 changed files with 42 additions and 1 deletions

View File

@@ -126,12 +126,26 @@ public interface CMISPropertyDefinition
public boolean isOrderable();
/**
* For variable length properties, get the maximum length allowed. Unsupported.
* For variable length properties, get the maximum length allowed.
*
* @return
*/
public int getMaximumLength();
/**
* For Integer and Decimal properties, get the minimum value allowed
*
* @return
*/
public Double getMinValue();
/**
* For Integer and Decimal properties, get the maximum value allowed
*
* @return
*/
public Double getMaxValue();
/**
* Gets the property accessor (for reading / writing values)
*