[CMF-checkins] CVS: CMF - DublinCore.py:1.1.6.1
tseaver@digicool.com
tseaver@digicool.com
Wed, 6 Jun 2001 21:53:35 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory korak.digicool.com:/tmp/cvs-serv13660/CMFCore/interfaces
Modified Files:
Tag: extended_dcmi_branch
DublinCore.py
Log Message:
- Added Dublin Core's 'Coverage' field to interface, default
implementation, as a multi-valued item (much like Contributors).
- Aliased DublinCore 'Contributors' as 'Contributor', to
accomodate DCMI's spellings.
--- Updated File DublinCore.py in package CMF --
--- DublinCore.py 2001/02/23 14:24:12 1.1
+++ DublinCore.py 2001/06/07 01:53:34 1.1.6.1
@@ -146,6 +146,8 @@
Return type: sequence of strings
Permission: View
"""
+
+ Contributor = Contributors
def Date( self ):
"""
@@ -242,6 +244,16 @@
Permissions: View
"""
+ def Contributors( self ):
+ """
+ Dublin Core element - resource "coverage" (spatial or temporal)
+
+ Return zero or more "coverage" descriptions.
+
+ Return type: sequence of strings
+ Permission: View
+ """
+
class CatalogableDublinCore:
"""
Provide Zope-internal date objects for cataloging purposes.
@@ -308,4 +320,7 @@
def setRights( self, rights ):
""" Dublin Core element - update resource copyright """
+
+ def setCoverage( self, coverage ):
+ "Dublin Core element - update coverage descriptors of resource"