Package eu.de4a.iem.model
Enum EDE4AResponseOptionType
- java.lang.Object
-
- java.lang.Enum<EDE4AResponseOptionType>
-
- eu.de4a.iem.model.EDE4AResponseOptionType
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EDE4AResponseOptionType>
public enum EDE4AResponseOptionType extends Enum<EDE4AResponseOptionType> implements com.helger.commons.id.IHasID<String>
Response option. Used in the request to determine the desired response layout. Used in the response to depict the actually used layout.- Since:
- 2.0.0-beta3
- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EDE4AResponseOptionTypegetFromIDOrNull(String sID)StringgetID()static EDE4AResponseOptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4AResponseOptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INLINE
public static final EDE4AResponseOptionType INLINE
Response payload is part of the response.
-
REFERENCE
public static final EDE4AResponseOptionType REFERENCE
Response payload is referenced from within the response.
-
-
Method Detail
-
values
public static EDE4AResponseOptionType[] 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 (EDE4AResponseOptionType c : EDE4AResponseOptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4AResponseOptionType 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>
-
getFromIDOrNull
@Nullable public static EDE4AResponseOptionType getFromIDOrNull(@Nullable String sID)
-
-