@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class SortField extends AbstractField
Field outlining queryString sort command fields and their corresponding sort order.
SortField.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the SortField.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
SortField.Builder |
static class |
SortField.Direction
Sort order for the field specified in the queryString.
|
AbstractField.Name
Constructor and Description |
---|
SortField(String displayName,
Boolean isDeclared,
List<String> originalDisplayNames,
String internalName,
ValueType valueType,
Boolean isGroupable,
Boolean isDuration,
String alias,
String filterQueryString,
String unitType,
SortField.Direction direction)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SortField.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
SortField.Direction |
getDirection()
Sort order for the field specified in the queryString.
|
int |
hashCode() |
SortField.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAlias, getDisplayName, getFilterQueryString, getInternalName, getIsDeclared, getIsDuration, getIsGroupable, getOriginalDisplayNames, getUnitType, getValueType
public static SortField.Builder builder()
Create a new builder.
public SortField.Builder toBuilder()
public SortField.Direction getDirection()
Sort order for the field specified in the queryString.
public String toString()
toString
in class AbstractField
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AbstractField
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AbstractField
public int hashCode()
hashCode
in class AbstractField
Copyright © 2016–2022. All rights reserved.