[Zope-Coders] Proposal for minor ZCatalog improvement

Andreas Jung andreas@andreas-jung.com
Mon, 11 Nov 2002 11:59:51 +0100


--On Montag, 11. November 2002 10:55 +0000 Toby Dickenson 
<tdickenson@geminidataloggers.com> wrote:

> On Monday 11 November 2002 10:30 am, Andreas Jung wrote:
>
>> You mean that your indexes might index multiple fields of an object?
>
> Computations performed on the object's overall state, yes.
>
>> getIndexedAttribute() should return the string of the indexed attribute
>> or maybe a textual description. The method would only be used by the
>> ZMI to get a description for the indexes.
>
> Great.
>
> How about renaming getIndexedAttribute() to get getIndexedDescription()?
>
> (hmmm. neither of those names seem quite right, but I cant think of
> anything  better)

or getIndexedAttributeOrDescription() ;-) sounds dumb too

-aj




    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------