View Javadoc
1   /*
2    * Licensed to The Apereo Foundation under one or more contributor license
3    * agreements. See the NOTICE file distributed with this work for additional
4    * information regarding copyright ownership.
5    *
6    *
7    * The Apereo Foundation licenses this file to you under the Educational
8    * Community License, Version 2.0 (the "License"); you may not use this file
9    * except in compliance with the License. You may obtain a copy of the License
10   * at:
11   *
12   *   http://opensource.org/licenses/ecl2.txt
13   *
14   * Unless required by applicable law or agreed to in writing, software
15   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
17   * License for the specific language governing permissions and limitations under
18   * the License.
19   *
20   */
21  
22  package org.opencastproject.schema;
23  
24  import java.util.Date;
25  import java.util.Optional;
26  
27  /**
28   * Opencast Dublin Core schema.
29   * <p>
30   * Fields may have at most <em>one</em> value and do <em>not</em> have any language annotation.
31   * <p>
32   * For more information about the exposed field see the
33   * <a href="http://dublincore.org/documents/dcmi-type-vocabulary/#H2">DublinCore /terms/ namespace</a>.
34   */
35  public interface OcDublinCore {
36    Optional<String> getAbstract();
37  
38    Optional<String> getAccessRights();
39  
40    Optional<String> getAccrualMethod();
41  
42    Optional<String> getAccrualPeriodicity();
43  
44    Optional<String> getAccrualPolicy();
45  
46    Optional<String> getAlternative();
47  
48    Optional<String> getAudience();
49  
50    Optional<String> getAvailable();
51  
52    Optional<String> getBibliographicCitation();
53  
54    Optional<String> getConformsTo();
55  
56    Optional<String> getContributor();
57  
58    Optional<String> getCoverage();
59  
60    Date getCreated();
61  
62    Optional<String> getCreator();
63  
64    Optional<Date> getDate();
65  
66    Optional<Date> getDateAccepted();
67  
68    Optional<Date> getDateCopyrighted();
69  
70    Optional<Date> getDateSubmitted();
71  
72    Optional<String> getDescription();
73  
74    Optional<String> getEducationLevel();
75  
76    Optional<Long> getExtent();
77  
78    Optional<String> getFormat();
79  
80    Optional<String> getHasFormat();
81  
82    Optional<String> getHasPart();
83  
84    Optional<String> getHasVersion();
85  
86    Optional<String> getIdentifier();
87  
88    Optional<String> getInstructionalMethod();
89  
90    Optional<String> getIsFormatOf();
91  
92    Optional<String> getIsPartOf();
93  
94    Optional<String> getIsReferencedBy();
95  
96    Optional<String> getIsReplacedBy();
97  
98    Optional<String> getIsRequiredBy();
99  
100   Optional<String> getIssued();
101 
102   Optional<String> getIsVersionOf();
103 
104   Optional<String> getLanguage();
105 
106   Optional<String> getLicense();
107 
108   Optional<String> getMediator();
109 
110   Optional<String> getMedium();
111 
112   Optional<String> getModified();
113 
114   Optional<String> getProvenance();
115 
116   Optional<String> getPublisher();
117 
118   Optional<String> getReferences();
119 
120   Optional<String> getRelation();
121 
122   Optional<String> getReplaces();
123 
124   Optional<String> getRequires();
125 
126   Optional<String> getRights();
127 
128   Optional<String> getRightsHolder();
129 
130   Optional<String> getSource();
131 
132   Optional<String> getSpatial();
133 
134   Optional<String> getSubject();
135 
136   Optional<String> getTableOfContents();
137 
138   Optional<String> getTemporal();
139 
140   String getTitle();
141 
142   Optional<String> getType();
143 
144   Optional<String> getValid();
145 }