public class StringAttributeConstraintsType extends Object implements Serializable
The constraints associated with a string attribute.
| Constructor and Description |
|---|
StringAttributeConstraintsType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMaxLength()
The maximum length.
|
String |
getMinLength()
The minimum length.
|
int |
hashCode() |
void |
setMaxLength(String maxLength)
The maximum length.
|
void |
setMinLength(String minLength)
The minimum length.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StringAttributeConstraintsType |
withMaxLength(String maxLength)
The maximum length.
|
StringAttributeConstraintsType |
withMinLength(String minLength)
The minimum length.
|
public String getMinLength()
The minimum length.
The minimum length.
public void setMinLength(String minLength)
The minimum length.
minLength - The minimum length.
public StringAttributeConstraintsType withMinLength(String minLength)
The minimum length.
Returns a reference to this object so that method calls can be chained together.
minLength - The minimum length.
public String getMaxLength()
The maximum length.
The maximum length.
public void setMaxLength(String maxLength)
The maximum length.
maxLength - The maximum length.
public StringAttributeConstraintsType withMaxLength(String maxLength)
The maximum length.
Returns a reference to this object so that method calls can be chained together.
maxLength - The maximum length.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.