• 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: @Override of EO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @Override of EO?


  • Subject: Re: @Override of EO?
  • From: Jesse Tayler <email@hidden>
  • Date: Fri, 02 Aug 2013 14:39:46 -0400

it likely should be another way entirely, but I don’t think the primary key would be already set at that time unless I saved changes during the relationship setter which might be both dangerous and obtuse.



On Aug 2, 2013, at 2:25 PM, Theodore Petrosky <email@hidden> wrote:

> the awake method may be better, but shouldn't this be
>
> but you would have to override the original signature.
>
> public void setPoster(com.something.Poster value) {
>     NSLog.out.appendln("  com.something.Poster this is the override " + value);
>     takeStoredValueForKey(value, _Poster.POSTER_KEY);
> }
>
> I just played with this and it works. But I'm willing to bet there is a good reason (that I don't know) not to do it.
>
> Ted
>
> On Aug 2, 2013, at 1:21 PM, Jesse Tayler <email@hidden> wrote:
>
>>
>> I have an override of a normal EO setter, but for some reason, it isn’t called but the value does get updated
>>
>> I really just want to fire off a unix process once a new posterId has been set, so maybe there’s a smarter way but I thought this would be reliably called once and only after there’s a known primary key id for that poster (ERAttachment)
>>
>> Any thoughts on that?
>>
>>
>>    @Override
>>    public void setPosterId(Integer value) {
>>
>>
>>
>>
>> _______________________________________________
>> 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: @Override of EO?
      • From: John Huss <email@hidden>
References: 
 >@Override of EO? (From: Jesse Tayler <email@hidden>)
 >Re: @Override of EO? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: WOWODC 2014
  • Next by Date: Re: @Override of EO?
  • Previous by thread: Re: @Override of EO?
  • Next by thread: Re: @Override of EO?
  • Index(es):
    • Date
    • Thread