Skip to contentPackage: NamedRecord
NamedRecord
Coverage
1: /*
2: * *********************************************************************************************************************
3: *
4: * blueMarine II: Semantic Media Centre
5: * http://tidalwave.it/projects/bluemarine2
6: *
7: * Copyright (C) 2015 - 2021 by Tidalwave s.a.s. (http://tidalwave.it)
8: *
9: * *********************************************************************************************************************
10: *
11: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
12: * the License. You may obtain a copy of the License at
13: *
14: * http://www.apache.org/licenses/LICENSE-2.0
15: *
16: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
17: * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
18: * specific language governing permissions and limitations under the License.
19: *
20: * *********************************************************************************************************************
21: *
22: * git clone https://bitbucket.org/tidalwave/bluemarine2-src
23: * git clone https://github.com/tidalwave-it/bluemarine2-src
24: *
25: * *********************************************************************************************************************
26: */
27: package it.tidalwave.bluemarine2.model.impl;
28:
29: import javax.annotation.Nonnull;
30: import java.util.Optional;
31: import java.net.URL;
32: import it.tidalwave.util.Id;
33: import it.tidalwave.bluemarine2.model.audio.Record;
34: import it.tidalwave.bluemarine2.model.finder.audio.TrackFinder;
35: import it.tidalwave.bluemarine2.model.spi.NamedEntity;
36:
37: /***********************************************************************************************************************
38: *
39: * @author Fabrizio Giudici
40: *
41: **********************************************************************************************************************/
42: public class NamedRecord extends NamedEntity implements Record
43: {
44: public NamedRecord (@Nonnull final String displayName)
45: {
46: super(displayName);
47: }
48:
49: @Override @Nonnull
50: public TrackFinder findTracks()
51: {
52: throw new UnsupportedOperationException("Not supported yet."); // FIXME: return empty finder
53: }
54:
55: @Override @Nonnull
56: public Optional<URL> getImageUrl()
57: {
58: return Optional.empty();
59: }
60:
61: @Override @Nonnull
62: public Id getId()
63: {
64: throw new UnsupportedOperationException("Not supported yet."); // FIXME
65: }
66:
67: @Override @Nonnull
68: public Optional<Id> getSource()
69: {
70: return Optional.empty();
71: }
72:
73: @Override @Nonnull
74: public Optional<String> getAsin()
75: {
76: return Optional.empty();
77: }
78:
79: @Override @Nonnull
80: public Optional<String> getGtin()
81: {
82: return Optional.empty();
83: }
84:
85: @Override @Nonnull
86: public Optional<Integer> getDiskNumber()
87: {
88: return Optional.empty();
89: }
90:
91: @Override @Nonnull
92: public Optional<Integer> getDiskCount()
93: {
94: return Optional.empty();
95: }
96:
97: @Override @Nonnull
98: public Optional<Integer> getTrackCount()
99: {
100: return Optional.empty();
101: }
102: }