Enum Class QueryParameter
- All Implemented Interfaces:
Serializable,Comparable<QueryParameter>,java.lang.constant.Constable
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 ConstantsEnum ConstantDescriptionTheoslc.orderByparameter, that sorts the members using the specified sort keys.Theoslc.pageSizeparameter, that specifies a suggested maximum page size for a paged result.Theoslc.pagingparameter, that specifies whether a paged result is requested.Theoslc.prefixparameter, that specifies a namespace prefix that may be used inoslc.where,oslc.orderBy,and oslc.select.Theoslc.propertiesparameter, that returns a list of properties for an OSLC resource and provides a partial representation of the resource.Theoslc.searchTermsparameter, that scores each member resource using a full-text search on its text-valued properties, and sorts them in descending order of score.Theoslc.selectparameter, that includes the specified immediate and nested properties of the member resources.Theoslc.whereparameter, that limits the query results to members that satisfy the specified query expression. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the parameter, as found as query parameter in a URI.static QueryParameterReturns the enum constant of this class with the specified name.static QueryParameter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREFIX
Theoslc.prefixparameter, that specifies a namespace prefix that may be used inoslc.where,oslc.orderBy,and oslc.select. -
WHERE
Theoslc.whereparameter, that limits the query results to members that satisfy the specified query expression. -
SEARCH_TERMS
Theoslc.searchTermsparameter, 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
Theoslc.orderByparameter, that sorts the members using the specified sort keys. -
PROPERTIES
Theoslc.propertiesparameter, that returns a list of properties for an OSLC resource and provides a partial representation of the resource. -
SELECT
Theoslc.selectparameter, that includes the specified immediate and nested properties of the member resources. -
PAGING
Theoslc.pagingparameter, that specifies whether a paged result is requested. -
PAGE_SIZE
Theoslc.pageSizeparameter, that specifies a suggested maximum page size for a paged result.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
Returns the name of the parameter, as found as query parameter in a URI.- Returns:
- the name of the parameter.
-