Enum Class QueryParameter

java.lang.Object
java.lang.Enum<QueryParameter>
com.sodius.oslc.core.process.query.QueryParameter
All Implemented Interfaces:
Serializable, Comparable<QueryParameter>, java.lang.constant.Constable

public enum QueryParameter extends Enum<QueryParameter>
OSLC Query parameter names, as defined by the specification.
Since:
3.6.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The oslc.orderBy parameter, that sorts the members using the specified sort keys.
    The oslc.pageSize parameter, that specifies a suggested maximum page size for a paged result.
    The oslc.paging parameter, that specifies whether a paged result is requested.
    The oslc.prefix parameter, that specifies a namespace prefix that may be used in oslc.where, oslc.orderBy, and oslc.select.
    The oslc.properties parameter, that returns a list of properties for an OSLC resource and provides a partial representation of the resource.
    The oslc.searchTerms parameter, that scores each member resource using a full-text search on its text-valued properties, and sorts them in descending order of score.
    The oslc.select parameter, that includes the specified immediate and nested properties of the member resources.
    The oslc.where parameter, that limits the query results to members that satisfy the specified query expression.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the parameter, as found as query parameter in a URI.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • PREFIX

      public static final QueryParameter PREFIX
      The oslc.prefix parameter, that specifies a namespace prefix that may be used in oslc.where, oslc.orderBy, and oslc.select.
    • WHERE

      public static final QueryParameter WHERE
      The oslc.where parameter, that limits the query results to members that satisfy the specified query expression.
    • SEARCH_TERMS

      public static final QueryParameter SEARCH_TERMS
      The oslc.searchTerms parameter, that scores each member resource using a full-text search on its text-valued properties, and sorts them in descending order of score.
    • ORDER_BY

      public static final QueryParameter ORDER_BY
      The oslc.orderBy parameter, that sorts the members using the specified sort keys.
    • PROPERTIES

      public static final QueryParameter PROPERTIES
      The oslc.properties parameter, that returns a list of properties for an OSLC resource and provides a partial representation of the resource.
    • SELECT

      public static final QueryParameter SELECT
      The oslc.select parameter, that includes the specified immediate and nested properties of the member resources.
    • PAGING

      public static final QueryParameter PAGING
      The oslc.paging parameter, that specifies whether a paged result is requested.
    • PAGE_SIZE

      public static final QueryParameter PAGE_SIZE
      The oslc.pageSize parameter, that specifies a suggested maximum page size for a paged result.
  • Method Details

    • values

      public static QueryParameter[] 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 QueryParameter 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
    • getName

      public String getName()
      Returns the name of the parameter, as found as query parameter in a URI.
      Returns:
      the name of the parameter.