org.iternine.jeppetto.dao.mongodb.enhance
Class UpdateSet

java.lang.Object
  extended by org.iternine.jeppetto.dao.mongodb.enhance.UpdateSet
All Implemented Interfaces:
Iterable, Collection, Set, UpdateObject

public class UpdateSet
extends Object
implements Set, UpdateObject


Constructor Summary
UpdateSet()
           
 
Method Summary
 boolean add(Object element)
           
 boolean addAll(Collection collection)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection objects)
           
 com.mongodb.DBObject getUpdateClause()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object element)
           
 boolean removeAll(Collection collection)
           
 boolean retainAll(Collection collection)
           
 void setPrefix(String prefix)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] objects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

UpdateSet

public UpdateSet()
Method Detail

add

public boolean add(Object element)
Specified by:
add in interface Collection
Specified by:
add in interface Set

addAll

public boolean addAll(Collection collection)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface Set

remove

public boolean remove(Object element)
Specified by:
remove in interface Collection
Specified by:
remove in interface Set

removeAll

public boolean removeAll(Collection collection)
Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface Set

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface Set

retainAll

public boolean retainAll(Collection collection)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface Set

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface Set

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface Set

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface Set

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface Set

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set

toArray

public Object[] toArray(Object[] objects)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set

containsAll

public boolean containsAll(Collection objects)
Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface Set

getUpdateClause

public com.mongodb.DBObject getUpdateClause()
Specified by:
getUpdateClause in interface UpdateObject

setPrefix

public void setPrefix(String prefix)
Specified by:
setPrefix in interface UpdateObject


Copyright © 2012. All Rights Reserved.