• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entity/attribute/relationship terrible toString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity/attribute/relationship terrible toString?


  • Subject: Re: Entity/attribute/relationship terrible toString?
  • From: OCsite via Webobjects-dev <email@hidden>
  • Date: Tue, 2 Jun 2020 13:02:58 +0200

Markus,

> On 2 Jun 2020, at 12:09, Markus Ruggiero <email@hidden> wrote:
> Why not simply override toString() in EOGenerate templates once and for all?

What are “EOGenerate templates” and how they affect the
entities/attributes/relationships toStrings? I can't find anything like that in
my WO documentation. Seems it might be the right solution... if I knew what it
is :)

Thanks!
OC

>
>> On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev
>> <email@hidden> wrote:
>>
>> Hi there,
>>
>> occasionally, I need to put entities/attributes/relationships into complex
>> nested property lists. Occasionally for debug, I need to print out these
>> property lists.
>>
>> Alas, entities/attributes/relationships normally print out their complete
>> contents in their toStrings, which makes the logs completely unuseable (and
>> when there's more of them in a property list, actually bogs down the
>> application so much it must be killed).
>>
>> Isn't there some trick to make those darned model classes toString something
>> reasonable, e.g., just their class, name and hash?
>>
>> Thanks,
>> OC
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Entity/attribute/relationship terrible toString?
      • From: Markus Ruggiero via Webobjects-dev <email@hidden>
    • Re: Entity/attribute/relationship terrible toString?
      • From: Paul Yu via Webobjects-dev <email@hidden>
References: 
 >Entity/attribute/relationship terrible toString? (From: ocs--- via Webobjects-dev <email@hidden>)
 >Re: Entity/attribute/relationship terrible toString? (From: Markus Ruggiero via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Entity/attribute/relationship terrible toString?
  • Next by Date: Re: Entity/attribute/relationship terrible toString?
  • Previous by thread: Re: Entity/attribute/relationship terrible toString?
  • Next by thread: Re: Entity/attribute/relationship terrible toString?
  • Index(es):
    • Date
    • Thread