Package eu.de4a.iem.error
Enum EDE4ADataElementResponseErrorCode
- java.lang.Object
-
- java.lang.Enum<EDE4ADataElementResponseErrorCode>
-
- eu.de4a.iem.error.EDE4ADataElementResponseErrorCode
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,IDE4AErrorCode,Serializable,Comparable<EDE4ADataElementResponseErrorCode>
public enum EDE4ADataElementResponseErrorCode extends Enum<EDE4ADataElementResponseErrorCode> implements IDE4AErrorCode
Source: DataElementResponseErrorCode-CodeList.gc
Content created by MainCreateJavaCode_DataElementResponseErrorCode_GC- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DP_ELE_002UnauthorizedDP_ELE_004UnavailableDP_ELE_005Internal processing errorDP_ELE_006Insufficient input
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()static EDE4ADataElementResponseErrorCodegetFromIDOrNull(String sID)StringgetID()static EDE4ADataElementResponseErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4ADataElementResponseErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DP_ELE_002
public static final EDE4ADataElementResponseErrorCode DP_ELE_002
Unauthorized
-
DP_ELE_004
public static final EDE4ADataElementResponseErrorCode DP_ELE_004
Unavailable
-
DP_ELE_005
public static final EDE4ADataElementResponseErrorCode DP_ELE_005
Internal processing error
-
DP_ELE_006
public static final EDE4ADataElementResponseErrorCode DP_ELE_006
Insufficient input
-
-
Method Detail
-
values
public static EDE4ADataElementResponseErrorCode[] 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 (EDE4ADataElementResponseErrorCode c : EDE4ADataElementResponseErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4ADataElementResponseErrorCode 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
-
getID
@Nonnull @Nonempty public String getID()
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getDisplayName
@Nonnull @Nonempty public String getDisplayName()
-
getFromIDOrNull
@Nullable public static EDE4ADataElementResponseErrorCode getFromIDOrNull(@Nullable String sID)
-
-