Class StringAttributeConstraintsType

    • Constructor Detail

      • StringAttributeConstraintsType

        public StringAttributeConstraintsType()
    • Method Detail

      • setMinLength

        public void setMinLength​(String minLength)

        The minimum length of an attribute value of the string type.

        Parameters:
        minLength - The minimum length of an attribute value of the string type.
      • getMinLength

        public String getMinLength()

        The minimum length of an attribute value of the string type.

        Returns:
        The minimum length of an attribute value of the string type.
      • withMinLength

        public StringAttributeConstraintsType withMinLength​(String minLength)

        The minimum length of an attribute value of the string type.

        Parameters:
        minLength - The minimum length of an attribute value of the string type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxLength

        public void setMaxLength​(String maxLength)

        The maximum length of an attribute value of the string type.

        Parameters:
        maxLength - The maximum length of an attribute value of the string type.
      • getMaxLength

        public String getMaxLength()

        The maximum length of an attribute value of the string type.

        Returns:
        The maximum length of an attribute value of the string type.
      • withMaxLength

        public StringAttributeConstraintsType withMaxLength​(String maxLength)

        The maximum length of an attribute value of the string type.

        Parameters:
        maxLength - The maximum length of an attribute value of the string type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object