Class LimitationsType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class LimitationsType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Definition of complexity and string policy

    Java class for LimitationsType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="LimitationsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="minLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="minUniqueChars" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="checkAgainstDictionary" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
             <element name="checkPattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="checkExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CheckExpressionType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="maxAttempts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="limit" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StringLimitType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • minLength

        protected Integer minLength
      • maxLength

        protected Integer maxLength
      • minUniqueChars

        protected Integer minUniqueChars
      • checkAgainstDictionary

        protected Boolean checkAgainstDictionary
      • checkPattern

        protected String checkPattern
      • maxAttempts

        protected Integer maxAttempts
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_MIN_LENGTH

        public static final ItemName F_MIN_LENGTH
      • F_MAX_LENGTH

        public static final ItemName F_MAX_LENGTH
      • F_MIN_UNIQUE_CHARS

        public static final ItemName F_MIN_UNIQUE_CHARS
      • F_CHECK_AGAINST_DICTIONARY

        public static final ItemName F_CHECK_AGAINST_DICTIONARY
      • F_CHECK_PATTERN

        public static final ItemName F_CHECK_PATTERN
      • F_CHECK_EXPRESSION

        public static final ItemName F_CHECK_EXPRESSION
      • F_MAX_ATTEMPTS

        public static final ItemName F_MAX_ATTEMPTS
      • F_LIMIT

        public static final ItemName F_LIMIT
    • Constructor Detail

      • LimitationsType

        public LimitationsType()
        Creates a new LimitationsType instance.
      • LimitationsType

        public LimitationsType​(LimitationsType o)
        Creates a new LimitationsType instance by deeply copying a given LimitationsType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • Method Detail

      • getMinLength

        public Integer getMinLength()
        Gets the value of the minLength property.
        Returns:
        possible object is Integer
      • setMinLength

        public void setMinLength​(Integer value)
        Sets the value of the minLength property.
        Parameters:
        value - allowed object is Integer
      • getMaxLength

        public Integer getMaxLength()
        Gets the value of the maxLength property.
        Returns:
        possible object is Integer
      • setMaxLength

        public void setMaxLength​(Integer value)
        Sets the value of the maxLength property.
        Parameters:
        value - allowed object is Integer
      • getMinUniqueChars

        public Integer getMinUniqueChars()
        Gets the value of the minUniqueChars property.
        Returns:
        possible object is Integer
      • setMinUniqueChars

        public void setMinUniqueChars​(Integer value)
        Sets the value of the minUniqueChars property.
        Parameters:
        value - allowed object is Integer
      • isCheckAgainstDictionary

        public Boolean isCheckAgainstDictionary()
        Gets the value of the checkAgainstDictionary property.
        Returns:
        possible object is Boolean
      • setCheckAgainstDictionary

        public void setCheckAgainstDictionary​(Boolean value)
        Sets the value of the checkAgainstDictionary property.
        Parameters:
        value - allowed object is Boolean
      • getCheckPattern

        public String getCheckPattern()
        Gets the value of the checkPattern property.
        Returns:
        possible object is String
      • setCheckPattern

        public void setCheckPattern​(String value)
        Sets the value of the checkPattern property.
        Parameters:
        value - allowed object is String
      • getCheckExpression

        public List<CheckExpressionType> getCheckExpression()
        Gets the value of the checkExpression property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the checkExpression property.

        For example, to add a new item, do as follows:

            getCheckExpression().add(newItem);
         

        Objects of the following type(s) are allowed in the list CheckExpressionType

      • getMaxAttempts

        public Integer getMaxAttempts()
        Gets the value of the maxAttempts property.
        Returns:
        possible object is Integer
      • setMaxAttempts

        public void setMaxAttempts​(Integer value)
        Sets the value of the maxAttempts property.
        Parameters:
        value - allowed object is Integer
      • getLimit

        public List<StringLimitType> getLimit()
        Gets the value of the limit property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the limit property.

        For example, to add a new item, do as follows:

            getLimit().add(newItem);
         

        Objects of the following type(s) are allowed in the list StringLimitType

      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals
      • clone

        public LimitationsType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.