public class StringAttributeConstraintsType extends Object implements Serializable, Cloneable
The type of constraints associated with an attribute of the string type.
Constructor and Description |
---|
StringAttributeConstraintsType() |
Modifier and Type | Method and Description |
---|---|
StringAttributeConstraintsType |
clone() |
boolean |
equals(Object obj) |
String |
getMaxLength()
The maximum length of an attribute value of the string type.
|
String |
getMinLength()
The minimum length of an attribute value of the string type.
|
int |
hashCode() |
void |
setMaxLength(String maxLength)
The maximum length of an attribute value of the string type.
|
void |
setMinLength(String minLength)
The minimum length of an attribute value of the string type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StringAttributeConstraintsType |
withMaxLength(String maxLength)
The maximum length of an attribute value of the string type.
|
StringAttributeConstraintsType |
withMinLength(String minLength)
The minimum length of an attribute value of the string type.
|
public void setMinLength(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 String getMinLength()
The minimum length of an attribute value of the string type.
public StringAttributeConstraintsType withMinLength(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(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 String getMaxLength()
The maximum length of an attribute value of the string type.
public StringAttributeConstraintsType withMaxLength(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 String toString()
toString
in class Object
Object.toString()
public StringAttributeConstraintsType clone()
Copyright © 2018. All rights reserved.