mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
Fixed multiplicity message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
c25aa603a6
commit
9484bb334a
@ -145,7 +145,7 @@ public class AssocSourceMultiplicityIntegrityEvent extends AbstractIntegrityEven
|
|||||||
}
|
}
|
||||||
if ((mandatory && actualSize == 0) || (!allowMany && actualSize > 1))
|
if ((mandatory && actualSize == 0) || (!allowMany && actualSize > 1))
|
||||||
{
|
{
|
||||||
String parentOrSourceStr = (assocDef.isChild() ? "child" : "target");
|
String parentOrSourceStr = (assocDef.isChild() ? "parent" : "source");
|
||||||
IntegrityRecord result = new IntegrityRecord(
|
IntegrityRecord result = new IntegrityRecord(
|
||||||
"The association " + parentOrSourceStr + " multiplicity has been violated: \n" +
|
"The association " + parentOrSourceStr + " multiplicity has been violated: \n" +
|
||||||
" Association: " + assocDef + "\n" +
|
" Association: " + assocDef + "\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user