com.highdeal.pnr.hci
Enum TaxParameterSet.TaxModule
java.lang.Object
java.lang.Enum<TaxParameterSet.TaxModule>
com.highdeal.pnr.hci.TaxParameterSet.TaxModule
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TaxParameterSet.TaxModule>
- Enclosing class:
- TaxParameterSet<T extends TaxParameter>
public static enum TaxParameterSet.TaxModule
- extends java.lang.Enum<TaxParameterSet.TaxModule>
|
Enum Constant Summary |
US
|
VAT
|
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
VAT
public static final TaxParameterSet.TaxModule VAT
US
public static final TaxParameterSet.TaxModule US
values
public static TaxParameterSet.TaxModule[] 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 (TaxParameterSet.TaxModule c : TaxParameterSet.TaxModule.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TaxParameterSet.TaxModule valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getName
public java.lang.String getName()
getId
public int getId()
getTaxModuleFromName
public static TaxParameterSet.TaxModule getTaxModuleFromName(java.lang.String name)
getTaxModuleFromId
public static TaxParameterSet.TaxModule getTaxModuleFromId(int id)