Enum Class TransferPeriodicityMap
java.lang.Object
java.lang.Enum<TransferPeriodicityMap>
es.kukenan.smartfi.microservice.smartficore.enums.TransferPeriodicityMap
- All Implemented Interfaces:
Serializable,Comparable<TransferPeriodicityMap>,Constable
Core transfer periodicity mapper.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringFrequency.private final es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdTypePeriodicity. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTransferPeriodicityMap(String frequency, es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransferPeriodicityMapgetTransferPeriodicityMapByFrequency(String frequency) Find a enum value by the frequency or null if not found.static TransferPeriodicityMapgetTransferPeriodicityMapByPeriodicity(es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity) Find a enum value by the periodicity or null if not found.static TransferPeriodicityMapReturns the enum constant of this class with the specified name.static TransferPeriodicityMap[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIQUE
Unique. -
WEEKLY
Weekly. -
BIWEEKLY
Biweekly. -
MONTHLY
Monthly. -
BIMONTHLY
Bimonthly. -
QUARTERLY
Quarterly. -
SEMIANNUAL
Semiannual. -
ANNUAL
Annul. -
BIANNUAL
Biannual. -
TRIANNUAL
Triannual.
-
-
Field Details
-
frequency
Frequency. -
periodicity
private final es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicityPeriodicity.
-
-
Constructor Details
-
TransferPeriodicityMap
private TransferPeriodicityMap(String frequency, es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity) Default constructor.- Parameters:
frequency- frequencyperiodicity- periodicity
-
-
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
-
getTransferPeriodicityMapByFrequency
Find a enum value by the frequency or null if not found.- Parameters:
frequency- The frequency- Returns:
- The TransferPeriodicityMap found
-
getTransferPeriodicityMapByPeriodicity
public static TransferPeriodicityMap getTransferPeriodicityMapByPeriodicity(es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity) Find a enum value by the periodicity or null if not found.- Parameters:
periodicity- The periodicity- Returns:
- The TransferPeriodicityMap found
-