WebObjects 5.2.3

com.webobjects.eoaccess
Class EODatabaseContext.DatabaseContextEvent

java.lang.Object
  extended bycom.webobjects.eocontrol.EOEvent
      extended bycom.webobjects.eoaccess.EODatabaseContext.DatabaseContextEvent
All Implemented Interfaces:
Serializable
Enclosing class:
EODatabaseContext

public static class EODatabaseContext.DatabaseContextEvent
extends EOEvent

DatabaseContextEvent is a subclass of EOEvent, the parent class for objects that gather information, such as duration or order of execution, about various operations in WebObjects. DatabaseContextEvent adds knowledge of interaction with an external database to the EOEvent class.

DatabaseContextEvent logs two types of events:

See Also:
Serialized Form

Field Summary
static String ObjectsWithFetchSpecification
          The type of DatabaseContextEvent that is logged whenever the method objectsWithFetchSpecification is invoked.
static String SaveChangesInEditingContext
          The type of DatabaseContextEvent that is logged whenever the method saveChangesInEditingContext is invoked.
 
Fields inherited from class com.webobjects.eocontrol.EOEvent
BasicEventSignature, EventGroupName
 
Constructor Summary
EODatabaseContext.DatabaseContextEvent()
          Creates and returns a new DatabaseContextEvent.
EODatabaseContext.DatabaseContextEvent(String type)
          Creates and returns a new DatabaseContextEvent and sets its type to type.
 
Methods inherited from class com.webobjects.eocontrol.EOEvent
aggregateEvents, classDescription, comment, compare, description, displayComponentName, duration, durationWithoutSubevents, eventTypeDescriptions, groupEvents, info, markAtomicWithInfo, markEnd, markStartWithInfo, parentEvent, setInfo, setType, signatureOfType, startDate, subevents, title, toString, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ObjectsWithFetchSpecification

public static String ObjectsWithFetchSpecification
The type of DatabaseContextEvent that is logged whenever the method objectsWithFetchSpecification is invoked.


SaveChangesInEditingContext

public static String SaveChangesInEditingContext
The type of DatabaseContextEvent that is logged whenever the method saveChangesInEditingContext is invoked.

Constructor Detail

EODatabaseContext.DatabaseContextEvent

public EODatabaseContext.DatabaseContextEvent()
Creates and returns a new DatabaseContextEvent.


EODatabaseContext.DatabaseContextEvent

public EODatabaseContext.DatabaseContextEvent(String type)
Creates and returns a new DatabaseContextEvent and sets its type to type. The two types of DatabaseContextEvent are:

Parameters:
type - The event type to set for the new DatabaseContextEvent object.

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

Copyright © 2004 Apple Computer, Inc.