public class StringAttributeConstraintsType
extends java.lang.Object
implements java.io.Serializable
The constraints associated with a string attribute.
| Constructor and Description |
|---|
StringAttributeConstraintsType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMaxLength()
The maximum length.
|
java.lang.String |
getMinLength()
The minimum length.
|
int |
hashCode() |
void |
setMaxLength(java.lang.String maxLength)
The maximum length.
|
void |
setMinLength(java.lang.String minLength)
The minimum length.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StringAttributeConstraintsType |
withMaxLength(java.lang.String maxLength)
The maximum length.
|
StringAttributeConstraintsType |
withMinLength(java.lang.String minLength)
The minimum length.
|
public java.lang.String getMinLength()
The minimum length.
Constraints:
Length: 0 - 131072
The minimum length.
public void setMinLength(java.lang.String minLength)
The minimum length.
Constraints:
Length: 0 - 131072
minLength - The minimum length.
public StringAttributeConstraintsType withMinLength(java.lang.String minLength)
The minimum length.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
minLength - The minimum length.
public java.lang.String getMaxLength()
The maximum length.
Constraints:
Length: 0 - 131072
The maximum length.
public void setMaxLength(java.lang.String maxLength)
The maximum length.
Constraints:
Length: 0 - 131072
maxLength - The maximum length.
public StringAttributeConstraintsType withMaxLength(java.lang.String maxLength)
The maximum length.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
maxLength - The maximum length.
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