public class StringReference
extends java.lang.Object
implements java.io.Serializable
Information about a reference when the referenceType is
STRING. Otherwise, null.
| Constructor and Description |
|---|
StringReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Identifier of the string reference.
|
java.lang.String |
getValue()
A valid string.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Identifier of the string reference.
|
void |
setValue(java.lang.String value)
A valid string.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StringReference |
withName(java.lang.String name)
Identifier of the string reference.
|
StringReference |
withValue(java.lang.String value)
A valid string.
|
public java.lang.String getName()
Identifier of the string reference.
Constraints:
Length: 1 - 4096
Identifier of the string reference.
public void setName(java.lang.String name)
Identifier of the string reference.
Constraints:
Length: 1 - 4096
name - Identifier of the string reference.
public StringReference withName(java.lang.String name)
Identifier of the string reference.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 4096
name - Identifier of the string reference.
public java.lang.String getValue()
A valid string.
Constraints:
Length: 0 - 4096
A valid string.
public void setValue(java.lang.String value)
A valid string.
Constraints:
Length: 0 - 4096
value - A valid string.
public StringReference withValue(java.lang.String value)
A valid string.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
value - A valid string.
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