public class TagKeyOnly extends Object implements Serializable
The key of a tag.
| Constructor and Description |
|---|
TagKeyOnly() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKey()
The name of the key.
|
int |
hashCode() |
void |
setKey(String key)
The name of the key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagKeyOnly |
withKey(String key)
The name of the key.
|
public String getKey()
The name of the key.
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
The name of the key.
public void setKey(String key)
The name of the key.
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
key - The name of the key.
public TagKeyOnly withKey(String key)
The name of the key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
key - The name of the key.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.