public enum MajorIndustryIdentifier extends Enum<MajorIndustryIdentifier>
| Enum Constant and Description |
|---|
mii_0 |
mii_1 |
mii_2 |
mii_3 |
mii_4 |
mii_5 |
mii_6 |
mii_7 |
mii_8 |
mii_9 |
unknown |
| Modifier and Type | Method and Description |
|---|---|
static MajorIndustryIdentifier |
from(String accountNumber)
Parses MII value.
|
String |
getDescription()
Gets the description.
|
int |
getValue()
Gets the MII value.
|
String |
toString() |
static MajorIndustryIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MajorIndustryIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MajorIndustryIdentifier unknown
public static final MajorIndustryIdentifier mii_0
public static final MajorIndustryIdentifier mii_1
public static final MajorIndustryIdentifier mii_2
public static final MajorIndustryIdentifier mii_3
public static final MajorIndustryIdentifier mii_4
public static final MajorIndustryIdentifier mii_5
public static final MajorIndustryIdentifier mii_6
public static final MajorIndustryIdentifier mii_7
public static final MajorIndustryIdentifier mii_8
public static final MajorIndustryIdentifier mii_9
public static MajorIndustryIdentifier[] values()
for (MajorIndustryIdentifier c : MajorIndustryIdentifier.values()) System.out.println(c);
public static MajorIndustryIdentifier valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static MajorIndustryIdentifier from(String accountNumber)
accountNumber - Card primary account number.public String getDescription()
public int getValue()
public String toString()
toString in class Enum<MajorIndustryIdentifier>Enum.toString()Copyright © 2014 Sualeh Fatehi. All rights reserved.