public class LimitationsType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and 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 and Description |
---|
LimitationsType()
Creates a new
LimitationsType instance. |
LimitationsType(LimitationsType o)
Creates a new
LimitationsType instance by deeply copying a given LimitationsType instance. |
Modifier and Type | Method and 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.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected Integer minLength
protected Integer maxLength
protected Integer minUniqueChars
protected Boolean checkAgainstDictionary
protected String checkPattern
protected List<CheckExpressionType> checkExpression
protected Integer maxAttempts
protected List<StringLimitType> limit
public static final QName COMPLEX_TYPE
public static final ItemName F_MIN_LENGTH
public static final ItemName F_MAX_LENGTH
public static final ItemName F_MIN_UNIQUE_CHARS
public static final ItemName F_CHECK_AGAINST_DICTIONARY
public static final ItemName F_CHECK_PATTERN
public static final ItemName F_CHECK_EXPRESSION
public static final ItemName F_MAX_ATTEMPTS
public static final ItemName F_LIMIT
public LimitationsType()
LimitationsType
instance.public LimitationsType(LimitationsType o)
LimitationsType
instance by deeply copying a given LimitationsType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public Integer getMinLength()
Integer
public void setMinLength(Integer value)
value
- allowed object is
Integer
public Integer getMaxLength()
Integer
public void setMaxLength(Integer value)
value
- allowed object is
Integer
public Integer getMinUniqueChars()
Integer
public void setMinUniqueChars(Integer value)
value
- allowed object is
Integer
public Boolean isCheckAgainstDictionary()
Boolean
public void setCheckAgainstDictionary(Boolean value)
value
- allowed object is
Boolean
public String getCheckPattern()
String
public void setCheckPattern(String value)
value
- allowed object is
String
public List<CheckExpressionType> getCheckExpression()
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
public Integer getMaxAttempts()
Integer
public void setMaxAttempts(Integer value)
value
- allowed object is
Integer
public List<StringLimitType> getLimit()
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
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public LimitationsType minLength(Integer value)
public LimitationsType maxLength(Integer value)
public LimitationsType minUniqueChars(Integer value)
public LimitationsType checkAgainstDictionary(Boolean value)
public LimitationsType checkPattern(String value)
public LimitationsType checkExpression(CheckExpressionType value)
public CheckExpressionType beginCheckExpression()
public LimitationsType maxAttempts(Integer value)
public LimitationsType limit(StringLimitType value)
public StringLimitType beginLimit()
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public LimitationsType clone()
Copyright © 2021 Evolveum. All rights reserved.