com.evolveum.midpoint.xml.ns._public.common.common_2a
Class LimitationsType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.LimitationsType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class LimitationsType
extends Object
implements Serializable, Cloneable, 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="limit" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}StringLimitType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Boolean checkAgainstDictionary
           
protected  String checkPattern
           
static QName COMPLEX_TYPE
           
static QName F_CHECK_AGAINST_DICTIONARY
           
static QName F_CHECK_PATTERN
           
static QName F_LIMIT
           
static QName F_MAX_LENGTH
           
static QName F_MIN_LENGTH
           
static QName F_MIN_UNIQUE_CHARS
           
protected  List<StringLimitType> limit
           
protected  Integer maxLength
           
protected  Integer minLength
           
protected  Integer minUniqueChars
           
 
Constructor Summary
LimitationsType()
          Creates a new LimitationsType instance.
LimitationsType(LimitationsType o)
          Creates a new LimitationsType instance by deeply copying a given LimitationsType instance.
 
Method Summary
 LimitationsType clone()
          Creates and returns a deep copy of this object.
 boolean equals(Object object)
           
 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)
           
 String getCheckPattern()
          Gets the value of the checkPattern property.
 List<StringLimitType> getLimit()
          Gets the value of the limit property.
 Integer getMaxLength()
          Gets the value of the maxLength property.
 Integer getMinLength()
          Gets the value of the minLength property.
 Integer getMinUniqueChars()
          Gets the value of the minUniqueChars property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isCheckAgainstDictionary()
          Gets the value of the checkAgainstDictionary property.
 void setCheckAgainstDictionary(Boolean value)
          Sets the value of the checkAgainstDictionary property.
 void setCheckPattern(String value)
          Sets the value of the checkPattern property.
 void setMaxLength(Integer value)
          Sets the value of the maxLength property.
 void setMinLength(Integer value)
          Sets the value of the minLength property.
 void setMinUniqueChars(Integer value)
          Sets the value of the minUniqueChars property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

minLength

protected Integer minLength

maxLength

protected Integer maxLength

minUniqueChars

protected Integer minUniqueChars

checkAgainstDictionary

protected Boolean checkAgainstDictionary

checkPattern

protected String checkPattern

limit

protected List<StringLimitType> limit

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_MIN_LENGTH

public static final QName F_MIN_LENGTH

F_MAX_LENGTH

public static final QName F_MAX_LENGTH

F_MIN_UNIQUE_CHARS

public static final QName F_MIN_UNIQUE_CHARS

F_CHECK_AGAINST_DICTIONARY

public static final QName F_CHECK_AGAINST_DICTIONARY

F_CHECK_PATTERN

public static final QName F_CHECK_PATTERN

F_LIMIT

public static final QName 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

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

equals

public boolean equals(Object object)
Overrides:
equals in class Object

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.


Copyright © 2013 evolveum. All Rights Reserved.