Package nl.vpro.domain.media.update
Class MediaUpdateTable
java.lang.Object
nl.vpro.domain.media.update.MediaUpdateTable
- All Implemented Interfaces:
Iterable<MediaUpdate<?>>
,org.meeuw.math.abstractalgebra.Streamable<MediaUpdate<?>>
public class MediaUpdateTable
extends Object
implements Iterable<MediaUpdate<?>>, org.meeuw.math.abstractalgebra.Streamable<MediaUpdate<?>>
This is the 'update' version of a link
MediaTable
.
Collects a number of ProgramUpdate
s with a number of GroupUpdate
s and a ScheduleUpdate
.
- Since:
- 5.8
- Author:
- Michiel Meeuwissen
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(MediaUpdate<?> mo) void
add
(MediaUpdateTable table) void
addGroups
(Collection<GroupUpdate> values) void
addPrograms
(Collection<ProgramUpdate> values) protected boolean
boolean
fetch
(nl.vpro.domain.media.support.OwnerType type) getProgram
(String mid) getProgramByCrid
(String crid) int
hashCode()
@NonNull Iterator<MediaUpdate<?>>
iterator()
void
setGroupTable
(List<GroupUpdate> groupTable) void
setProgramTable
(List<ProgramUpdate> programTable) void
setSchedule
(ScheduleUpdate schedule) int
size()
Stream<MediaUpdate<?>>
stream()
@NonNull String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.meeuw.math.abstractalgebra.Streamable
reverseStream
-
Constructor Details
-
MediaUpdateTable
public MediaUpdateTable()
-
-
Method Details
-
addGroups
-
addPrograms
-
add
- Since:
- 7.7
-
add
-
getGroup
-
getProgram
-
getProgramByCrid
-
fetch
-
size
public int size() -
stream
- Specified by:
stream
in interfaceorg.meeuw.math.abstractalgebra.Streamable<MediaUpdate<?>>
-
iterator
- Specified by:
iterator
in interfaceIterable<MediaUpdate<?>>
- Specified by:
iterator
in interfaceorg.meeuw.math.abstractalgebra.Streamable<MediaUpdate<?>>
-
getProgramTable
-
getGroupTable
-
getSchedule
-
setProgramTable
-
setGroupTable
-
setSchedule
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-