com.wewebu.ow.server.field
Class OwStandardEnumCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by com.wewebu.ow.server.field.OwStandardEnumCollection
All Implemented Interfaces:
OwEnumCollection, Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class OwStandardEnumCollection
extends ArrayList
implements OwEnumCollection

Standard implementation of OwEnumCollection of OwEnum elements.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OwStandardEnumCollection()
           
 
Method Summary
 boolean add(Object o_p)
          overridden from Collection to adjust the backup map
 void clear()
          clear the collection
 String getDisplayName(Locale local_p, Object object_p)
          retrieve a display name for the given object
 boolean remove(Object o_p)
          remove an object from the collection
 boolean removeAll(Collection c_p)
          remove objects from the collection
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, retainAll, subList
 

Constructor Detail

OwStandardEnumCollection

public OwStandardEnumCollection()
Method Detail

add

public boolean add(Object o_p)
overridden from Collection to adjust the backup map

Specified by:
add in interface Collection
Specified by:
add in interface List
Overrides:
add in class ArrayList

getDisplayName

public String getDisplayName(Locale local_p,
                             Object object_p)
retrieve a display name for the given object

Specified by:
getDisplayName in interface OwEnumCollection

remove

public boolean remove(Object o_p)
remove an object from the collection

Specified by:
remove in interface Collection
Specified by:
remove in interface List
Overrides:
remove in class ArrayList

clear

public void clear()
clear the collection

Specified by:
clear in interface Collection
Specified by:
clear in interface List
Overrides:
clear in class ArrayList

removeAll

public boolean removeAll(Collection c_p)
remove objects from the collection

Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface List
Overrides:
removeAll in class AbstractCollection


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.