|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.events.KeyedEvent
wt.vc.baseline.BaselineServiceEvent
public final class BaselineServiceEvent
This class implements an event for the Baseline service operations.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
POST_ADD_BASELINE
An event type emitted after a Baselineable item is added to a Baseline. |
static String |
POST_REMOVE_BASELINE
An event type emitted after a Baselineable item is removed from a Baseline. |
static String |
POST_REPLACE_BASELINE
An event type emitted after a Baselineable item is replaced in a Baseline. |
static String |
PRE_ADD_BASELINE
An event type emitted before a Baselineable item is added to a Baseline. |
static String |
PRE_REMOVE_BASELINE
An event type emitted before a Baselineable item is removed from a Baseline. |
static String |
PRE_REPLACE_BASELINE
An event type emitted before a Baselineable item is replaced in a Baseline. |
| Constructor Summary | |
|---|---|
BaselineServiceEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline)
Constructs a BaselineServiceEvent instance. |
|
BaselineServiceEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline,
Baselineable a_replacedBaselineable)
Constructs a BaselineServiceEvent instance. |
|
BaselineServiceEvent(String a_eventType,
WTCollection a_baselineables,
Baseline a_baseline)
Constructs a multi obejct BaselineServiceEvent instance for ADD and REMOVE events where list Baselineable objects are passed in as WTCollection
for single Baseline. |
|
BaselineServiceEvent(String a_eventType,
WTValuedMap a_baselineables,
Baseline a_baseline)
Constructs a multi obejct BaselineServiceEvent instance for REPLACE event where a map of new and old Baselineable objects are passed in as WTValuedMap for single Baseline. |
|
| Method Summary | |
|---|---|
static String |
generateEventKey(String a_eventType)
This method generates a unique key for the event type. |
Baseline |
getBaseline()
Gets the object for the association that plays role: theBaseline. |
Baselineable |
getReplacedItem()
Gets the object for the association that plays role: replacedItem. |
Baselineable |
getTargetItem()
Gets the object for the association that plays role: targetItem. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PRE_ADD_BASELINE
public static final String POST_ADD_BASELINE
public static final String PRE_REMOVE_BASELINE
public static final String POST_REMOVE_BASELINE
public static final String PRE_REPLACE_BASELINE
public static final String POST_REPLACE_BASELINE
| Constructor Detail |
|---|
public BaselineServiceEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline)
a_eventType - a_baselineable - a_baseline -
public BaselineServiceEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline,
Baselineable a_replacedBaselineable)
a_eventType - a_baselineable - a_baseline - a_replacedBaselineable -
public BaselineServiceEvent(String a_eventType,
WTCollection a_baselineables,
Baseline a_baseline)
WTCollection
for single Baseline.
a_eventType - a_baselineables - a_baseline -
public BaselineServiceEvent(String a_eventType,
WTValuedMap a_baselineables,
Baseline a_baseline)
WTValuedMap for single Baseline.
a_eventType - a_baselineables - a_baseline - | Method Detail |
|---|
public Baselineable getTargetItem()
public Baseline getBaseline()
public Baselineable getReplacedItem()
public static String generateEventKey(String a_eventType)
a_eventType -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||