Class VariableInitializingList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<VariableInstanceEntity>
org.flowable.variable.service.impl.persistence.entity.VariableInitializingList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<VariableInstanceEntity>
,Collection<VariableInstanceEntity>
,List<VariableInstanceEntity>
,RandomAccess
List that initialises binary variable values if command-context is active.
- Author:
- Frederik Heremans
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, VariableInstanceEntity e) boolean
boolean
addAll
(int index, Collection<? extends VariableInstanceEntity> c) boolean
addAll
(Collection<? extends VariableInstanceEntity> c) protected void
If the passedVariableInstanceEntity
is a binary variable and the command-context is active, the variable value is fetched to ensure the byte-array is populated.Methods inherited from class java.util.ArrayList
clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
VariableInitializingList
public VariableInitializingList()
-
-
Method Details
-
add
- Specified by:
add
in interfaceList<VariableInstanceEntity>
- Overrides:
add
in classArrayList<VariableInstanceEntity>
-
add
- Specified by:
add
in interfaceCollection<VariableInstanceEntity>
- Specified by:
add
in interfaceList<VariableInstanceEntity>
- Overrides:
add
in classArrayList<VariableInstanceEntity>
-
addAll
- Specified by:
addAll
in interfaceCollection<VariableInstanceEntity>
- Specified by:
addAll
in interfaceList<VariableInstanceEntity>
- Overrides:
addAll
in classArrayList<VariableInstanceEntity>
-
addAll
- Specified by:
addAll
in interfaceList<VariableInstanceEntity>
- Overrides:
addAll
in classArrayList<VariableInstanceEntity>
-
initializeVariable
If the passedVariableInstanceEntity
is a binary variable and the command-context is active, the variable value is fetched to ensure the byte-array is populated.
-