View Javadoc

1   /* 
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.jetspeed.om.common;
18  
19  import java.util.Collection ;
20  import java.util.Locale;
21  
22  /***
23   * DublinCore
24   * <br/>
25   * Interface that allows retrieving information according to the 
26   * Dublin Core specification 
27   * (<a href="http://www.dublincore.org">http://www.dublincore.org</a>)
28   * 
29   * @author <a href="mailto:jford@apache.org">Jeremy Ford</a>
30   * @version $Id: DublinCore.java 516448 2007-03-09 16:25:47Z ate $
31   *
32   */
33  public interface DublinCore extends java.io.Serializable
34  {
35      public Collection getTitles();
36      public void setTitles(Collection titles);
37      void addTitle(Locale locale, String title);
38      
39      public Collection getContributors();
40      public void setContributors(Collection contributors);
41      void addContributor(Locale locale, String contributor);
42      
43      public Collection getCoverages();
44      public void setCoverages(Collection coverages);
45      void addCoverage(Locale locale, String coverage);
46      
47      public Collection getCreators();
48      public void setCreators(Collection creators);
49      void addCreator(Locale locale, String creator);
50      
51      public Collection getDescriptions();
52      public void setDescriptions(Collection descriptions);
53      void addDescription(Locale locale, String description);
54      
55      public Collection getFormats();
56      public void setFormats(Collection formats);
57      void addFormat(Locale locale, String format);
58      
59      public Collection getIdentifiers();
60      public void setIdentifiers(Collection identifiers);
61      void addIdentifier(Locale locale, String identifier);
62      
63      public Collection getLanguages();
64      public void setLanguages(Collection languages);
65      void addLanguage(Locale locale, String language);
66      
67      public Collection getPublishers();
68      public void setPublishers(Collection publishers);
69      void addPublisher(Locale locale, String publisher);
70      
71      public Collection getRelations();
72      public void setRelations(Collection relations);
73      void addRelation(Locale locale, String relation);
74      
75      public Collection getRights();
76      public void setRights(Collection rights);
77      void addRight(Locale locale, String right);
78      
79      public Collection getSources();
80      public void setSources(Collection sources);
81      void addSource(Locale locale, String source);
82      
83      public Collection getSubjects();
84      public void setSubjects(Collection subjects);
85      void addSubject(Locale locale, String subject);
86      
87      public Collection getTypes();
88      public void setTypes(Collection types);
89      void addType(Locale locale, String type);
90  }