Enum CTSOperation

    • Enum Constant Detail

      • CREATE

        public static final CTSOperation CREATE
        CTS Create Operation.
      • READ

        public static final CTSOperation READ
        CTS Read Operation.
      • UPDATE

        public static final CTSOperation UPDATE
        CTS Update Operation.
      • DELETE

        public static final CTSOperation DELETE
        CTS Delete Operation.
      • LIST

        public static final CTSOperation LIST
        CTS List/Query Operation.
    • Method Detail

      • values

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

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

        public static CTSOperation getOperationFromOrdinalIndex​(int ordinalIndex)
        Retrieves the appropriate CTSOperation from the list of available enums that matches on the ordinal index.
        Parameters:
        ordinalIndex - the ordinal index to look up
        Returns:
        the CTSOperation this ordinal value represents, null otherwise