Class LimitationsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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 policyJava 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 Summary
Fields Modifier and Type Field Description protected Boolean
checkAgainstDictionary
protected List<CheckExpressionType>
checkExpression
protected String
checkPattern
static QName
COMPLEX_TYPE
static ItemName
F_CHECK_AGAINST_DICTIONARY
static ItemName
F_CHECK_EXPRESSION
static ItemName
F_CHECK_PATTERN
static ItemName
F_LIMIT
static ItemName
F_MAX_ATTEMPTS
static ItemName
F_MAX_LENGTH
static ItemName
F_MIN_LENGTH
static ItemName
F_MIN_UNIQUE_CHARS
protected List<StringLimitType>
limit
protected Integer
maxAttempts
protected Integer
maxLength
protected Integer
minLength
protected Integer
minUniqueChars
-
Constructor Summary
Constructors Constructor Description LimitationsType()
Creates a newLimitationsType
instance.LimitationsType(LimitationsType o)
Creates a newLimitationsType
instance by deeply copying a givenLimitationsType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
CheckExpressionType
beginCheckExpression()
StringLimitType
beginLimit()
LimitationsType
checkAgainstDictionary(Boolean value)
LimitationsType
checkExpression(CheckExpressionType value)
LimitationsType
checkPattern(String value)
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)
List<CheckExpressionType>
getCheckExpression()
Gets the value of the checkExpression property.String
getCheckPattern()
Gets the value of the checkPattern property.List<StringLimitType>
getLimit()
Gets the value of the limit property.Integer
getMaxAttempts()
Gets the value of the maxAttempts 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.LimitationsType
limit(StringLimitType value)
LimitationsType
maxAttempts(Integer value)
LimitationsType
maxLength(Integer value)
LimitationsType
minLength(Integer value)
LimitationsType
minUniqueChars(Integer value)
void
setCheckAgainstDictionary(Boolean value)
Sets the value of the checkAgainstDictionary property.void
setCheckPattern(String value)
Sets the value of the checkPattern property.void
setMaxAttempts(Integer value)
Sets the value of the maxAttempts 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.
-
-
-
Field Detail
-
minLength
protected Integer minLength
-
maxLength
protected Integer maxLength
-
minUniqueChars
protected Integer minUniqueChars
-
checkAgainstDictionary
protected Boolean checkAgainstDictionary
-
checkPattern
protected String checkPattern
-
checkExpression
protected List<CheckExpressionType> checkExpression
-
maxAttempts
protected Integer maxAttempts
-
limit
protected List<StringLimitType> limit
-
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 newLimitationsType
instance.
-
LimitationsType
public LimitationsType(LimitationsType o)
Creates a newLimitationsType
instance by deeply copying a givenLimitationsType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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 isInteger
-
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 isInteger
-
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 isInteger
-
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 isBoolean
-
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 isString
-
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 isInteger
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
minLength
public LimitationsType minLength(Integer value)
-
maxLength
public LimitationsType maxLength(Integer value)
-
minUniqueChars
public LimitationsType minUniqueChars(Integer value)
-
checkAgainstDictionary
public LimitationsType checkAgainstDictionary(Boolean value)
-
checkPattern
public LimitationsType checkPattern(String value)
-
checkExpression
public LimitationsType checkExpression(CheckExpressionType value)
-
beginCheckExpression
public CheckExpressionType beginCheckExpression()
-
maxAttempts
public LimitationsType maxAttempts(Integer value)
-
limit
public LimitationsType limit(StringLimitType value)
-
beginLimit
public StringLimitType beginLimit()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public LimitationsType clone()
Creates and returns a deep copy of this object.
-
-