Class CharacterClassType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CharacterClassType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class CharacterClassType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Definition of valid characters in class. Default value is ASCII printable characters (Codes 0x20 to 0x7E)Java class for CharacterClassType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CharacterClassType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="characterClass" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CharacterClassType" maxOccurs="unbounded"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> </sequence> <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}QName" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}QName" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CharacterClassType>characterClassstatic QNameCOMPLEX_TYPEstatic ItemNameF_CHARACTER_CLASSstatic ItemNameF_NAMEstatic ItemNameF_REFstatic ItemNameF_VALUEprotected QNamenameprotected QNamerefprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description CharacterClassType()Creates a newCharacterClassTypeinstance.CharacterClassType(CharacterClassType o)Creates a newCharacterClassTypeinstance by deeply copying a givenCharacterClassTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)CharacterClassTypebeginCharacterClass()CharacterClassTypecharacterClass(CharacterClassType value)CharacterClassTypeclone()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<CharacterClassType>getCharacterClass()Gets the value of the characterClass property.QNamegetName()Gets the value of the name property.QNamegetRef()Gets the value of the ref property.StringgetValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)CharacterClassTypename(QName value)CharacterClassTyperef(QName value)voidsetName(QName value)Sets the value of the name property.voidsetRef(QName value)Sets the value of the ref property.voidsetValue(String value)Sets the value of the value property.StringtoString()Generates a String representation of the contents of this type.CharacterClassTypevalue(String value)
-
-
-
Field Detail
-
characterClass
protected List<CharacterClassType> characterClass
-
value
protected String value
-
ref
protected QName ref
-
name
protected QName name
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CHARACTER_CLASS
public static final ItemName F_CHARACTER_CLASS
-
F_VALUE
public static final ItemName F_VALUE
-
F_REF
public static final ItemName F_REF
-
F_NAME
public static final ItemName F_NAME
-
-
Constructor Detail
-
CharacterClassType
public CharacterClassType()
Creates a newCharacterClassTypeinstance.
-
CharacterClassType
public CharacterClassType(CharacterClassType o)
Creates a newCharacterClassTypeinstance by deeply copying a givenCharacterClassTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getCharacterClass
public List<CharacterClassType> getCharacterClass()
Gets the value of the characterClass 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 characterClass property.For example, to add a new item, do as follows:
getCharacterClass().add(newItem);Objects of the following type(s) are allowed in the list
CharacterClassType
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
setRef
public void setRef(QName value)
Sets the value of the ref property.- Parameters:
value- allowed object isQName
-
getName
public QName getName()
Gets the value of the name property.- Returns:
- possible object is
QName
-
setName
public void setName(QName value)
Sets the value of the name property.- Parameters:
value- allowed object isQName
-
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
-
characterClass
public CharacterClassType characterClass(CharacterClassType value)
-
beginCharacterClass
public CharacterClassType beginCharacterClass()
-
value
public CharacterClassType value(String value)
-
ref
public CharacterClassType ref(QName value)
-
name
public CharacterClassType name(QName value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public CharacterClassType clone()
Creates and returns a deep copy of this object.
-
-