Enum OnlineChargingInteraction.Mode
- java.lang.Object
-
- java.lang.Enum<OnlineChargingInteraction.Mode>
-
- com.opencloud.slee.resources.sis.script.in.OnlineChargingInteraction.Mode
-
- All Implemented Interfaces:
Serializable,Comparable<OnlineChargingInteraction.Mode>
- Enclosing class:
- OnlineChargingInteraction
public static enum OnlineChargingInteraction.Mode extends Enum<OnlineChargingInteraction.Mode>
Supported Online Charging Interaction modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOMINATED_SERVICEOnline Charging Interaction Mode representing the Nominated Service mode.STATIC_PRIORITIESOnline FCI Interaction Mode representing the Static Service Priorities mode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnlineChargingInteraction.ModefromString(String xmlName)Get the Online Charging Interaction Mode from its descriptive (toString()) xml form.StringtoString()Returns the descriptive XML name of this mode.static OnlineChargingInteraction.ModevalueOf(String name)Returns the enum constant of this type with the specified name.static OnlineChargingInteraction.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC_PRIORITIES
public static final OnlineChargingInteraction.Mode STATIC_PRIORITIES
Online FCI Interaction Mode representing the Static Service Priorities mode. The descriptive XML name of this mode is "static-service-priorities"
-
NOMINATED_SERVICE
public static final OnlineChargingInteraction.Mode NOMINATED_SERVICE
Online Charging Interaction Mode representing the Nominated Service mode. The descriptive XML name of this mode is "nominated-service"
-
-
Method Detail
-
values
public static OnlineChargingInteraction.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OnlineChargingInteraction.Mode c : OnlineChargingInteraction.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OnlineChargingInteraction.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
Returns the descriptive XML name of this mode.- Overrides:
toStringin classEnum<OnlineChargingInteraction.Mode>- Returns:
- the descriptive XML name.
-
fromString
public static OnlineChargingInteraction.Mode fromString(String xmlName)
Get the Online Charging Interaction Mode from its descriptive (toString()) xml form.- Parameters:
xmlName- the xml name.- Returns:
- the mode, or
nullif no mode with that name exists.
-
-