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
IPObject
s. It has
several functions:
- Translates
SubterraURI
s toIPObject
s (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 TypeMethodDescriptionboolean
Checks if the whole collection is read-only.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface com.polarion.platform.persistence.model.IChangeGenerator
setChangeOwner
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods 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:
true
if the whole collection is read-only,true
otherwise.- See Also:
-