1 17 18 19 20 package org.apache.lenya.cms.publication; 21 22 public interface DublinCore { 23 24 String ELEMENT_TITLE = "title"; 25 String ELEMENT_CREATOR = "creator"; 26 String ELEMENT_SUBJECT = "subject"; 27 String ELEMENT_DESCRIPTION = "description"; 28 String ELEMENT_PUBLISHER = "publisher"; 29 String ELEMENT_CONTRIBUTOR = "contributor"; 30 String ELEMENT_DATE = "date"; 31 String ELEMENT_TYPE = "type"; 32 String ELEMENT_FORMAT = "format"; 33 String ELEMENT_IDENTIFIER = "identifier"; 34 String ELEMENT_SOURCE = "source"; 35 String ELEMENT_LANGUAGE = "language"; 36 String ELEMENT_RELATION = "relation"; 37 String ELEMENT_COVERAGE = "coverage"; 38 String ELEMENT_RIGHTS = "rights"; 39 40 String TERM_AUDIENCE = "audience"; 41 String TERM_ALTERNATIVE = "alternative"; 42 String TERM_TABLEOFCONTENTS = "tableOfContents"; 43 String TERM_ABSTRACT = "abstract"; 44 String TERM_CREATED = "created"; 45 String TERM_VALID = "valid"; 46 String TERM_AVAILABLE = "available"; 47 String TERM_ISSUED = "issued"; 48 String TERM_MODIFIED = "modified"; 49 String TERM_EXTENT = "extent"; 50 String TERM_MEDIUM = "medium"; 51 String TERM_ISVERSIONOF = "isVersionOf"; 52 String TERM_HASVERSION = "hasVersion"; 53 String TERM_ISREPLACEDBY = "isReplacedBy"; 54 String TERM_REPLACES = "replaces"; 55 String TERM_ISREQUIREDBY = "isRequiredBy"; 56 String TERM_REQUIRES = "requires"; 57 String TERM_ISPARTOF = "isPartOf"; 58 String TERM_HASPART = "hasPart"; 59 String TERM_ISREFERENCEDBY = "isReferencedBy"; 60 String TERM_REFERENCES = "references"; 61 String TERM_ISFORMATOF = "isFormatOf"; 62 String TERM_HASFORMAT = "hasFormat"; 63 String TERM_CONFORMSTO = "conformsTo"; 64 String TERM_SPATIAL = "spatial"; 65 String TERM_TEMPORAL = "temporal"; 66 String TERM_MEDIATOR = "mediator"; 67 String TERM_DATEACCEPTED = "dateAccepted"; 68 String TERM_DATECOPYRIGHTED = "dateCopyrighted"; 69 String TERM_DATESUBMITTED = "dateSubmitted"; 70 String TERM_EDUCATIONLEVEL = "educationLevel"; 71 String TERM_ACCESSRIGHTS = "accessRights"; 72 String TERM_BIBLIOGRAPHICCITATION = "bibliographicCitation"; 73 74 79 void save() throws DocumentException; 80 81 89 String getCreator() throws DocumentException; 90 91 99 void setCreator(String creator) throws DocumentException; 100 101 109 String getTitle() throws DocumentException; 110 111 119 void setTitle(String title) throws DocumentException; 120 121 129 String getDescription() throws DocumentException; 130 131 139 void setDescription(String description) throws DocumentException; 140 141 149 String getIdentifier() throws DocumentException; 150 151 159 void setIdentifier(String identifier) throws DocumentException; 160 161 169 String getSubject() throws DocumentException; 170 171 179 void setSubject(String subject) throws DocumentException; 180 181 189 String getPublisher() throws DocumentException; 190 191 199 void setPublisher(String publisher) throws DocumentException; 200 201 209 String getDateIssued() throws DocumentException; 210 211 219 void setDateIssued(String dateIssued) throws DocumentException; 220 221 229 String getDateCreated() throws DocumentException; 230 231 239 void setDateCreated(String dateCreated) throws DocumentException; 240 241 249 String getRights() throws DocumentException; 250 251 259 void setRights(String rights) throws DocumentException; 260 261 269 String getIsReferencedBy() throws DocumentException; 270 271 279 void setIsReferencedBy(String isReferencedBy) throws DocumentException; 280 281 287 String [] getValues(String key) throws DocumentException; 288 289 295 String getFirstValue(String key) throws DocumentException; 296 297 303 void setValue(String key, String value) throws DocumentException; 304 305 311 void addValue(String key, String value) throws DocumentException; 312 313 320 void addValues(String key, String [] values) throws DocumentException; 321 322 328 void removeValue(String key, String value) throws DocumentException; 329 330 335 void removeAllValues(String key) throws DocumentException; 336 337 343 void replaceBy(DublinCore other) throws DocumentException; 344 345 } 346 | Popular Tags |