Package nl.vpro.domain.media
Class ScheduleEventIdentifier
- java.lang.Object
-
- nl.vpro.domain.media.ScheduleEventIdentifier
-
- All Implemented Interfaces:
Serializable
,Comparable<ScheduleEventIdentifier>
@Embeddable public class ScheduleEventIdentifier extends Object implements Serializable, Comparable<ScheduleEventIdentifier>
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduleEventIdentifier()
ScheduleEventIdentifier(@NonNull Channel channel, @NonNull Instant start)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
int
compareTo(ScheduleEventIdentifier o)
boolean
equals(Object o)
Channel
getChannel()
Instant
getStartInstant()
int
hashCode()
static ScheduleEventIdentifier
parse(String id)
String
toString()
-
-
-
Method Detail
-
getStartInstant
public Instant getStartInstant()
-
asString
public String asString()
-
parse
public static ScheduleEventIdentifier parse(String id)
-
compareTo
public int compareTo(ScheduleEventIdentifier o)
- Specified by:
compareTo
in interfaceComparable<ScheduleEventIdentifier>
-
getChannel
public Channel getChannel()
-
-