org.eclipse.jpt.utility.model.value
Interface CollectionValueModel<E>

All Superinterfaces:
java.lang.Iterable<E>, Model

public interface CollectionValueModel<E>
extends Model, java.lang.Iterable<E>

Interface used to abstract collection accessing and change notification and make it more pluggable. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Field Summary
static java.lang.String VALUES
           
 
Method Summary
 java.util.Iterator<E> iterator()
          Return the collection's values.
 int size()
          Return the size of the collection value.
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 

Field Detail

VALUES

static final java.lang.String VALUES
See Also:
Constant Field Values
Method Detail

iterator

java.util.Iterator<E> iterator()
Return the collection's values.

Specified by:
iterator in interface java.lang.Iterable<E>

size

int size()
Return the size of the collection value.