mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Interim checkin for ListAttribute support.
Should fix build breakage also. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -110,6 +110,11 @@ public class MapAttributeImpl extends AttributeImpl implements MapAttribute
|
||||
newAttr = new MapAttributeImpl((MapAttribute)value);
|
||||
break;
|
||||
}
|
||||
case LIST :
|
||||
{
|
||||
newAttr = new ListAttributeImpl((ListAttribute)value);
|
||||
break;
|
||||
}
|
||||
default :
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Unknown Attribute Type: " + value.getType());
|
||||
@@ -248,4 +253,13 @@ public class MapAttributeImpl extends AttributeImpl implements MapAttribute
|
||||
builder.append('}');
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.AttributeImpl#size()
|
||||
*/
|
||||
@Override
|
||||
public int size()
|
||||
{
|
||||
return AVMDAOs.Instance().fMapEntryDAO.size(this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user