View Javadoc
1   /*
2    * This file is part of ***  M y C o R e  ***
3    * See http://www.mycore.de/ for details.
4    *
5    * MyCoRe is free software: you can redistribute it and/or modify
6    * it under the terms of the GNU General Public License as published by
7    * the Free Software Foundation, either version 3 of the License, or
8    * (at your option) any later version.
9    *
10   * MyCoRe is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with MyCoRe.  If not, see <http://www.gnu.org/licenses/>.
17   */
18  
19  package org.mycore.iiif.presentation.model.basic;
20  
21  import java.util.ArrayList;
22  import java.util.Date;
23  import java.util.List;
24  
25  import org.mycore.iiif.presentation.model.MCRIIIFPresentationBase;
26  import org.mycore.iiif.presentation.model.attributes.MCRIIIFMetadata;
27  import org.mycore.iiif.presentation.model.attributes.MCRIIIFResource;
28  import org.mycore.iiif.presentation.model.attributes.MCRIIIFViewingDirection;
29  
30  public class MCRIIIFManifest extends MCRIIIFPresentationBase {
31  
32      public static final String TYPE = "sc:Manifest";
33  
34      public List<MCRIIIFSequence> sequences = new ArrayList<>();
35  
36      public List<MCRIIIFMetadata> metadata = new ArrayList<>();
37  
38      public List<MCRIIIFRange> structures = new ArrayList<>();
39  
40      private String label = null;
41  
42      private String description = null;
43  
44      private MCRIIIFResource thumbnail = null;
45  
46      private MCRIIIFViewingDirection viewingDirection = null;
47  
48      private String within = null;
49  
50      private Date navDate;
51  
52      public MCRIIIFManifest() {
53          super(TYPE, API_PRESENTATION_2);
54      }
55  
56      public String getLabel() {
57          return label;
58      }
59  
60      public void setLabel(String label) {
61          this.label = label;
62      }
63  
64      public String getDescription() {
65          return description;
66      }
67  
68      public void setDescription(String description) {
69          this.description = description;
70      }
71  
72      public MCRIIIFResource getThumbnail() {
73          return thumbnail;
74      }
75  
76      public void setThumbnail(MCRIIIFResource thumbnail) {
77          this.thumbnail = thumbnail;
78      }
79  
80      public MCRIIIFViewingDirection getViewingDirection() {
81          return viewingDirection;
82      }
83  
84      public void setViewingDirection(MCRIIIFViewingDirection viewingDirection) {
85          this.viewingDirection = viewingDirection;
86      }
87  
88      public String getWithin() {
89          return within;
90      }
91  
92      public void setWithin(String within) {
93          this.within = within;
94      }
95  
96      public Date getNavDate() {
97          return navDate;
98      }
99  
100     public void setNavDate(Date navDate) {
101         this.navDate = navDate;
102     }
103 
104 }