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:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class NumericWorkSegmentationType extends AbstractWorkSegmentationType implements Serializable, Cloneable, Containerable
Segmentation 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 static QName
COMPLEX_TYPE
static ItemName
F_BUCKET_SIZE
static ItemName
F_FROM
static ItemName
F_TO
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
F_DISCRIMINATOR, F_MATCHING_RULE, F_NUMBER_OF_BUCKETS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description NumericWorkSegmentationType()
NumericWorkSegmentationType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ItemPathType
beginDiscriminator()
NumericWorkSegmentationType
bucketSize(BigInteger value)
NumericWorkSegmentationType
clone()
NumericWorkSegmentationType
discriminator(ItemPathType value)
<X> X
end()
boolean
equals(Object object)
NumericWorkSegmentationType
from(BigInteger value)
BigInteger
getBucketSize()
BigInteger
getFrom()
BigInteger
getTo()
int
hashCode()
NumericWorkSegmentationType
id(Long value)
NumericWorkSegmentationType
matchingRule(String value)
NumericWorkSegmentationType
numberOfBuckets(Integer value)
void
setBucketSize(BigInteger value)
void
setFrom(BigInteger value)
void
setTo(BigInteger value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.NumericWorkSegmentationType
to(BigInteger value)
String
toString()
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
getDiscriminator, getId, getMatchingRule, getNumberOfBuckets, setDiscriminator, setId, setMatchingRule, setNumberOfBuckets
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
NumericWorkSegmentationType
public NumericWorkSegmentationType()
-
NumericWorkSegmentationType
public NumericWorkSegmentationType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractWorkSegmentationType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classAbstractWorkSegmentationType
-
toString
public String toString()
- Overrides:
toString
in classAbstractWorkSegmentationType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractWorkSegmentationType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractWorkSegmentationType
-
end
public <X> X end()
- Overrides:
end
in classAbstractWorkSegmentationType
-
getFrom
public BigInteger getFrom()
-
setFrom
public void setFrom(BigInteger value)
-
getTo
public BigInteger getTo()
-
setTo
public void setTo(BigInteger value)
-
getBucketSize
public BigInteger getBucketSize()
-
setBucketSize
public void setBucketSize(BigInteger value)
-
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
-
id
public NumericWorkSegmentationType id(Long value)
- Overrides:
id
in classAbstractWorkSegmentationType
-
clone
public NumericWorkSegmentationType clone()
- Overrides:
clone
in classAbstractWorkSegmentationType
-
-