Enum Class FieldName

java.lang.Object
java.lang.Enum<FieldName>
com.oracle.content.sdk.model.field.FieldName
All Implemented Interfaces:
Serializable, Comparable<FieldName>, Constable

public enum FieldName extends Enum<FieldName>
Enumeration of the standard reserved field names that can be used in expressions, such as "id", "type", "name". These standard field names will not have a "fields." prefix when used in a query (q) expression for an SDK method generated using SearchQueryBuilder Note that some of these reserved field names are specific to the management SDK and not used in the delivery SDK queries but are still considered reserved names.
  • Enum Constant Details

    • ID

      public static final FieldName ID
    • TYPE

      public static final FieldName TYPE
    • TYPE_CATEGORY

      public static final FieldName TYPE_CATEGORY
    • NAME

      public static final FieldName NAME
    • DESCRIPTION

      public static final FieldName DESCRIPTION
    • SLUG

      public static final FieldName SLUG
    • TRANSLATABLE

      public static final FieldName TRANSLATABLE
    • LANGUAGE

      public static final FieldName LANGUAGE
    • STATUS

      public static final FieldName STATUS
    • PARENTID

      public static final FieldName PARENTID
    • CREATED_BY

      public static final FieldName CREATED_BY
    • CREATED_DATE

      public static final FieldName CREATED_DATE
    • UPDATED_BY

      public static final FieldName UPDATED_BY
    • UPDATED_DATE

      public static final FieldName UPDATED_DATE
    • REPOSITORY_ID

      public static final FieldName REPOSITORY_ID
    • PUBLISH_INFO

      public static final FieldName PUBLISH_INFO
    • EXTERNAL_FILE

      public static final FieldName EXTERNAL_FILE
    • APPROVAL_STATUS

      public static final FieldName APPROVAL_STATUS
    • CHANNELS

      public static final FieldName CHANNELS
    • TAXONOMIES

      public static final FieldName TAXONOMIES
    • FILE_GROUP

      public static final FieldName FILE_GROUP
    • TAXONOMY_CATEGORY_NODES_ID

      public static final FieldName TAXONOMY_CATEGORY_NODES_ID
    • ALL

      public static final FieldName ALL
  • Field Details

    • sAllNames

      public static List<String> sAllNames
  • Method Details

    • values

      public static FieldName[] 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 FieldName 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
    • isReservedFieldName

      public static boolean isReservedFieldName(String s)
      Does a string match a value in this enum?
      Parameters:
      s - string to match
      Returns:
      true if the string matches an enum value
    • toString

      public String toString()
      Overrides:
      toString in class Enum<FieldName>
    • getValue

      public String getValue()