Package com.fourjs.report.facturx
Enum Codes.VATCategoryCode
- java.lang.Object
-
- java.lang.Enum<Codes.VATCategoryCode>
-
- com.fourjs.report.facturx.Codes.VATCategoryCode
-
- All Implemented Interfaces:
Serializable
,Comparable<Codes.VATCategoryCode>
- Enclosing class:
- Codes
public static enum Codes.VATCategoryCode extends Enum<Codes.VATCategoryCode>
VAT Category Code: BT-151, BT-118, BT-95
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AE
AECustomEntry1
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry10
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry2
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry3
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry4
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry5
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry6
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry7
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry8
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
CustomEntry9
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
E
EG
GK
KL
LM
MO
OS
SZ
Z
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Codes.VATCategoryCode
fromString(String value)
Convert a String to a VATCategoryCode.String
getValue()
Get the "Value" property valuestatic boolean
isNativeValue(String value)
Tests ifvalueOf(value)
would return a non custom enum valueString
toString()
Returns a string representation of the VATCategoryCode.static Codes.VATCategoryCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Codes.VATCategoryCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AE
public static final Codes.VATCategoryCode AE
AE
-
E
public static final Codes.VATCategoryCode E
E
-
G
public static final Codes.VATCategoryCode G
G
-
K
public static final Codes.VATCategoryCode K
K
-
L
public static final Codes.VATCategoryCode L
L
-
M
public static final Codes.VATCategoryCode M
M
-
O
public static final Codes.VATCategoryCode O
O
-
S
public static final Codes.VATCategoryCode S
S
-
Z
public static final Codes.VATCategoryCode Z
Z
-
CustomEntry1
public static final Codes.VATCategoryCode CustomEntry1
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry2
public static final Codes.VATCategoryCode CustomEntry2
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry3
public static final Codes.VATCategoryCode CustomEntry3
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry4
public static final Codes.VATCategoryCode CustomEntry4
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry5
public static final Codes.VATCategoryCode CustomEntry5
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry6
public static final Codes.VATCategoryCode CustomEntry6
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry7
public static final Codes.VATCategoryCode CustomEntry7
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry8
public static final Codes.VATCategoryCode CustomEntry8
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry9
public static final Codes.VATCategoryCode CustomEntry9
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry10
public static final Codes.VATCategoryCode CustomEntry10
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
-
Method Detail
-
values
public static Codes.VATCategoryCode[] 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 (Codes.VATCategoryCode c : Codes.VATCategoryCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Codes.VATCategoryCode 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
-
getValue
public String getValue()
Get the "Value" property value- Returns:
- value
-
toString
public String toString()
Returns a string representation of the VATCategoryCode.- Overrides:
toString
in classEnum<Codes.VATCategoryCode>
- Returns:
- a string representation of the VATCategoryCode.
-
fromString
public static Codes.VATCategoryCode fromString(String value)
Convert a String to a VATCategoryCode.
Throws aIllegalArgumentException
if the value doesn't exist unless the system property "facturx.laxenums" is set to true. In the latter case, a custom value is returned if available.- Returns:
- a VATCategoryCode that represents the String.
-
isNativeValue
public static boolean isNativeValue(String value)
Tests ifvalueOf(value)
would return a non custom enum value- Returns:
- true if if
valueOf(value)
would return a non custom enum value
-
-