public class HoldingsChangeEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
PURCHASE_DEAL
Indicates a deal has been purchased.
|
static int |
PURCHASE_PLAN_WITH_NO_SERVICES
Indicates a plan without any services has been purchased.
|
static int |
PURCHASE_PLAN_WITH_SERVICES
Indicates a plan with at least one additional service has been purchased.
|
source
Constructor and Description |
---|
HoldingsChangeEvent(Object source,
PModelHandle pm,
int type)
Constructs a HoldingsChangeEvent object.
|
Modifier and Type | Method and Description |
---|---|
PModelHandle |
getModelHandle() |
int |
getType() |
getSource, toString
public static final int PURCHASE_DEAL
public static final int PURCHASE_PLAN_WITH_SERVICES
public static final int PURCHASE_PLAN_WITH_NO_SERVICES
public HoldingsChangeEvent(Object source, PModelHandle pm, int type)
source
- the Object that is the source of the event
(typically this
)pm
- the input model handle for opcode calls during
purchase offering.type
- the event typepublic int getType()
public PModelHandle getModelHandle()
Copyright © 2003, 2023, Oracle and/or its affiliates.