WOToManyRelationship Class Reference

Inherits er::extensions::components::ERXArrayChooser.

Inherited by ERXToManyRelationship.

Collaboration diagram for WOToManyRelationship:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSArray currentValues ()
void reset ()
NSArray selections ()
void setSelections (NSArray selections)
void updateSourceObject (NSArray newValues)
 WOToManyRelationship (WOContext aContext)

Protected Member Functions

boolean isSingleSelection ()

Protected Attributes

NSArray _selections


Detailed Description

Back port from WO 5 WOExtensions. This component is binding compatible, but not source compatible.
It can also handle non-relationships, you must set the possibleChoices to an NSArray and relationshipName to a property name. It works whether the object is an EO or not. The name could/should probably change because it handles not only relationships, but it was wrongly named n the first place...

Constructor & Destructor Documentation

WOToManyRelationship ( WOContext  aContext  ) 


Member Function Documentation

NSArray currentValues (  )  [virtual]

Implements ERXArrayChooser.

boolean isSingleSelection (  )  [protected, virtual]

Implements ERXArrayChooser.

void reset (  ) 

Reimplemented from ERXArrayChooser.

NSArray selections (  ) 

Reimplemented in ERXToManyRelationship.

void setSelections ( NSArray  selections  ) 

void updateSourceObject ( NSArray  newValues  ) 


Member Data Documentation

NSArray _selections [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:17 2012 for Project Wonder by  doxygen 1.5.8