public enum EnumSegmentCardinality extends java.lang.Enum<EnumSegmentCardinality>
| Enum Constant and Description |
|---|
MULTIPLE_COMPULSARY
Enum Constants used for Compulsary and Repeating Segments.
|
MULTIPLE_OPTIONAL
Enum Constants used for Repeating and Optional Segments.
|
SINGLE_COMPULSARY
Enum Constants used for Compulsary and Non repeating Segments
|
SINGLE_OPTIONAL
Enum Constants used for single and Optional Segments.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Returns the Integer value of this enum.
|
static EnumSegmentCardinality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumSegmentCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumSegmentCardinality SINGLE_COMPULSARY
public static final EnumSegmentCardinality MULTIPLE_COMPULSARY
public static final EnumSegmentCardinality SINGLE_OPTIONAL
public static final EnumSegmentCardinality MULTIPLE_OPTIONAL
public static EnumSegmentCardinality[] values()
for (EnumSegmentCardinality c : EnumSegmentCardinality.values()) System.out.println(c);
public static EnumSegmentCardinality 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 int getValue()