Class StringWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.StringWorkSegmentationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
OidWorkSegmentationType
public class StringWorkSegmentationType extends AbstractWorkSegmentationType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Work state management strategy that divides the processing space (represented by a set of string values) into a number of work buckets; either based on intervals, prefixes or exact value matching.Java class for StringWorkSegmentationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StringWorkSegmentationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkSegmentationType"> <sequence> <element name="boundaryCharacters" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="depth" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="comparisonMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StringWorkBucketsBoundaryMarkingType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
boundaryCharacters
protected StringWorkBucketsBoundaryMarkingType
comparisonMethod
static QName
COMPLEX_TYPE
protected Integer
depth
static ItemName
F_BOUNDARY_CHARACTERS
static ItemName
F_COMPARISON_METHOD
static ItemName
F_DEPTH
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
discriminator, F_DISCRIMINATOR, F_MATCHING_RULE, F_NUMBER_OF_BUCKETS, matchingRule, numberOfBuckets
-
-
Constructor Summary
Constructors Constructor Description StringWorkSegmentationType()
Creates a newStringWorkSegmentationType
instance.StringWorkSegmentationType(StringWorkSegmentationType o)
Creates a newStringWorkSegmentationType
instance by deeply copying a givenStringWorkSegmentationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ItemPathType
beginDiscriminator()
StringWorkSegmentationType
boundaryCharacters(String value)
StringWorkSegmentationType
clone()
Creates and returns a deep copy of this object.StringWorkSegmentationType
comparisonMethod(StringWorkBucketsBoundaryMarkingType value)
StringWorkSegmentationType
depth(Integer value)
StringWorkSegmentationType
discriminator(ItemPathType 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)
List<String>
getBoundaryCharacters()
Gets the value of the boundaryCharacters property.StringWorkBucketsBoundaryMarkingType
getComparisonMethod()
Gets the value of the comparisonMethod property.Integer
getDepth()
Gets the value of the depth property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
StringWorkSegmentationType
matchingRule(String value)
StringWorkSegmentationType
numberOfBuckets(Integer value)
void
setComparisonMethod(StringWorkBucketsBoundaryMarkingType value)
Sets the value of the comparisonMethod property.void
setDepth(Integer value)
Sets the value of the depth property.String
toString()
Generates a String representation of the contents of this type.-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
getDiscriminator, getMatchingRule, getNumberOfBuckets, setDiscriminator, setMatchingRule, setNumberOfBuckets
-
-
-
-
Field Detail
-
depth
protected Integer depth
-
comparisonMethod
protected StringWorkBucketsBoundaryMarkingType comparisonMethod
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_BOUNDARY_CHARACTERS
public static final ItemName F_BOUNDARY_CHARACTERS
-
F_DEPTH
public static final ItemName F_DEPTH
-
F_COMPARISON_METHOD
public static final ItemName F_COMPARISON_METHOD
-
-
Constructor Detail
-
StringWorkSegmentationType
public StringWorkSegmentationType()
Creates a newStringWorkSegmentationType
instance.
-
StringWorkSegmentationType
public StringWorkSegmentationType(StringWorkSegmentationType o)
Creates a newStringWorkSegmentationType
instance by deeply copying a givenStringWorkSegmentationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getBoundaryCharacters
public List<String> getBoundaryCharacters()
Gets the value of the boundaryCharacters 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
set
method for the boundaryCharacters property.For example, to add a new item, do as follows:
getBoundaryCharacters().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getDepth
public Integer getDepth()
Gets the value of the depth property.- Returns:
- possible object is
Integer
-
setDepth
public void setDepth(Integer value)
Sets the value of the depth property.- Parameters:
value
- allowed object isInteger
-
getComparisonMethod
public StringWorkBucketsBoundaryMarkingType getComparisonMethod()
Gets the value of the comparisonMethod property.- Returns:
- possible object is
StringWorkBucketsBoundaryMarkingType
-
setComparisonMethod
public void setComparisonMethod(StringWorkBucketsBoundaryMarkingType value)
Sets the value of the comparisonMethod property.- Parameters:
value
- allowed object isStringWorkBucketsBoundaryMarkingType
-
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- Overrides:
toString
in classAbstractWorkSegmentationType
-
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
- Overrides:
hashCode
in classAbstractWorkSegmentationType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractWorkSegmentationType
-
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
- Overrides:
equals
in classAbstractWorkSegmentationType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractWorkSegmentationType
-
boundaryCharacters
public StringWorkSegmentationType boundaryCharacters(String value)
-
depth
public StringWorkSegmentationType depth(Integer value)
-
comparisonMethod
public StringWorkSegmentationType comparisonMethod(StringWorkBucketsBoundaryMarkingType value)
-
discriminator
public StringWorkSegmentationType discriminator(ItemPathType value)
- Overrides:
discriminator
in classAbstractWorkSegmentationType
-
beginDiscriminator
public ItemPathType beginDiscriminator()
- Overrides:
beginDiscriminator
in classAbstractWorkSegmentationType
-
matchingRule
public StringWorkSegmentationType matchingRule(String value)
- Overrides:
matchingRule
in classAbstractWorkSegmentationType
-
numberOfBuckets
public StringWorkSegmentationType numberOfBuckets(Integer value)
- Overrides:
numberOfBuckets
in classAbstractWorkSegmentationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classAbstractWorkSegmentationType
-
clone
public StringWorkSegmentationType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classAbstractWorkSegmentationType
- Returns:
- A deep copy of this object.
-
-