Enum EExportRecordType
- java.lang.Object
-
- java.lang.Enum<EExportRecordType>
-
- com.helger.photon.exchange.bulkexport.EExportRecordType
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EExportRecordType>
public enum EExportRecordType extends Enum<EExportRecordType> implements com.helger.commons.id.IHasID<String>
Defines the possible export record types.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EExportRecordTypegetFromIDOrNull(String sID)StringgetID()static EExportRecordTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EExportRecordType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER
public static final EExportRecordType HEADER
Export headline
-
BODY
public static final EExportRecordType BODY
Export body
-
FOOTER
public static final EExportRecordType FOOTER
Export footer
-
-
Method Detail
-
values
public static EExportRecordType[] 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 (EExportRecordType c : EExportRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EExportRecordType 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 EExportRecordType getFromIDOrNull(@Nullable String sID)
-
-