Class NumericWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NumericWorkSegmentationType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class NumericWorkSegmentationType extends AbstractWorkSegmentationType
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
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
static Producer<NumericWorkSegmentationType>
FACTORY
-
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 context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumericWorkSegmentationType
bucketSize(BigInteger value)
NumericWorkSegmentationType
clone()
NumericWorkSegmentationType
discriminator(ItemPathType value)
<X> X
end()
boolean
equals(Object other)
NumericWorkSegmentationType
from(BigInteger value)
BigInteger
getBucketSize()
BigInteger
getFrom()
BigInteger
getTo()
NumericWorkSegmentationType
id(Long value)
NumericWorkSegmentationType
matchingRule(String value)
NumericWorkSegmentationType
numberOfBuckets(Integer value)
void
setBucketSize(BigInteger value)
void
setFrom(BigInteger value)
void
setTo(BigInteger value)
NumericWorkSegmentationType
to(BigInteger value)
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
getDiscriminator, getMatchingRule, getNumberOfBuckets, setDiscriminator, setMatchingRule, setNumberOfBuckets
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Constructor Detail
-
NumericWorkSegmentationType
public NumericWorkSegmentationType()
-
NumericWorkSegmentationType
@Deprecated public NumericWorkSegmentationType(PrismContext context)
Deprecated.
-
-
Method Detail
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classAbstractWorkSegmentationType
-
id
public NumericWorkSegmentationType id(Long value)
- Overrides:
id
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
-
matchingRule
public NumericWorkSegmentationType matchingRule(String value)
- Overrides:
matchingRule
in classAbstractWorkSegmentationType
-
numberOfBuckets
public NumericWorkSegmentationType numberOfBuckets(Integer value)
- Overrides:
numberOfBuckets
in classAbstractWorkSegmentationType
-
end
public <X> X end()
- Overrides:
end
in classAbstractWorkSegmentationType
-
clone
public NumericWorkSegmentationType clone()
- Overrides:
clone
in classAbstractWorkSegmentationType
-
-