public class PropertyCondition extends Object implements Serializable
| Constructor and Description |
|---|
PropertyCondition()
Typical constructor
|
PropertyCondition(PropertyCondition templateProperties)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
SearchProperties |
getNestedConditions()
Retrieve any nested conditions.
|
PropertyComparisonOperator |
getOperator()
Retrieve the operator to use for the comparison.
|
String |
getProperty()
Retrieve the name of the property being compared.
|
InstancePropertyValue |
getValue()
Retrieve the value of the property against which to compare.
|
int |
hashCode()
Return a hash code based on the property values
|
void |
setNestedConditions(SearchProperties nestedConditions)
Set any nested conditions.
|
void |
setOperator(PropertyComparisonOperator operator)
Set the operator to use for the comparison.
|
void |
setProperty(String property)
Set the name of the property to compare.
|
void |
setValue(InstancePropertyValue value)
Set the value of the property against which to compare.
|
String |
toString()
Standard toString method.
|
public PropertyCondition()
public PropertyCondition(PropertyCondition templateProperties)
templateProperties - template object to copy.public String getProperty()
public void setProperty(String property)
property - name of the property to comparepublic PropertyComparisonOperator getOperator()
public void setOperator(PropertyComparisonOperator operator)
operator - to use for the comparisonpublic InstancePropertyValue getValue()
public void setValue(InstancePropertyValue value)
value - against which to comparepublic SearchProperties getNestedConditions()
public void setNestedConditions(SearchProperties nestedConditions)
nestedConditions - conditions to nestpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.