Enum BaseActionRestPath

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseActionRestPath>

    public enum BaseActionRestPath
    extends java.lang.Enum<BaseActionRestPath>
    The enum class BaseActionRestPath holds constants for the base action that follows after base rest paths
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DELETE
      The constant for the action delete
      FIND
      The constant for the action find
      FIND_ALL
      The constant for the action find all
      FIND_BY
      The constant for the action find by
      FIND_BY_NAME
      The constant for the action find by name
      PERSIST
      The constant for the action persist.
      SAVE
      The constant for the action save
      SAVE_OR_UPDATE
      The constant for the action save or update
      UPDATE
      The constant for the action update.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()  
      static BaseActionRestPath valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BaseActionRestPath[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • PERSIST

        public static final BaseActionRestPath PERSIST
        The constant for the action persist.
      • UPDATE

        public static final BaseActionRestPath UPDATE
        The constant for the action update.
      • SAVE_OR_UPDATE

        public static final BaseActionRestPath SAVE_OR_UPDATE
        The constant for the action save or update
      • DELETE

        public static final BaseActionRestPath DELETE
        The constant for the action delete
      • FIND_BY

        public static final BaseActionRestPath FIND_BY
        The constant for the action find by
      • FIND_ALL

        public static final BaseActionRestPath FIND_ALL
        The constant for the action find all
      • FIND_BY_NAME

        public static final BaseActionRestPath FIND_BY_NAME
        The constant for the action find by name
    • Method Detail

      • values

        public static BaseActionRestPath[] 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 (BaseActionRestPath c : BaseActionRestPath.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BaseActionRestPath valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()