• 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
Qualify data based on non-class property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Qualify data based on non-class property


  • Subject: Qualify data based on non-class property
  • From: "Shravan Kumar. M" <email@hidden>
  • Date: Sat, 28 Nov 2009 09:51:42 -0800 (PST)

Hello Group,

Can we qualify data based on non-class property? Using following mechanism, I was receiving error as shown here:

EOKeyValueQualifier custQual = new EOKeyValueQualifier("custID", EOQualifier.QualifierOperatorNotEqual, sales.toCust());

NSArray activeCusts = EOQualifier.filteredArrayWithQualifier(sales, finalQual);


com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: <com.mtj.model.Map 0xcb43d9> valueForKey(): lookup of unknown key: 'custID'.

This class does not have an instance variable of the name custID or _custID, nor a method of the name custID, _custID, getCustID, or _ getCustID

at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleQueryWithUnboundKey(NSKeyValueCoding.java:1316)

at com.webobjects.eocontrol.EOCustomObject.handleQueryWithUnboundKey(EOCustomObject.java:1623)

at com.webobjects.foundation.NSKeyValueCoding$Utility.handleQueryWithUnboundKey(NSKeyValueCoding.java:544)

at com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.valueInObject(NSKeyValueCoding.java:920)

at com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1559)

at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:498)

at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)

at com.webobjects.eocontrol.EOCustomObject.valueForKeyPath(EOCustomObject.java:1675)

at com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:149)

at com.webobjects.eocontrol.EOKeyValueQualifier.evaluateWithObject(EOKeyValueQualifier.java:131)

at com.webobjects.eocontrol.EOAndQualifier.evaluateWithObject(EOAndQualifier.java:96)

at com.webobjects.eocontrol.EOAndQualifier.evaluateWithObject(EOAndQualifier.java:96)

at com.webobjects.eocontrol.EOQualifier.filteredArrayWithQualifier(EOQualifier.java:635)

at com.aso.model.Sales.activeCusts(Sales.java:514)


Thanks in advance,
Shravan Kumar. M
----------------------------------

 _______________________________________________
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: Qualify data based on non-class property
      • From: Clark Mueller <email@hidden>
  • Prev by Date: EROraclePlugIn, migrations and reserved words
  • Next by Date: Re: Qualify data based on non-class property
  • Previous by thread: Re: EROraclePlugIn, migrations and reserved words
  • Next by thread: Re: Qualify data based on non-class property
  • Index(es):
    • Date
    • Thread