• 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: ERXPartialEntity doesn't return correct values for classPropertyNames method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXPartialEntity doesn't return correct values for classPropertyNames method


  • Subject: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • From: ISHIMOTO Ken <email@hidden>
  • Date: Tue, 28 May 2013 09:34:44 +0200

Hi Paul, Hi David,

Fixed

Project WOdka already pushed and fixed.

I made a push request for Project wonder maybe in the few months you will get it.

Ken

On 2013/05/25, at 11:28, Paul Yu <email@hidden> wrote:

> The little o is for optional
>
> Sent from my iPad
>
> On May 24, 2013, at 10:38 PM, David Holt <email@hidden> wrote:
>
>> Class properties are determined by the diamonds.
>>
>> Sent from my iPad
>>
>> On 2013-05-24, at 6:13 PM, Jesse Tayler <email@hidden> wrote:
>>
>>>
>>> you wanted Person.class).classPropertyNames() or Partial_ExployeePerson ?
>>>
>>> also, the little "o" there next to the lock? that says "I'm a class property", no? so, I'd expect to see departmentId visible on that screen I think, just not sure if you are asking the right class for the right thing or if I misunderstand completely.
>>>
>>>
>>>
>>> On May 24, 2013, at 7:29 PM, David Holt <email@hidden> wrote:
>>>
>>>> Just a quick follow-up:
>>>>
>>>> As an example the output for the ERXPartialsExampleApp in Wonder is included below:
>>>>
>>>> log.info("Class properties for ERXPartialEntity " + EOUtilities.entityForClass(ERXEC.newEditingContext(), Person.class).classPropertyNames());
>>>>
>>>> May 24 16:24:50 ERXPartialsExampleApp[53778] INFO  er.extensions.appserver.ERXApplication  - Class properties for ERXPartialEntity ("firstName", "genderType", "lastName", "lastLoginDate", "password", "username", "departmentID", "employeeNumber", "employeeTypeID", "salary", "department", "employeeType") !
>>>>
>>>>
>>>> Clearly the departmentID and employeeTypeID should not be in this list of classPropertyNames:
>>>>
>>>> <Screen Shot 2013-05-24 at 4.27.10 PM.png>
>>>>
>>>>
>>>>
>>>> On 2013-05-24, at 4:20 PM, David Holt <email@hidden> wrote:
>>>>
>>>>> Hi all (and especially David Aspinall or Paul Hoadly),
>>>>>
>>>>> I've just discovered that when you call classPropertyNames() on an Entity that has a partial associated with it, the base classPropertyNames are returned correctly, but ALL of the properties are returned for the partial class. This applies to both attributes and relationships. Does anyone know why that might be?
>>>>>
>>>>> Here is what I used to test it in my Application:
>>>>>
>>>>> log.info("Class properties for ERXPartialEntity " + EOUtilities.entityForClass(ERXEC.newEditingContext(), Person.class).classPropertyNames());
>>>>>
>>>>> Thanks,
>>>>> David
>>>>
>>>> _______________________________________________
>>>> 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
>
> _______________________________________________
> 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

References: 
 >ERXPartialEntity doesn't return correct values for classPropertyNames method (From: David Holt <email@hidden>)
 >Re: ERXPartialEntity doesn't return correct values for classPropertyNames method (From: Jesse Tayler <email@hidden>)
 >Re: ERXPartialEntity doesn't return correct values for classPropertyNames method (From: David Holt <email@hidden>)
 >Re: ERXPartialEntity doesn't return correct values for classPropertyNames method (From: Paul Yu <email@hidden>)

  • Prev by Date: Re: Jenkins ant error?
  • Next by Date: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Previous by thread: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Next by thread: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Index(es):
    • Date
    • Thread