Adds some convenience methods to AttributeService.

Namely two flavors each of addAttributes, for adding attributes to lists,
and setAttributes for adding entries to maps.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-05-29 18:19:00 +00:00
parent 7b5349005c
commit 21742933ec
8 changed files with 258 additions and 2 deletions

View File

@@ -211,4 +211,13 @@ public class MapAttributeValue extends AttributeValue implements MapAttribute
builder.append('}');
return builder.toString();
}
/* (non-Javadoc)
* @see org.alfresco.repo.attributes.AttributeValue#size()
*/
@Override
public int size()
{
return fData.size();
}
}