Class NumericWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NumericWorkSegmentationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class NumericWorkSegmentationType 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 an interval of numeric values) into a number of work buckets. Each bucket itself is defined as an interval of values.Java class for NumericWorkSegmentationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NumericWorkSegmentationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkSegmentationType"> <sequence> <element name="from" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="to" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="bucketSize" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigInteger
bucketSize
static QName
COMPLEX_TYPE
static ItemName
F_BUCKET_SIZE
static ItemName
F_FROM
static ItemName
F_TO
protected BigInteger
from
protected BigInteger
to
-
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 NumericWorkSegmentationType()
Creates a newNumericWorkSegmentationType
instance.NumericWorkSegmentationType(NumericWorkSegmentationType o)
Creates a newNumericWorkSegmentationType
instance by deeply copying a givenNumericWorkSegmentationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ItemPathType
beginDiscriminator()
NumericWorkSegmentationType
bucketSize(BigInteger value)
NumericWorkSegmentationType
clone()
Creates and returns a deep copy of this object.NumericWorkSegmentationType
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)
NumericWorkSegmentationType
from(BigInteger value)
BigInteger
getBucketSize()
Gets the value of the bucketSize property.BigInteger
getFrom()
Gets the value of the from property.BigInteger
getTo()
Gets the value of the to property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
NumericWorkSegmentationType
matchingRule(String value)
NumericWorkSegmentationType
numberOfBuckets(Integer value)
void
setBucketSize(BigInteger value)
Sets the value of the bucketSize property.void
setFrom(BigInteger value)
Sets the value of the from property.void
setTo(BigInteger value)
Sets the value of the to property.NumericWorkSegmentationType
to(BigInteger value)
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
-
from
protected BigInteger from
-
to
protected BigInteger to
-
bucketSize
protected BigInteger bucketSize
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_FROM
public static final ItemName F_FROM
-
F_TO
public static final ItemName F_TO
-
F_BUCKET_SIZE
public static final ItemName F_BUCKET_SIZE
-
-
Constructor Detail
-
NumericWorkSegmentationType
public NumericWorkSegmentationType()
Creates a newNumericWorkSegmentationType
instance.
-
NumericWorkSegmentationType
public NumericWorkSegmentationType(NumericWorkSegmentationType o)
Creates a newNumericWorkSegmentationType
instance by deeply copying a givenNumericWorkSegmentationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getFrom
public BigInteger getFrom()
Gets the value of the from property.- Returns:
- possible object is
BigInteger
-
setFrom
public void setFrom(BigInteger value)
Sets the value of the from property.- Parameters:
value
- allowed object isBigInteger
-
getTo
public BigInteger getTo()
Gets the value of the to property.- Returns:
- possible object is
BigInteger
-
setTo
public void setTo(BigInteger value)
Sets the value of the to property.- Parameters:
value
- allowed object isBigInteger
-
getBucketSize
public BigInteger getBucketSize()
Gets the value of the bucketSize property.- Returns:
- possible object is
BigInteger
-
setBucketSize
public void setBucketSize(BigInteger value)
Sets the value of the bucketSize property.- Parameters:
value
- allowed object isBigInteger
-
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
-
from
public NumericWorkSegmentationType from(BigInteger value)
-
to
public NumericWorkSegmentationType to(BigInteger value)
-
bucketSize
public NumericWorkSegmentationType bucketSize(BigInteger value)
-
discriminator
public NumericWorkSegmentationType discriminator(ItemPathType value)
- Overrides:
discriminator
in classAbstractWorkSegmentationType
-
beginDiscriminator
public ItemPathType beginDiscriminator()
- Overrides:
beginDiscriminator
in classAbstractWorkSegmentationType
-
matchingRule
public NumericWorkSegmentationType matchingRule(String value)
- Overrides:
matchingRule
in classAbstractWorkSegmentationType
-
numberOfBuckets
public NumericWorkSegmentationType numberOfBuckets(Integer value)
- Overrides:
numberOfBuckets
in classAbstractWorkSegmentationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classAbstractWorkSegmentationType
-
clone
public NumericWorkSegmentationType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classAbstractWorkSegmentationType
- Returns:
- A deep copy of this object.
-
-