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 BooleancheckAgainstDictionaryprotected List<CheckExpressionType>checkExpressionprotected StringcheckPatternstatic QNameCOMPLEX_TYPEstatic ItemNameF_CHECK_AGAINST_DICTIONARYstatic ItemNameF_CHECK_EXPRESSIONstatic ItemNameF_CHECK_PATTERNstatic ItemNameF_LIMITstatic ItemNameF_MAX_ATTEMPTSstatic ItemNameF_MAX_LENGTHstatic ItemNameF_MIN_LENGTHstatic ItemNameF_MIN_UNIQUE_CHARSprotected List<StringLimitType>limitprotected IntegermaxAttemptsprotected IntegermaxLengthprotected IntegerminLengthprotected IntegerminUniqueChars
-
Constructor Summary
Constructors Constructor Description LimitationsType()Creates a newLimitationsTypeinstance.LimitationsType(LimitationsType o)Creates a newLimitationsTypeinstance by deeply copying a givenLimitationsTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)CheckExpressionTypebeginCheckExpression()StringLimitTypebeginLimit()LimitationsTypecheckAgainstDictionary(Boolean value)LimitationsTypecheckExpression(CheckExpressionType value)LimitationsTypecheckPattern(String value)LimitationsTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(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.StringgetCheckPattern()Gets the value of the checkPattern property.List<StringLimitType>getLimit()Gets the value of the limit property.IntegergetMaxAttempts()Gets the value of the maxAttempts property.IntegergetMaxLength()Gets the value of the maxLength property.IntegergetMinLength()Gets the value of the minLength property.IntegergetMinUniqueChars()Gets the value of the minUniqueChars property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisCheckAgainstDictionary()Gets the value of the checkAgainstDictionary property.LimitationsTypelimit(StringLimitType value)LimitationsTypemaxAttempts(Integer value)LimitationsTypemaxLength(Integer value)LimitationsTypeminLength(Integer value)LimitationsTypeminUniqueChars(Integer value)voidsetCheckAgainstDictionary(Boolean value)Sets the value of the checkAgainstDictionary property.voidsetCheckPattern(String value)Sets the value of the checkPattern property.voidsetMaxAttempts(Integer value)Sets the value of the maxAttempts property.voidsetMaxLength(Integer value)Sets the value of the maxLength property.voidsetMinLength(Integer value)Sets the value of the minLength property.voidsetMinUniqueChars(Integer value)Sets the value of the minUniqueChars property.StringtoString()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 newLimitationsTypeinstance.
-
LimitationsType
public LimitationsType(LimitationsType o)
Creates a newLimitationsTypeinstance by deeply copying a givenLimitationsTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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
setmethod 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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public LimitationsType clone()
Creates and returns a deep copy of this object.
-
-