mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user