Package com.fourjs.report.facturx
Enum Codes.SupportingDocumentTypeCode
- java.lang.Object
-
- java.lang.Enum<Codes.SupportingDocumentTypeCode>
-
- com.fourjs.report.facturx.Codes.SupportingDocumentTypeCode
-
- All Implemented Interfaces:
Serializable
,Comparable<Codes.SupportingDocumentTypeCode>
- Enclosing class:
- Codes
public static enum Codes.SupportingDocumentTypeCode extends Enum<Codes.SupportingDocumentTypeCode>
Supporting Document Type Code: BT-17-0, BT-18-0, BT-122-0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CustomEntry1
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)
No130
130No50
50No916
916
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Codes.SupportingDocumentTypeCode
fromString(String value)
Convert a String to a SupportingDocumentTypeCode.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 SupportingDocumentTypeCode.static Codes.SupportingDocumentTypeCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Codes.SupportingDocumentTypeCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
No50
public static final Codes.SupportingDocumentTypeCode No50
50
-
No130
public static final Codes.SupportingDocumentTypeCode No130
130
-
No916
public static final Codes.SupportingDocumentTypeCode No916
916
-
CustomEntry1
public static final Codes.SupportingDocumentTypeCode CustomEntry1
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry2
public static final Codes.SupportingDocumentTypeCode CustomEntry2
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry3
public static final Codes.SupportingDocumentTypeCode CustomEntry3
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry4
public static final Codes.SupportingDocumentTypeCode CustomEntry4
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry5
public static final Codes.SupportingDocumentTypeCode CustomEntry5
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry6
public static final Codes.SupportingDocumentTypeCode CustomEntry6
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry7
public static final Codes.SupportingDocumentTypeCode CustomEntry7
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry8
public static final Codes.SupportingDocumentTypeCode CustomEntry8
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry9
public static final Codes.SupportingDocumentTypeCode CustomEntry9
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
CustomEntry10
public static final Codes.SupportingDocumentTypeCode CustomEntry10
Custom entry whose member "value" gets updated to "value" on calls tofromString(String value)
-
-
Method Detail
-
values
public static Codes.SupportingDocumentTypeCode[] 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.SupportingDocumentTypeCode c : Codes.SupportingDocumentTypeCode.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.SupportingDocumentTypeCode 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 SupportingDocumentTypeCode.- Overrides:
toString
in classEnum<Codes.SupportingDocumentTypeCode>
- Returns:
- a string representation of the SupportingDocumentTypeCode.
-
fromString
public static Codes.SupportingDocumentTypeCode fromString(String value)
Convert a String to a SupportingDocumentTypeCode.
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 SupportingDocumentTypeCode 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
-
-