Package oort :: Package test :: Module test_rdfview :: Class FilteredItem
[hide private]
[frames] | no frames]

Class FilteredItem

source code

      object --+    
               |    
rdfview.RdfQuery --+
                   |
                  FilteredItem

Nested Classes [hide private]

Inherited from rdfview.RdfQuery: __metaclass__

Instance Methods [hide private]

Inherited from rdfview.RdfQuery: __eq__, __init__, __str__, get_selected_value, to_dict, to_graph, to_json, to_rdf

Inherited from rdfview.RdfQuery (private): _make_prepare_selects

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Methods [hide private]

Inherited from rdfview.RdfQuery: bound_with, find_by, from_dict

Class Variables [hide private]
  sortedKeywords = each(T.keyword) | Sorter()
  sortedKeywordsReversed = each(T.keyword) | Sorter(reverse= True)
  sortedRelations_attr = each(T.relation) >> Item | Sorter('name...
  sortedRelations_func = each(T.relation) >> Item | Sorter(lambd...
  someKeywords = each(T.keyword) | Filter(lambda v: v in('q', 'r...
  name_upper = one(T.name) |(lambda v: unicode(v).upper())
  _selectors = {'name_upper': <oort.rdfview.one object at 0x21b1...

Inherited from rdfview.RdfQuery: RDF_TYPE

Inherited from rdfview.RdfQuery (private): _namespace

Properties [hide private]

Inherited from rdfview.RdfQuery: uri

Inherited from object: __class__

Class Variable Details [hide private]

sortedRelations_attr

Value:
each(T.relation) >> Item | Sorter('name', reverse= True)

sortedRelations_func

Value:
each(T.relation) >> Item | Sorter(lambda r: getattr(r, 'name'), revers\
e= True)

someKeywords

Value:
each(T.keyword) | Filter(lambda v: v in('q', 'r', 'y'))

_selectors

Value:
{'name_upper': <oort.rdfview.one object at 0x21b1770>,
 'someKeywords': <oort.rdfview.each object at 0x21b16f0>,
 'sortedKeywords': <oort.rdfview.each object at 0x21b15b0>,
 'sortedKeywordsReversed': <oort.rdfview.each object at 0x21b15f0>,
 'sortedRelations_attr': <oort.rdfview.each object at 0x21b1630>,
 'sortedRelations_func': <oort.rdfview.each object at 0x21b1670>}