Enum UiConstants

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

    public enum UiConstants
    extends java.lang.Enum<UiConstants>
    Constants used by Server Application
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ID
      "#id" field
      RESULT
      "$results" field
      SELECT_BY_ID
      Token used to specify a root item
      TITLE
      "Title" field
      UNITUPS
      "#unitups" field
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReceivedCriteria()  
      java.lang.String getResultCriteria()  
      static UiConstants valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static UiConstants[] 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

      • SELECT_BY_ID

        public static final UiConstants SELECT_BY_ID
        Token used to specify a root item
      • TITLE

        public static final UiConstants TITLE
        "Title" field
      • UNITUPS

        public static final UiConstants UNITUPS
        "#unitups" field
      • RESULT

        public static final UiConstants RESULT
        "$results" field
    • Method Detail

      • values

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

        public static UiConstants 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
      • getReceivedCriteria

        public final java.lang.String getReceivedCriteria()
        Returns:
        the received constant value (From IHM)
      • getResultCriteria

        public final java.lang.String getResultCriteria()
        Returns:
        the Result constant value (From Vitam)