wt.step.processor
Class WTImportEvent
java.lang.Object
java.util.EventObject
wt.step.processor.WTImportEvent
- All Implemented Interfaces:
- Serializable
- public class WTImportEvent
- extends EventObject
An event fired from the WTImportService when instances are found/created.
To receive these event the receiver must register as a WTImportEventListener.
- See Also:
WTImportEventListener
,
WTImportService
,
Serialized Form
Constructor Summary |
WTImportEvent(Object src,
Persistable nonPersistent,
Persistable persistent)
|
WTImportEvent(Object src,
Persistable targetInstance,
Persistable otherInstance,
int targetType,
int eventType,
String id1,
String id2)
|
WTImportEvent(Object src,
Persistable targetInstance,
String warning)
|
WTImportEvent(Object src,
String progressMessage)
|
WTImportEvent(Object src,
Throwable exception)
|
WARNING_EVENT
public static final int WARNING_EVENT
- See Also:
- Constant Field Values
NEW_INSTANCE_EVENT
public static final int NEW_INSTANCE_EVENT
- See Also:
- Constant Field Values
EXISTING_INSTANCE_EVENT
public static final int EXISTING_INSTANCE_EVENT
- See Also:
- Constant Field Values
PERSISTENCE_EVENT
public static final int PERSISTENCE_EVENT
- See Also:
- Constant Field Values
PROGRESS_EVENT
public static final int PROGRESS_EVENT
- See Also:
- Constant Field Values
MASTER_TYPE
public static final int MASTER_TYPE
- See Also:
- Constant Field Values
VERSION_TYPE
public static final int VERSION_TYPE
- See Also:
- Constant Field Values
ITERATION_TYPE
public static final int ITERATION_TYPE
- See Also:
- Constant Field Values
RELATIONSHIP_TYPE
public static final int RELATIONSHIP_TYPE
- See Also:
- Constant Field Values
UNDEFINED_TYPE
public static final int UNDEFINED_TYPE
- See Also:
- Constant Field Values
_targetInstance
private Object _targetInstance
_otherInstance
private Object _otherInstance
_targetType
private int _targetType
_eventType
private int _eventType
_id
private String _id
_exception
private Throwable _exception
WTImportEvent
public WTImportEvent(Object src,
Persistable nonPersistent,
Persistable persistent)
WTImportEvent
public WTImportEvent(Object src,
Persistable targetInstance,
Persistable otherInstance,
int targetType,
int eventType,
String id1,
String id2)
WTImportEvent
public WTImportEvent(Object src,
Throwable exception)
WTImportEvent
public WTImportEvent(Object src,
String progressMessage)
WTImportEvent
public WTImportEvent(Object src,
Persistable targetInstance,
String warning)
getTargetInstancePersistable
public Persistable getTargetInstancePersistable()
getTargetInstance
public Object getTargetInstance()
getOtherInstance
public Object getOtherInstance()
getId
public String getId()
getTargetType
public int getTargetType()
getEventType
public int getEventType()
getException
public Throwable getException()
toString
public String toString()