Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.data
Class StructureChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.javatools.data.StructureChangeEvent

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HashStructureNodeChangeEvent

public class StructureChangeEvent
extends java.util.EventObject

The event object describing a change in a HashStructure or ListStructure. The details of the change are obtained from getChangeDetails().

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.EventObject
source

 

Constructor Summary
StructureChangeEvent(java.lang.Object source, ChangeInfo changeDetail)
          Creates a new StructureChangeEvent for the specified source and single change detail.
StructureChangeEvent(java.lang.Object source, ChangeInfo[] changeDetails)
          Creates a new StructureChangeEvent for the specified source and a collection of change details.

 

Method Summary
 ChangeInfo[] getChangeDetails()
          Returns the change details for this event.
protected static ChangeInfo[] toChangeDetails(ChangeInfo changeDetail)
          Convenience method for converting the specified ChangeInfo into a non-null array of ChangeInfo.
 java.lang.String toString()
           

 

Methods inherited from class java.util.EventObject
getSource

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

StructureChangeEvent

public StructureChangeEvent(java.lang.Object source,
                            ChangeInfo changeDetail)
Creates a new StructureChangeEvent for the specified source and single change detail. This constructor is normally used for unbatched changes.

StructureChangeEvent

public StructureChangeEvent(java.lang.Object source,
                            ChangeInfo[] changeDetails)
Creates a new StructureChangeEvent for the specified source and a collection of change details. This constructor is normally used for batched changes.

Method Detail

getChangeDetails

public ChangeInfo[] getChangeDetails()
Returns the change details for this event.

toChangeDetails

protected static ChangeInfo[] toChangeDetails(ChangeInfo changeDetail)
Convenience method for converting the specified ChangeInfo into a non-null array of ChangeInfo.

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.