wt.epm.workspaces
Class EPMFamilyTableBaselineEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.epm.workspaces.EPMFamilyTableBaselineEvent
All Implemented Interfaces:
Serializable

public final class EPMFamilyTableBaselineEvent
extends KeyedEvent
implements Serializable

This class implements an event for the Baseline service operations.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String POST_ADD_FT_TO_BASELINE
          An event type emitted after a Baselineable item is added to a Baseline.
static String POST_REMOVE_FT_FROM_BASELINE
          An event type emitted after a Baselineable item is removed from a Baseline.
static String POST_REPLACE_FT_IN_BASELINE
          An event type emitted after a Baselineable item is replaced in a Baseline.
static String PRE_ADD_FT_TO_BASELINE
          An event type emitted before a Baselineable item is added to a Baseline.
static String PRE_REMOVE_FT_FROM_BASELINE
          An event type emitted before a Baselineable item is removed from a Baseline.
static String PRE_REPLACE_FT_IN_BASELINE
          An event type emitted before a Baselineable item is replaced in a Baseline.
private  List replacedItems
           
private static String RESOURCE
           
private  Baseline theBaseline
           
private  List theTargetItems
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
EPMFamilyTableBaselineEvent(String a_eventType, List a_familyTables, Baseline a_baseline)
          Constructs a BaselineServiceEvent instance.
EPMFamilyTableBaselineEvent(String a_eventType, List a_familyTables, Baseline a_baseline, List a_replacedFamilyTables)
          Constructs a BaselineServiceEvent instance.
 
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.
 List getReplacedItems()
          Gets the object for the association that plays role: replacedItem.
 List getTargetItems()
          Gets the object for the association that plays role: targetItem.
 
Methods inherited from class wt.events.KeyedEvent
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

PRE_ADD_FT_TO_BASELINE

public static final String PRE_ADD_FT_TO_BASELINE
An event type emitted before a Baselineable item is added to a Baseline.

Supported API: true

See Also:
Constant Field Values

POST_ADD_FT_TO_BASELINE

public static final String POST_ADD_FT_TO_BASELINE
An event type emitted after a Baselineable item is added to a Baseline.

Supported API: true

See Also:
Constant Field Values

PRE_REMOVE_FT_FROM_BASELINE

public static final String PRE_REMOVE_FT_FROM_BASELINE
An event type emitted before a Baselineable item is removed from a Baseline.

Supported API: true

See Also:
Constant Field Values

POST_REMOVE_FT_FROM_BASELINE

public static final String POST_REMOVE_FT_FROM_BASELINE
An event type emitted after a Baselineable item is removed from a Baseline.

Supported API: true

See Also:
Constant Field Values

PRE_REPLACE_FT_IN_BASELINE

public static final String PRE_REPLACE_FT_IN_BASELINE
An event type emitted before a Baselineable item is replaced in a Baseline.

Supported API: true

See Also:
Constant Field Values

POST_REPLACE_FT_IN_BASELINE

public static final String POST_REPLACE_FT_IN_BASELINE
An event type emitted after a Baselineable item is replaced in a Baseline.

Supported API: true

See Also:
Constant Field Values

theBaseline

private Baseline theBaseline

replacedItems

private List replacedItems

theTargetItems

private List theTargetItems
Constructor Detail

EPMFamilyTableBaselineEvent

public EPMFamilyTableBaselineEvent(String a_eventType,
                                   List a_familyTables,
                                   Baseline a_baseline)
Constructs a BaselineServiceEvent instance.

Supported API: true

Parameters:
a_eventType -
a_baseline -

EPMFamilyTableBaselineEvent

public EPMFamilyTableBaselineEvent(String a_eventType,
                                   List a_familyTables,
                                   Baseline a_baseline,
                                   List a_replacedFamilyTables)
Constructs a BaselineServiceEvent instance.

Supported API: true

Parameters:
a_eventType -
a_baseline -
Method Detail

getTargetItems

public List getTargetItems()
Gets the object for the association that plays role: targetItem.

Supported API: true

Returns:
Baselineable

getBaseline

public Baseline getBaseline()
Gets the object for the association that plays role: theBaseline.

Supported API: true

Returns:
Baseline

getReplacedItems

public List getReplacedItems()
Gets the object for the association that plays role: replacedItem.

Supported API: true

Returns:
Baselineable

generateEventKey

public static String generateEventKey(String a_eventType)
This method generates a unique key for the event type.

Supported API: true

Parameters:
a_eventType -
Returns:
String