equal
deleted
inserted
replaced
418 if self.role == 'subject': |
418 if self.role == 'subject': |
419 if not rdef.subject in possibletypes: |
419 if not rdef.subject in possibletypes: |
420 continue |
420 continue |
421 elif not rdef.object in possibletypes: |
421 elif not rdef.object in possibletypes: |
422 continue |
422 continue |
423 if rdef.role_cardinality(role) in '+*': |
423 if rdef.role_cardinality(self.role) in '+*': |
424 return True |
424 return True |
425 return False |
425 return False |
426 |
426 |
427 def add_rql_restrictions(self): |
427 def add_rql_restrictions(self): |
428 """add restriction for this facet into the rql syntax tree""" |
428 """add restriction for this facet into the rql syntax tree""" |