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 CharacterClassType
characterClass
static QName
COMPLEX_TYPE
protected String
description
protected String
documentation
static ItemName
F_CHARACTER_CLASS
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_MAX_OCCURS
static ItemName
F_MIN_OCCURS
static ItemName
F_MUST_BE_FIRST
static ItemName
F_NAME
protected Integer
maxOccurs
protected Integer
minOccurs
protected Boolean
mustBeFirst
protected PolyStringType
name
-
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()
PolyStringType
beginName()
StringLimitType
characterClass(CharacterClassType value)
StringLimitType
clone()
Creates and returns a deep copy of this object.StringLimitType
description(String value)
StringLimitType
documentation(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.String
getDocumentation()
Gets the value of the documentation property.Integer
getMaxOccurs()
Gets the value of the maxOccurs property.Integer
getMinOccurs()
Gets the value of the minOccurs property.PolyStringType
getName()
Gets the value of the name 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)
StringLimitType
name(PolyStringType value)
StringLimitType
name(String value)
void
setCharacterClass(CharacterClassType value)
Sets the value of the characterClass property.void
setDescription(String value)
Sets the value of the description property.void
setDocumentation(String value)
Sets the value of the documentation 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.void
setName(PolyStringType value)
Sets the value of the name property.String
toString()
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 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
-
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:
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
-
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:
accept
in interfaceJaxbVisitable
-
clone
public StringLimitType clone()
Creates and returns a deep copy of this object.
-
-