Enum Class TransferPeriodicityMap

java.lang.Object
java.lang.Enum<TransferPeriodicityMap>
es.kukenan.smartfi.microservice.smartficore.enums.TransferPeriodicityMap
All Implemented Interfaces:
Serializable, Comparable<TransferPeriodicityMap>, Constable

public enum TransferPeriodicityMap extends Enum<TransferPeriodicityMap>
Core transfer periodicity mapper.
  • Enum Constant Details

  • Field Details

    • frequency

      private final String frequency
      Frequency.
    • periodicity

      private final es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity
      Periodicity.
  • Constructor Details

    • TransferPeriodicityMap

      private TransferPeriodicityMap(String frequency, es.kukenan.smartfi.microservice.backoffice.dtos.core.common.GenericIdType periodicity)
      Default constructor.
      Parameters:
      frequency - frequency
      periodicity - periodicity
  • Method Details

    • values

      public static TransferPeriodicityMap[] 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

      public static TransferPeriodicityMap valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getTransferPeriodicityMapByFrequency

      public static TransferPeriodicityMap getTransferPeriodicityMapByFrequency(String frequency)
      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