Class AbstractRemoteIteratorData<T>
- java.lang.Object
-
- de.aristaflow.ilm.model.common.collection.AbstractRemoteIteratorData<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InitialRemoteIteratorData
,RemoteIteratorData
public abstract class AbstractRemoteIteratorData<T> extends Object implements Serializable
Parent class for all remote iterator data, initial as well as following. This class is just for sharing fields, it is never used and must not be used otherwise (in a service interface or as referred type in the model). Deduction does not work since an incremental data object and the corresponding following data object have the same field names.When referring to this class from the web service API, make sure that only the iterator data relevant for one specific service is created. Since this class refers to all subclasses, irrelevant data may be created for a service. For instance the
ScRemoteIteratorData
may become part of the org model manager which usesQaRemoteIteratorData
only. This leads to quite some additional classes becoming part of the service, e. g.IncompleteSessionContext
,DataContext
, andActivityInstance
.- See Also:
RemoteIterator
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description @NotNull Boolean
closed
Whether the corresponding iterator has been closed (dropped) since all data is being transferred with this initial data.UUID
iteratorId
This will benull
if the corresponding iterator has been closed implicitly due to all data being available now.@NotNull Long
remAliveTime
@Size(min=1) String
subClass
This is used as additional information for rich type hierarchies.
-
Constructor Summary
Constructors Constructor Description AbstractRemoteIteratorData()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract List<@Valid T>
getContentAbstract()
abstract void
setContentAbstract(List<@Valid T> content)
-
-
-
Field Detail
-
subClass
@Size(min=1) public @Size(min=1) String subClass
This is used as additional information for rich type hierarchies.
-
iteratorId
public UUID iteratorId
This will benull
if the corresponding iterator has been closed implicitly due to all data being available now.
-
remAliveTime
@NotNull public @NotNull Long remAliveTime
-
closed
@NotNull public @NotNull Boolean closed
Whether the corresponding iterator has been closed (dropped) since all data is being transferred with this initial data.
-
-