Interface ITypedList<T>
- All Superinterfaces:
Collection<T>,IChangeGenerator,IChangeListener,Iterable<T>,List<T>
- All Known Implementing Classes:
AbstractTypedList,CustomTypedList,EmptyTypedList,ModelTypedList,PObjectTypedList
List, which wraps underlying collection in from the IDataObject to the level
of the
IPObjects. It has
several functions:
- Translates
SubterraURIs toIPObjects (if it's collection of references). - Propagates the dirty flag to the owner object.
- Checks the type of inserted items against model.
- Protects the read only collections.
- Author:
- dobisekm
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the whole collection is read-only.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.polarion.platform.persistence.model.IChangeGenerator
setChangeOwnerMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
getPrototype
IListType getPrototype() -
isReadOnly
boolean isReadOnly()Checks if the whole collection is read-only.- Returns:
trueif the whole collection is read-only,trueotherwise.- See Also:
-