Class 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 uses QaRemoteIteratorData only. This leads to quite some additional classes becoming part of the service, e. g. IncompleteSessionContext, DataContext, and ActivityInstance.

    See Also:
    RemoteIterator, Serialized Form
    • 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 be null 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.
    • Constructor Detail

      • AbstractRemoteIteratorData

        public AbstractRemoteIteratorData()
    • Method Detail

      • getContentAbstract

        public abstract List<@Valid T> getContentAbstract()
      • setContentAbstract

        public abstract void setContentAbstract​(List<@Valid T> content)