source: main/waeup.sirp/trunk/src/waeup/sirp/hostels/interfaces.py @ 6952

Last change on this file since 6952 was 6952, checked in by Henrik Bettermann, 14 years ago

Add logger and add hostels container to site root.

  • Property svn:keywords set to Id
File size: 519 bytes
RevLine 
[6951]1##
2## interfaces.py
3from zope.interface import Attribute, invariant
4from zope import schema
5from waeup.sirp.interfaces import IWAeUPObject
6
7class IHostelsContainer(IWAeUPObject):
8    """A container for all kind of hostel objects.
9
10    """
11
12class IHostel(IWAeUPObject):
13    """A base representation of hostels.
14
15    """
[6952]16
17    def loggerInfo(ob_class, comment):
18        """Adds an INFO message to the log file
19        """
20
21    hostel_id = schema.TextLine(
22        title = u'Student ID',
23        required = False,
24        )
Note: See TracBrowser for help on using the repository browser.