Package com._1c.g5.aef2.models.list
Class ListWorkingCopy<T>
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.list.ListModel<T>
-
- com._1c.g5.aef2.models.list.ListWorkingCopy<T>
-
- Type Parameters:
T
- the list objects type.
- All Implemented Interfaces:
IEditableModel
,IModel
,IList<T>
,IValidable
,Iterable<T>
,Collection<T>
,List<T>
public class ListWorkingCopy<T> extends ListModel<T>
List working copy – editable proxy buffer for another list.
-
-
Constructor Summary
Constructors Constructor Description ListWorkingCopy(IList<T> original)
Instantiates a new list working copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChange
getChange()
boolean
isOnline()
ValidationResults
validate()
Validates this object state.-
Methods inherited from class com._1c.g5.aef2.models.list.ListModel
add, add, addAll, addAll, addListListener, clear, contains, containsAll, createWorkingCopy, discard, dispose, fill, get, getCommittedList, getUncommittedList, indexOf, isElementEqual, isEmpty, isEqual, iterator, lastIndexOf, listIterator, listIterator, notifyListChanged, queueNotifyListChanged, remove, remove, removeAll, removeListListener, retainAll, set, setCommittedList, setList, setUncommitedList, size, subList, toArray, toArray, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, getComponent, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
validate
public ValidationResults validate()
Description copied from interface:IValidable
Validates this object state.- Specified by:
validate
in interfaceIValidable
- Overrides:
validate
in classValidable
- Returns:
- the validation status.
-
getChange
public IChange getChange()
- Returns:
- change describing the modifications done to the model.
-
-