@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.
|
protected boolean |
canEqual(Object other) |
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() |
getAlias, getDisplayName, getFilterQueryString, getInternalName, getIsDeclared, getIsDuration, getIsGroupable, getOriginalDisplayNames, getUnitType, getValueTypepublic 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 AbstractFieldpublic boolean equals(Object o)
equals in class AbstractFieldprotected boolean canEqual(Object other)
canEqual in class AbstractFieldpublic int hashCode()
hashCode in class AbstractFieldCopyright © 2016–2021. All rights reserved.