Changeset 6905
- Timestamp:
- 18 Oct 2011, 10:04:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r6754 r6905 101 101 """An item contained in an IWAeUPContainer. 102 102 """ 103 104 class IStudentContainer(IWAeUPContainer):105 """A container for StudentObjects.106 """107 108 109 class IHostelContainer(IWAeUPContainer):110 """A container for hostels.111 """112 def addHostel(hostel):113 """Add an IHostel object.114 115 Returns the key, under which the object was stored.116 """117 118 class IHostel(IWAeUPObject):119 """Representation of a hostel.120 """121 name = schema.TextLine(122 title = u'Name of Hostel',123 default = u'Nobody',124 required = True,125 )126 127 103 128 104 class IWAeUPExporter(Interface):
Note: See TracChangeset for help on using the changeset viewer.