- Timestamp:
- 13 Jun 2009, 17:42:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/interfaces.py
r4266 r4280 122 122 title = u'Code', 123 123 default = u'NA', 124 description = u'Abbreviated code of the department',124 description = u'Abbreviated code of the course', 125 125 required = True, 126 126 ) … … 156 156 ) 157 157 158 class ICertificate(IWAeUPObject): 159 """Representation of a certificate. 160 """ 161 code = schema.TextLine( 162 title = u'Code', 163 default = u'NA', 164 description = u'Abbreviated code of the certificate.', 165 required = True, 166 ) 167 168 review_state = schema.Bool( 169 title = u'review state', 170 default = False, 171 required = True, 172 ) 173 174 title = schema.TextLine( 175 title = u'title', 176 required = True, 177 ) 178 179 category = schema.TextLine( 180 title = u'category', 181 required = True, 182 ) 183 184 study_mode = schema.TextLine( 185 title = u'study mode', 186 required = True, 187 ) 188 189 start_level = schema.TextLine( 190 title = u'start level', 191 required = True, 192 ) 193 194 end_level = schema.TextLine( 195 title = u'end level', 196 required = True, 197 ) 198 199 application_category = schema.TextLine( 200 title = u'application category', 201 required = True, 202 ) 203 204 m_prefix = schema.TextLine( 205 title = u'prefix', 206 required = True, 207 ) 208 209 max_pass = schema.TextLine( 210 title = u'maximum pass', 211 required = True, 212 ) 213 214 215 class ICertificateContainer(IWAeUPContainer): 216 """A container for certificates. 217 """ 218 def addCertificate(faculty): 219 """Add an ICertificate object. 220 221 Returns the key, under which the object was stored. 222 """ 158 223 159 224 class IWAeUPExporter(Interface):
Note: See TracChangeset for help on using the changeset viewer.