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:
@@ -27,6 +27,7 @@ package org.alfresco.repo.attributes;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
@@ -286,4 +287,52 @@ public abstract class AttributeValue implements Attribute
|
||||
{
|
||||
fACL = acl;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#add(org.alfresco.repo.attributes.Attribute)
|
||||
*/
|
||||
public void add(Attribute attr)
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#add(int, org.alfresco.repo.attributes.Attribute)
|
||||
*/
|
||||
public void add(int index, Attribute attr)
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#iterator()
|
||||
*/
|
||||
public Iterator<Attribute> iterator()
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#size()
|
||||
*/
|
||||
public int size()
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List or Map.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#get(int)
|
||||
*/
|
||||
public Attribute get(int index)
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.attributes.Attribute#remove(int)
|
||||
*/
|
||||
public void remove(int index)
|
||||
{
|
||||
throw new AttributeMethodNotImplemented("Not a List.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user