public static enum Codes.DateTypeCode extends java.lang.Enum<Codes.DateTypeCode>
Enum Constant and Description |
---|
CustomEntry1
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry10
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry2
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry3
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry4
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry5
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry6
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry7
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry8
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
CustomEntry9
Custom entry whose member "code" gets updated to "value" on calls to
fromString(String value) |
No29
|
No5
|
No72
|
Modifier and Type | Method and Description |
---|---|
static Codes.DateTypeCode |
fromString(java.lang.String value)
Convert a String to a DateTypeCode.
|
java.lang.String |
getCode()
Get the "Code" property value
|
java.lang.String |
getName()
Get the "Name" property value
|
static boolean |
isNativeValue(java.lang.String value)
Tests if
valueOf(value) would return a non custom enum value |
java.lang.String |
toString()
Returns a string representation of the DateTypeCode.
|
static Codes.DateTypeCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Codes.DateTypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Codes.DateTypeCode No5
public static final Codes.DateTypeCode No29
public static final Codes.DateTypeCode No72
public static final Codes.DateTypeCode CustomEntry1
fromString(String value)
public static final Codes.DateTypeCode CustomEntry2
fromString(String value)
public static final Codes.DateTypeCode CustomEntry3
fromString(String value)
public static final Codes.DateTypeCode CustomEntry4
fromString(String value)
public static final Codes.DateTypeCode CustomEntry5
fromString(String value)
public static final Codes.DateTypeCode CustomEntry6
fromString(String value)
public static final Codes.DateTypeCode CustomEntry7
fromString(String value)
public static final Codes.DateTypeCode CustomEntry8
fromString(String value)
public static final Codes.DateTypeCode CustomEntry9
fromString(String value)
public static final Codes.DateTypeCode CustomEntry10
fromString(String value)
public static Codes.DateTypeCode[] values()
for (Codes.DateTypeCode c : Codes.DateTypeCode.values()) System.out.println(c);
public static Codes.DateTypeCode 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 java.lang.String getCode()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Codes.DateTypeCode>
public static Codes.DateTypeCode fromString(java.lang.String value)
IllegalArgumentException
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.public static boolean isNativeValue(java.lang.String value)
valueOf(value)
would return a non custom enum valuevalueOf(value)
would return a non custom enum value