001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.jetspeed.om.common;
018:
019: import java.util.Collection;
020: import java.util.Locale;
021:
022: /**
023: * DublinCore
024: * <br/>
025: * Interface that allows retrieving information according to the
026: * Dublin Core specification
027: * (<a href="http://www.dublincore.org">http://www.dublincore.org</a>)
028: *
029: * @author <a href="mailto:jford@apache.org">Jeremy Ford</a>
030: * @version $Id: DublinCore.java 516448 2007-03-09 16:25:47Z ate $
031: *
032: */
033: public interface DublinCore extends java.io.Serializable {
034: public Collection getTitles();
035:
036: public void setTitles(Collection titles);
037:
038: void addTitle(Locale locale, String title);
039:
040: public Collection getContributors();
041:
042: public void setContributors(Collection contributors);
043:
044: void addContributor(Locale locale, String contributor);
045:
046: public Collection getCoverages();
047:
048: public void setCoverages(Collection coverages);
049:
050: void addCoverage(Locale locale, String coverage);
051:
052: public Collection getCreators();
053:
054: public void setCreators(Collection creators);
055:
056: void addCreator(Locale locale, String creator);
057:
058: public Collection getDescriptions();
059:
060: public void setDescriptions(Collection descriptions);
061:
062: void addDescription(Locale locale, String description);
063:
064: public Collection getFormats();
065:
066: public void setFormats(Collection formats);
067:
068: void addFormat(Locale locale, String format);
069:
070: public Collection getIdentifiers();
071:
072: public void setIdentifiers(Collection identifiers);
073:
074: void addIdentifier(Locale locale, String identifier);
075:
076: public Collection getLanguages();
077:
078: public void setLanguages(Collection languages);
079:
080: void addLanguage(Locale locale, String language);
081:
082: public Collection getPublishers();
083:
084: public void setPublishers(Collection publishers);
085:
086: void addPublisher(Locale locale, String publisher);
087:
088: public Collection getRelations();
089:
090: public void setRelations(Collection relations);
091:
092: void addRelation(Locale locale, String relation);
093:
094: public Collection getRights();
095:
096: public void setRights(Collection rights);
097:
098: void addRight(Locale locale, String right);
099:
100: public Collection getSources();
101:
102: public void setSources(Collection sources);
103:
104: void addSource(Locale locale, String source);
105:
106: public Collection getSubjects();
107:
108: public void setSubjects(Collection subjects);
109:
110: void addSubject(Locale locale, String subject);
111:
112: public Collection getTypes();
113:
114: public void setTypes(Collection types);
115:
116: void addType(Locale locale, String type);
117: }
|