public class StringAttributeConstraintsType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The type of constraints associated with an attribute of the string type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
maxLength
The maximum length of an attribute value of the string type.
|
private java.lang.String |
minLength
The minimum length of an attribute value of the string type.
|
Constructor and Description |
---|
StringAttributeConstraintsType() |
Modifier and Type | Method and Description |
---|---|
StringAttributeConstraintsType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMaxLength()
The maximum length of an attribute value of the string type.
|
java.lang.String |
getMinLength()
The minimum length of an attribute value of the string type.
|
int |
hashCode() |
void |
setMaxLength(java.lang.String maxLength)
The maximum length of an attribute value of the string type.
|
void |
setMinLength(java.lang.String minLength)
The minimum length of an attribute value of the string type.
|
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 of an attribute value of the string type.
|
StringAttributeConstraintsType |
withMinLength(java.lang.String minLength)
The minimum length of an attribute value of the string type.
|
private java.lang.String minLength
The minimum length of an attribute value of the string type.
private java.lang.String maxLength
The maximum length of an attribute value of the string type.
public void setMinLength(java.lang.String minLength)
The minimum length of an attribute value of the string type.
minLength
- The minimum length of an attribute value of the string type.public java.lang.String getMinLength()
The minimum length of an attribute value of the string type.
public StringAttributeConstraintsType withMinLength(java.lang.String minLength)
The minimum length of an attribute value of the string type.
minLength
- The minimum length of an attribute value of the string type.public void setMaxLength(java.lang.String maxLength)
The maximum length of an attribute value of the string type.
maxLength
- The maximum length of an attribute value of the string type.public java.lang.String getMaxLength()
The maximum length of an attribute value of the string type.
public StringAttributeConstraintsType withMaxLength(java.lang.String maxLength)
The maximum length of an attribute value of the string type.
maxLength
- The maximum length of an attribute value of the string type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StringAttributeConstraintsType clone()
clone
in class java.lang.Object