Package nl.vpro.domain.media
Interface MediaIdentifiable
- All Superinterfaces:
Identifiable<Long>
,MidIdentifiable
- All Known Subinterfaces:
Media<T>
- All Known Implementing Classes:
Group
,GroupUpdate
,MediaIdentifiableImpl
,MediaObject
,MediaUpdate
,Program
,ProgramUpdate
,Segment
,SegmentUpdate
,TranscodeRequest
An object that contains various fields to identify a POMS media object.
- Since:
- 5.6
- Author:
- Michiel Meeuwissen
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A 'correlation' for aMediaIdentifiable
is amid
, or acrid
-
Method Summary
Modifier and TypeMethodDescriptiondefault MediaIdentifiable.Correlation
The correlation of thisMediaIdentifiable
is the best id currently available.default String
getCrids()
default Long
getId()
Methods inherited from interface nl.vpro.domain.media.MidIdentifiable
getMediaType, getMid
-
Method Details
-
getId
- Specified by:
getId
in interfaceIdentifiable<Long>
-
getCrids
-
getMainIdentifier
-
getCorrelationId
- Specified by:
getCorrelationId
in interfaceMidIdentifiable
-
getCorrelation
The correlation of thisMediaIdentifiable
is the best id currently available. Oftentimes that will be theMidIdentifiable.getMid()
, but in certain situation that is not (yet) available, and it may fall back to (the first)getCrids()
.- Specified by:
getCorrelation
in interfaceMidIdentifiable
-