public class TagCondition
extends java.lang.Object
implements java.io.Serializable
A leaf node condition which can be used to specify a tag condition, for
example, HAVE BPO = 123.
| Constructor and Description |
|---|
TagCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTagKey()
The tag key in the tag condition.
|
java.lang.String |
getTagValue()
The tag value in the tag condition.
|
int |
hashCode() |
void |
setTagKey(java.lang.String tagKey)
The tag key in the tag condition.
|
void |
setTagValue(java.lang.String tagValue)
The tag value in the tag condition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagCondition |
withTagKey(java.lang.String tagKey)
The tag key in the tag condition.
|
TagCondition |
withTagValue(java.lang.String tagValue)
The tag value in the tag condition.
|
public java.lang.String getTagKey()
The tag key in the tag condition.
The tag key in the tag condition.
public void setTagKey(java.lang.String tagKey)
The tag key in the tag condition.
tagKey - The tag key in the tag condition.
public TagCondition withTagKey(java.lang.String tagKey)
The tag key in the tag condition.
Returns a reference to this object so that method calls can be chained together.
tagKey - The tag key in the tag condition.
public java.lang.String getTagValue()
The tag value in the tag condition.
The tag value in the tag condition.
public void setTagValue(java.lang.String tagValue)
The tag value in the tag condition.
tagValue - The tag value in the tag condition.
public TagCondition withTagValue(java.lang.String tagValue)
The tag value in the tag condition.
Returns a reference to this object so that method calls can be chained together.
tagValue - The tag value in the tag condition.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object