public enum RateComponentType extends java.lang.Enum<RateComponentType>
enumeration lists the types of the logic components in price plans, charging plans, refill logic, and allowance logic.| Modifier and Type | Class and Description |
|---|---|
static class |
RateComponentType.RateComponentCategory
This enumeration lists the possible categories of a rate component.
|
static class |
RateComponentType.RateComponentLocation
This enumeration lists the possible locations of a rate component.
|
| Enum Constant and Description |
|---|
aggregate
AGGREGATE = 15
|
allowanceAllow
FLAT_FUNCTION = 54
|
allowanceEvent
ALLOWANCE_EVENT = 49
|
allowanceEventRate
EVENT_RATE = 51
|
allowanceEventUpdate
ALLOWANCE_EVENT_UPDATE = 53
|
allowancePropertyIntroducer
ALLOWANCE_PROPERTY_INTRODUCER = 52
|
allowanceValidityPeriod
CREATE_ALLOWANCE = 50
|
arithmetic
ARITHMETIC = 16
|
concatenate
CONCATENATE = 42
|
counterCredit
COUNTER_CREDIT = 56
|
counterDebit
COUNTER_DEBIT = 55
|
counterUpdate
COUNTER_UPDATE = 18
|
createAllowance
CREATE_ALLOWANCE = 48
|
dateComparison
DATE_COMPARISON = 19
|
dateinslot
DATE_IN_SLOT = 0
|
defaultCharge
DEFAULT_CHARGE = 34
|
defaultChargeAction
DEFAULT_CHARGE_ACTION = 38
|
duration
DURATION = 20
|
extendedRefillChargeAction
EXTENDED_REFILL_CHARGE_ACTION = 45
|
externalChargeAction
EXTERNAL_CHARGE_ACTION = 36
|
filter
FILTER = 1
|
flat
FLAT_FUNCTION = 21
|
free
FREE = 22
|
genericFunction
GENERIC_FUNCTION = 2
|
genericSwitch
SWITCH = 46
|
inMacro
IN_MACRO = 27
|
internalChargeAction
INTERNAL_CHARGE_ACTION = 35
|
linear
LINEAR_FUNCTION = 23
|
mappingTable
MAPPING_TABLE = 43
|
multiValuedEvaluator
MULTI_VALUED_EVALUATOR = 3
|
noaccess
NO_ACCESS = 24
|
numberComparison
COMPARISON = 17
|
numberSplitter
NUMBER_SPLITTER = 25
|
oneShotCharge
ONE_SHOT_CHARGE = 33
|
outPropertyUpdate
OUT_PROPERTY_UPDATE = 29
|
polynom
POLYNOM = 4
|
prefixSwitch
PREFIX_SWITCH = 5
|
preMacro
PRE_MACRO = 28
|
prepaidAccountStateChange
PREPAID_ACCOUNT_STATE_CHANGE = 44
|
preTable
PRE_TABLE = 30
|
preTierTable
PRE_TIER_TABLE = 41
|
propertyIntroducer
PROPERTY_INTRODUCER = 40
|
propertyTypeConvertor
PROPERTY_TYPE_CONVERTOR = 6
|
prorata
PRORATA = 7
|
publicHoliday
PUBLIC_HOLIDAY = 8
|
publicHolidaySplitter
PUBLIC_HOLIDAY_SPLITTER = 9
|
rangeTable
MAPPING_TABLE = 47
|
recurringCharge
RECURRING_CHARGE = 32
|
refillChargeAction
REFILL_CHARGE_ACTION = 37
|
shiftDate
SHIFT_DATE = 10
|
stringComparison
STRING_COMPARISON = 26
|
switchNumber
SWITCH_NUMBER_COMPARISON = 11
|
switchTable
SWITCH_TABLE = 12
|
timeAdapter
TIME_ADAPTER = 13
|
timeslotSplitter
TIME_SLOT_SPLITTER = 14
|
usageCharge
USAGE_CHARGE = 31
|
userAlert
USER_ALERT = 39
|
| Modifier and Type | Method and Description |
|---|---|
static RateComponentType |
getByClassname(java.lang.String classname)
Returns the type of the given rate component class name.
|
RateComponentType.RateComponentCategory |
getCategory()
Gets the category of the rate component type.
|
static RateComponentModel |
getInvalidRateComponent(RateComponentModel rateComponent,
RateComponentType.RateComponentCategory parentCategory,
RateComponentType.RateComponentLocation location)
Returns the first invalid rate component in a plan starting from a given rate component.
|
static RateComponentType |
getType(RateComponentModel rateComponent)
Returns the type of the given rate component.
|
boolean |
isForbiddenIn(RateComponentType.RateComponentLocation location)
Gets whether the rate component type is forbidden in the specified location.
|
static RateComponentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RateComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateComponentType dateinslot
public static final RateComponentType filter
public static final RateComponentType genericFunction
public static final RateComponentType multiValuedEvaluator
public static final RateComponentType polynom
public static final RateComponentType prefixSwitch
public static final RateComponentType propertyTypeConvertor
public static final RateComponentType prorata
public static final RateComponentType publicHoliday
public static final RateComponentType publicHolidaySplitter
public static final RateComponentType shiftDate
public static final RateComponentType switchNumber
public static final RateComponentType switchTable
public static final RateComponentType timeAdapter
public static final RateComponentType timeslotSplitter
public static final RateComponentType aggregate
public static final RateComponentType arithmetic
public static final RateComponentType numberComparison
public static final RateComponentType counterUpdate
public static final RateComponentType dateComparison
public static final RateComponentType duration
public static final RateComponentType flat
public static final RateComponentType free
public static final RateComponentType linear
public static final RateComponentType noaccess
public static final RateComponentType numberSplitter
public static final RateComponentType stringComparison
public static final RateComponentType inMacro
public static final RateComponentType preMacro
public static final RateComponentType outPropertyUpdate
public static final RateComponentType preTable
public static final RateComponentType usageCharge
public static final RateComponentType recurringCharge
public static final RateComponentType oneShotCharge
public static final RateComponentType defaultCharge
public static final RateComponentType internalChargeAction
public static final RateComponentType externalChargeAction
public static final RateComponentType refillChargeAction
public static final RateComponentType defaultChargeAction
public static final RateComponentType userAlert
public static final RateComponentType propertyIntroducer
public static final RateComponentType preTierTable
public static final RateComponentType concatenate
public static final RateComponentType mappingTable
public static final RateComponentType prepaidAccountStateChange
public static final RateComponentType extendedRefillChargeAction
public static final RateComponentType genericSwitch
public static final RateComponentType rangeTable
public static final RateComponentType createAllowance
public static final RateComponentType allowanceEvent
public static final RateComponentType allowanceValidityPeriod
public static final RateComponentType allowanceEventRate
public static final RateComponentType allowancePropertyIntroducer
public static final RateComponentType allowanceEventUpdate
public static final RateComponentType allowanceAllow
public static final RateComponentType counterDebit
public static final RateComponentType counterCredit
public static RateComponentType[] values()
for (RateComponentType c : RateComponentType.values()) System.out.println(c);
public static RateComponentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic RateComponentType.RateComponentCategory getCategory()
public boolean isForbiddenIn(RateComponentType.RateComponentLocation location)
location - the location to checktrue if the rate component type is forbidden in the specified location, false otherwisepublic static final RateComponentType getType(RateComponentModel rateComponent)
rateComponent - the rate component for which we want to know its type.public static final RateComponentType getByClassname(java.lang.String classname)
classname - the class name of the rate component for which we want to know its type.public static final RateComponentModel getInvalidRateComponent(RateComponentModel rateComponent, RateComponentType.RateComponentCategory parentCategory, RateComponentType.RateComponentLocation location)
rateComponent - the rate component to testparentCategory - the category of the parent component, null if the rate component is RateComponentType.RateComponentCategory.rootlocation - the location of the rate componentnull otherwise