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="name" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" 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 CharacterClassTypecharacterClassstatic QNameCOMPLEX_TYPEprotected Stringdescriptionprotected Stringdocumentationstatic ItemNameF_CHARACTER_CLASSstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_MAX_OCCURSstatic ItemNameF_MIN_OCCURSstatic ItemNameF_MUST_BE_FIRSTstatic ItemNameF_NAMEprotected IntegermaxOccursprotected IntegerminOccursprotected BooleanmustBeFirstprotected PolyStringTypename
-
Constructor Summary
Constructors Constructor Description StringLimitType()Creates a newStringLimitTypeinstance.StringLimitType(StringLimitType o)Creates a newStringLimitTypeinstance by deeply copying a givenStringLimitTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)CharacterClassTypebeginCharacterClass()PolyStringTypebeginName()StringLimitTypecharacterClass(CharacterClassType value)StringLimitTypeclone()Creates and returns a deep copy of this object.StringLimitTypedescription(String value)StringLimitTypedocumentation(String value)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)CharacterClassTypegetCharacterClass()Gets the value of the characterClass property.StringgetDescription()Gets the value of the description property.StringgetDocumentation()Gets the value of the documentation property.IntegergetMaxOccurs()Gets the value of the maxOccurs property.IntegergetMinOccurs()Gets the value of the minOccurs property.PolyStringTypegetName()Gets the value of the name property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisMustBeFirst()Gets the value of the mustBeFirst property.StringLimitTypemaxOccurs(Integer value)StringLimitTypeminOccurs(Integer value)StringLimitTypemustBeFirst(Boolean value)StringLimitTypename(PolyStringType value)StringLimitTypename(String value)voidsetCharacterClass(CharacterClassType value)Sets the value of the characterClass property.voidsetDescription(String value)Sets the value of the description property.voidsetDocumentation(String value)Sets the value of the documentation property.voidsetMaxOccurs(Integer value)Sets the value of the maxOccurs property.voidsetMinOccurs(Integer value)Sets the value of the minOccurs property.voidsetMustBeFirst(Boolean value)Sets the value of the mustBeFirst property.voidsetName(PolyStringType value)Sets the value of the name property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
name
protected PolyStringType name
-
description
protected String description
-
documentation
protected String documentation
-
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_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
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 newStringLimitTypeinstance.
-
StringLimitType
public StringLimitType(StringLimitType o)
Creates a newStringLimitTypeinstance by deeply copying a givenStringLimitTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getName
public PolyStringType getName()
Gets the value of the name property.- Returns:
- possible object is
PolyStringType
-
setName
public void setName(PolyStringType value)
Sets the value of the name property.- Parameters:
value- allowed object isPolyStringType
-
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
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation 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:
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
-
name
public StringLimitType name(PolyStringType value)
-
name
public StringLimitType name(String value)
-
beginName
public PolyStringType beginName()
-
description
public StringLimitType description(String value)
-
documentation
public StringLimitType documentation(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:
acceptin interfaceJaxbVisitable
-
clone
public StringLimitType clone()
Creates and returns a deep copy of this object.
-
-