WebObjects 5.2.3

com.webobjects.appserver
Class WOAssociation.Event

java.lang.Object
  extended bycom.webobjects.eocontrol.EOEvent
      extended bycom.webobjects.appserver.WOEvent
          extended bycom.webobjects.appserver.WOAssociation.Event
All Implemented Interfaces:
Serializable
Enclosing class:
WOAssociation

public static class WOAssociation.Event
extends WOEvent

The WOAssociation.Event class is used to time value assignment/retrieval at the component level.

See Also:
WOEvent, WOAssociation.ValueForKeyPathEvent, WOAssociation.TakeValueForKeyPathEvent, Serialized Form

Field Summary
 
Fields inherited from class com.webobjects.appserver.WOEvent
AssociationSignature, ComponentSignature, PageSignature
 
Fields inherited from class com.webobjects.eocontrol.EOEvent
BasicEventSignature, EventGroupName
 
Constructor Summary
WOAssociation.Event()
           
 
Method Summary
 String bindingName()
          Used by The WOAssociationEventRow component in WOJExtensions to display the association's binding name.
 String comment()
          This method provides information for the event display.
 String declarationName()
          Used by The WOAssociationEventRow component in WOJExtensions to display the association's declaration name.
 String displayComponentName()
          Used by The WOEventDisplay page in WOJExtensions to determine the event row name displayed.
 boolean isPush()
          Used by The WOAssociationEventRow component to determine the event type.
 String keyPath()
          Used by The WOAssociationEventRow component in WOJExtensions to display the association's key path.
 void setBindingNameWithComponent(WOComponent component, WOAssociation assoc)
          Used to set a default binding name on Events created for associations which have not had setDebugEnabledForBinding() invoked.
 void setKeyPath(String aKeyPath)
          Unused, but added for key value coding symmetry.
 
Methods inherited from class com.webobjects.appserver.WOEvent
setComponentName, setPageName, signatureOfType, title, toString
 
Methods inherited from class com.webobjects.eocontrol.EOEvent
aggregateEvents, classDescription, compare, description, duration, durationWithoutSubevents, eventTypeDescriptions, groupEvents, info, markAtomicWithInfo, markEnd, markStartWithInfo, parentEvent, setInfo, setType, startDate, subevents, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WOAssociation.Event

public WOAssociation.Event()
Method Detail

bindingName

public String bindingName()
Used by The WOAssociationEventRow component in WOJExtensions to display the association's binding name.

Returns:
a binding name

comment

public String comment()
This method provides information for the event display.

Overrides:
comment in class WOEvent
Returns:
the declaration name and the binding name concatenated.

declarationName

public String declarationName()
Used by The WOAssociationEventRow component in WOJExtensions to display the association's declaration name.

Returns:
a declaration name

displayComponentName

public String displayComponentName()
Used by The WOEventDisplay page in WOJExtensions to determine the event row name displayed.

Overrides:
displayComponentName in class EOEvent
Returns:
"WOAssociationEventRow", which is also in WOJExtensions

isPush

public boolean isPush()
Used by The WOAssociationEventRow component to determine the event type.

Returns:
true if this is a value assignment event (push), false if this is a value retrieval event (pull).

keyPath

public String keyPath()
Used by The WOAssociationEventRow component in WOJExtensions to display the association's key path.

Returns:
a key path

setBindingNameWithComponent

public void setBindingNameWithComponent(WOComponent component,
                                        WOAssociation assoc)
Used to set a default binding name on Events created for associations which have not had setDebugEnabledForBinding() invoked.

Parameters:
component - the component this event was created within
assoc - the association this even was created within

setKeyPath

public void setKeyPath(String aKeyPath)
Unused, but added for key value coding symmetry.

Parameters:
aKeyPath - the value of the keypath.

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.