Enum CAP4LegOrCallSegment.Choice
-
- All Implemented Interfaces:
Serializable
,Comparable<CAP4LegOrCallSegment.Choice>
- Enclosing class:
- CAP4LegOrCallSegment
public static enum CAP4LegOrCallSegment.Choice extends Enum<CAP4LegOrCallSegment.Choice>
API for CAP-datatypes.LegOrCallSegment.Choice.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLSEGMENTID
LEGID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CAP4LegOrCallSegment.Choice
valueOf(String name)
Returns the enum constant of this type with the specified name.static CAP4LegOrCallSegment.Choice[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALLSEGMENTID
public static final CAP4LegOrCallSegment.Choice CALLSEGMENTID
-
LEGID
public static final CAP4LegOrCallSegment.Choice LEGID
-
-
Method Detail
-
values
public static CAP4LegOrCallSegment.Choice[] 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 (CAP4LegOrCallSegment.Choice c : CAP4LegOrCallSegment.Choice.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CAP4LegOrCallSegment.Choice 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
-
-