eventannotation2titlesubscriber.py
2008-02-28 00:24...
### -*- coding: utf-8 -*- #############################################
#######################################################################
"""The adapter EventAnnotation2TitleSubscriber that adopt IAttributeAnnotatable
interface to ITitle interface
$Id: eventannotation2titlesubscriber.py 12897 2007-11-10 15:32:08Z cray $
"""
__author__ = "Elena Antusheva, 2008"
__credits__ = "Yegor Shershnev"
__license__ = "GPL"
__version__ = "$Revision: 12897 $"
from eventannotation.interfaces import IEventAnnotation
from anytitlesubscriberbase import AnyTitileSubscriberBase
class EventAnnotation2TitleSubscriber( AnyTitileSubscriberBase ) :
order = 3
@property
def title(self) :
return IEventAnnotation(self.context).place



