Class StringLimitType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.StringLimitType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class StringLimitType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Definition of valid single string limitationJava class for StringLimitType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StringLimitType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="minOccurs" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="maxOccurs" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="mustBeFirst" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="characterClass" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CharacterClassType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CharacterClassType
characterClass
static QName
COMPLEX_TYPE
protected String
description
static ItemName
F_CHARACTER_CLASS
static ItemName
F_DESCRIPTION
static ItemName
F_MAX_OCCURS
static ItemName
F_MIN_OCCURS
static ItemName
F_MUST_BE_FIRST
protected Integer
maxOccurs
protected Integer
minOccurs
protected Boolean
mustBeFirst
-
Constructor Summary
Constructors Constructor Description StringLimitType()
Creates a newStringLimitType
instance.StringLimitType(StringLimitType o)
Creates a newStringLimitType
instance by deeply copying a givenStringLimitType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
CharacterClassType
beginCharacterClass()
StringLimitType
characterClass(CharacterClassType value)
StringLimitType
clone()
Creates and returns a deep copy of this object.StringLimitType
description(String value)
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)
CharacterClassType
getCharacterClass()
Gets the value of the characterClass property.String
getDescription()
Gets the value of the description property.Integer
getMaxOccurs()
Gets the value of the maxOccurs property.Integer
getMinOccurs()
Gets the value of the minOccurs property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Boolean
isMustBeFirst()
Gets the value of the mustBeFirst property.StringLimitType
maxOccurs(Integer value)
StringLimitType
minOccurs(Integer value)
StringLimitType
mustBeFirst(Boolean value)
void
setCharacterClass(CharacterClassType value)
Sets the value of the characterClass property.void
setDescription(String value)
Sets the value of the description property.void
setMaxOccurs(Integer value)
Sets the value of the maxOccurs property.void
setMinOccurs(Integer value)
Sets the value of the minOccurs property.void
setMustBeFirst(Boolean value)
Sets the value of the mustBeFirst property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
description
protected String description
-
minOccurs
protected Integer minOccurs
-
maxOccurs
protected Integer maxOccurs
-
mustBeFirst
protected Boolean mustBeFirst
-
characterClass
protected CharacterClassType characterClass
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_MIN_OCCURS
public static final ItemName F_MIN_OCCURS
-
F_MAX_OCCURS
public static final ItemName F_MAX_OCCURS
-
F_MUST_BE_FIRST
public static final ItemName F_MUST_BE_FIRST
-
F_CHARACTER_CLASS
public static final ItemName F_CHARACTER_CLASS
-
-
Constructor Detail
-
StringLimitType
public StringLimitType()
Creates a newStringLimitType
instance.
-
StringLimitType
public StringLimitType(StringLimitType o)
Creates a newStringLimitType
instance by deeply copying a givenStringLimitType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getMinOccurs
public Integer getMinOccurs()
Gets the value of the minOccurs property.- Returns:
- possible object is
Integer
-
setMinOccurs
public void setMinOccurs(Integer value)
Sets the value of the minOccurs property.- Parameters:
value
- allowed object isInteger
-
getMaxOccurs
public Integer getMaxOccurs()
Gets the value of the maxOccurs property.- Returns:
- possible object is
Integer
-
setMaxOccurs
public void setMaxOccurs(Integer value)
Sets the value of the maxOccurs property.- Parameters:
value
- allowed object isInteger
-
isMustBeFirst
public Boolean isMustBeFirst()
Gets the value of the mustBeFirst property.- Returns:
- possible object is
Boolean
-
setMustBeFirst
public void setMustBeFirst(Boolean value)
Sets the value of the mustBeFirst property.- Parameters:
value
- allowed object isBoolean
-
getCharacterClass
public CharacterClassType getCharacterClass()
Gets the value of the characterClass property.- Returns:
- possible object is
CharacterClassType
-
setCharacterClass
public void setCharacterClass(CharacterClassType value)
Sets the value of the characterClass property.- Parameters:
value
- allowed object isCharacterClassType
-
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
-
description
public StringLimitType description(String value)
-
minOccurs
public StringLimitType minOccurs(Integer value)
-
maxOccurs
public StringLimitType maxOccurs(Integer value)
-
mustBeFirst
public StringLimitType mustBeFirst(Boolean value)
-
characterClass
public StringLimitType characterClass(CharacterClassType value)
-
beginCharacterClass
public CharacterClassType beginCharacterClass()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public StringLimitType clone()
Creates and returns a deep copy of this object.
-
-