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:
Britt Park
2007-04-25 18:35:26 +00:00
parent 162ba3e141
commit 602440a983
24 changed files with 1156 additions and 10 deletions

View File

@@ -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);
}
}