Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.descriptors.changetracking
Class CollectionChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.beans.PropertyChangeEvent
          extended byoracle.toplink.descriptors.changetracking.CollectionChangeEvent

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

public class CollectionChangeEvent
extends java.beans.PropertyChangeEvent

Purpose: Define a change event for collection types.

Description: For any object that wishes to use either object change tracking or attribute change tracking, its collection attributes need to fire CollectionChangeEvent in the add or remove methods.

Responsibilities: Create a CollectionChangeEvent for an object

See Also:
Serialized Form

Field Summary
static int ADD
           
static int REMOVE
           

 

Constructor Summary
CollectionChangeEvent(java.lang.Object collectionOwner, java.lang.String propertyName, java.lang.Object collectionChanged, java.lang.Object elementChanged, int changeType)
          PUBLIC: Create a CollectionChangeEvent for an object based on the property name, old value, new value and change type (add or remove)

 

Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId

 

Methods inherited from class java.util.EventObject
getSource, toString

 

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

 

Field Detail

ADD

public static int ADD

REMOVE

public static int REMOVE

Constructor Detail

CollectionChangeEvent

public CollectionChangeEvent(java.lang.Object collectionOwner,
                             java.lang.String propertyName,
                             java.lang.Object collectionChanged,
                             java.lang.Object elementChanged,
                             int changeType)
PUBLIC: Create a CollectionChangeEvent for an object based on the property name, old value, new value and change type (add or remove)

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.