Enum Class ReportMailingJobEmailAttachmentFileFormat
java.lang.Object
java.lang.Enum<ReportMailingJobEmailAttachmentFileFormat>
org.apache.fineract.infrastructure.reportmailingjob.data.ReportMailingJobEmailAttachmentFileFormat
- All Implemented Interfaces:
Serializable,Comparable<ReportMailingJobEmailAttachmentFileFormat>,Constable
public enum ReportMailingJobEmailAttachmentFileFormat
extends Enum<ReportMailingJobEmailAttachmentFileFormat>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getId()getValue()booleanbooleanisValid()newInstance(Integer id) Creates a newReportMailingJobEmailAttachmentFileFormatobjectnewInstance(String value) Creates a newReportMailingJobEmailAttachmentFileFormatobjectorg.apache.fineract.infrastructure.core.data.EnumOptionDataget aEnumOptionDatarepresentation of theReportMailingJobEmailAttachmentFileFormatobjectstatic Object[]validIds()static List<org.apache.fineract.infrastructure.core.data.EnumOptionData> get theEnumOptionDatarepresentation of all validReportMailingJobEmailAttachmentFileFormatobjectsstatic Object[]Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID
-
XLS
-
PDF
-
CSV
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
newInstance
Creates a newReportMailingJobEmailAttachmentFileFormatobject- Parameters:
value- the value of the enum constant- Returns:
ReportMailingJobEmailAttachmentFileFormatobject
-
newInstance
Creates a newReportMailingJobEmailAttachmentFileFormatobject- Parameters:
id- the id of the enum constant- Returns:
ReportMailingJobEmailAttachmentFileFormatobject
-
getCode
- Returns:
- the code
-
getValue
- Returns:
- the value
-
getId
- Returns:
- the id
-
isInvalid
public boolean isInvalid()- Returns:
- true if the enum is equals to "INVALID"
-
isValid
public boolean isValid()- Returns:
- true if the enum is not equals to "INVALID"
-
validValues
- Returns:
- list of valid ReportMailingJobEmailAttachmentFileFormat values
-
validIds
- Returns:
- list of valid ReportMailingJobEmailAttachmentFileFormat values
-
toEnumOptionData
public org.apache.fineract.infrastructure.core.data.EnumOptionData toEnumOptionData()get aEnumOptionDatarepresentation of theReportMailingJobEmailAttachmentFileFormatobject- Returns:
EnumOptionDataobject
-
validOptions
get theEnumOptionDatarepresentation of all validReportMailingJobEmailAttachmentFileFormatobjects- Returns:
- List of
EnumOptionDataobjects
-