ilog.cpl.datasource
Class DataSourceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.util.IlEventObject
          extended by ilog.cpl.datasource.DataSourceEvent
All Implemented Interfaces:
Serializable

public class DataSourceEvent
extends IlEventObject

Data source event.

Since:
JTGO 3.0
See Also:
Serialized Form

Nested Class Summary
static class DataSourceEvent.Type
          Event types.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataSourceEvent(IlEventType type, IlpDataSource dataSource)
          Constructor for batch events.
DataSourceEvent(IlEventType type, IlpDataSource dataSource, IlpObject object)
          Constructor for add/remove events.
DataSourceEvent(IlEventType type, IlpDataSource dataSource, List objects)
          Constructor for add/remove events.
 
Method Summary
 List getObjects()
          Returns the IlpObjects that have been created or removed.
 
Methods inherited from class ilog.util.IlEventObject
getType
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSourceEvent

public DataSourceEvent(IlEventType type,
                       IlpDataSource dataSource,
                       List objects)
Constructor for add/remove events.

Parameters:
type - Event type
dataSource - Datasource that has been changed
objects - List of IlpObject that have been added or removed.

DataSourceEvent

public DataSourceEvent(IlEventType type,
                       IlpDataSource dataSource,
                       IlpObject object)
Constructor for add/remove events.

Parameters:
type - Event type, either DataSourceEvent.Type.ObjectsAdded or DataSourceEvent.Type.ObjectsRemoved
dataSource - Datasource that has been changed
object - IlpObject that has been added or removed

DataSourceEvent

public DataSourceEvent(IlEventType type,
                       IlpDataSource dataSource)
Constructor for batch events.

Parameters:
type - Event type, either DataSourceEvent.Type.BatchStarted of DataSourceEvent.Type.BatchEnded
dataSource - Datasource that is being changed
Method Detail

getObjects

public List getObjects()
Returns the IlpObjects that have been created or removed.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.