Enum Class SC_CACHING_METHOD

java.lang.Object
java.lang.Enum<SC_CACHING_METHOD>
org.serviceconnector.cache.SC_CACHING_METHOD
All Implemented Interfaces:
Serializable, Comparable<SC_CACHING_METHOD>, Constable, IReversibleEnum<String,SC_CACHING_METHOD>

public enum SC_CACHING_METHOD extends Enum<SC_CACHING_METHOD> implements IReversibleEnum<String,SC_CACHING_METHOD>
The Enumeration SC_CACHING_METHOD. Used by the server to publish appendix!
  • Enum Constant Details

  • Method Details

    • values

      public static SC_CACHING_METHOD[] 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 SC_CACHING_METHOD 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
    • getCachingMethod

      public static SC_CACHING_METHOD getCachingMethod(String methodString)
      Gets the caching method.
      Parameters:
      methodString - the method string
      Returns:
      the caching method
    • getValue

      public String getValue()
      Return the value/code of the enum constant.
      Specified by:
      getValue in interface IReversibleEnum<String,SC_CACHING_METHOD>
      Returns:
      value
    • reverse

      public SC_CACHING_METHOD reverse(String methodString)
      Get the Enum constant by looking up the code in the reverse enum map. *
      Specified by:
      reverse in interface IReversibleEnum<String,SC_CACHING_METHOD>
      Parameters:
      methodString - the code
      Returns:
      V - The enum constant