mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Property constraint dictionary support
Constraint implementation support Regular expression constraint git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -50,7 +50,7 @@ public class M2Model
|
||||
private List<M2DataType> dataTypes = new ArrayList<M2DataType>();
|
||||
private List<M2Type> types = new ArrayList<M2Type>();
|
||||
private List<M2Aspect> aspects = new ArrayList<M2Aspect>();
|
||||
|
||||
private List<M2Constraint> constraints = new ArrayList<M2Constraint>();
|
||||
|
||||
private M2Model()
|
||||
{
|
||||
@@ -379,8 +379,13 @@ public class M2Model
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public List<M2Constraint> getConstraints()
|
||||
{
|
||||
return Collections.unmodifiableList(constraints);
|
||||
}
|
||||
|
||||
// Do not delete: referenced by m2binding.xml
|
||||
@SuppressWarnings("unused")
|
||||
private static List createList()
|
||||
{
|
||||
return new ArrayList();
|
||||
|
Reference in New Issue
Block a user