Enum OgcEnum.OperationType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OgcEnum.OperationType>
    Enclosing class:
    OgcEnum

    public static enum OgcEnum.OperationType
    extends java.lang.Enum<OgcEnum.OperationType>
    A enum type for the allowed operation type format.
    • Method Detail

      • values

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

        public static OgcEnum.OperationType 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
      • fromString

        public static OgcEnum.OperationType fromString​(java.lang.String inputValue)
        Static method to get an enum based on a string value. This method is annotated with JsonCreator, which allows the client to send case insensitive string values (like "jSon"), which will be converted to the correct enum value.
        Parameters:
        inputValue -
        Returns:
      • toString

        public java.lang.String toString()
        This method is annotated with JsonValue, so that jackson will serialize the enum value to the (lowercase) value.
        Overrides:
        toString in class java.lang.Enum<OgcEnum.OperationType>