@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class SimpleCondition extends Condition
Information for a simple condition.
Note: Objects should always be created or deserialized using the SimpleCondition.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 SimpleCondition.Builder
, which maintain a
set of all explicitly set fields called SimpleCondition.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SimpleCondition.Builder |
Condition.Kind
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SimpleCondition(String parameter,
OperatorType operator,
String value,
ConditionValueType valueType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SimpleCondition.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
OperatorType |
getOperator()
Type of operator
|
String |
getParameter()
Parameter key
|
String |
getValue()
Value of operator in condition
|
ConditionValueType |
getValueType()
Type of value in condition
|
int |
hashCode() |
SimpleCondition.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public SimpleCondition(String parameter, OperatorType operator, String value, ConditionValueType valueType)
public static SimpleCondition.Builder builder()
Create a new builder.
public SimpleCondition.Builder toBuilder()
public String getParameter()
Parameter key
public OperatorType getOperator()
Type of operator
public String getValue()
Value of operator in condition
public ConditionValueType getValueType()
Type of value in condition
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.