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:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
OidWorkSegmentationType
public class StringWorkSegmentationType extends AbstractWorkSegmentationType implements Serializable, Cloneable, Containerable
Segmentation 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="boundary" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}BoundarySpecificationType" maxOccurs="unbounded" minOccurs="0"/> <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 static QName
COMPLEX_TYPE
static ItemName
F_BOUNDARY
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
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 StringWorkSegmentationType()
StringWorkSegmentationType(PrismContext prismContext)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_BOUNDARY
public static final ItemName F_BOUNDARY
-
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()
-
StringWorkSegmentationType
public StringWorkSegmentationType(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
-
getBoundary
public List<BoundarySpecificationType> getBoundary()
-
createBoundaryList
public List<BoundarySpecificationType> createBoundaryList()
-
getDepth
public Integer getDepth()
-
setDepth
public void setDepth(Integer value)
-
getComparisonMethod
public StringWorkBucketsBoundaryMarkingType getComparisonMethod()
-
setComparisonMethod
public void setComparisonMethod(StringWorkBucketsBoundaryMarkingType value)
-
boundary
public StringWorkSegmentationType boundary(BoundarySpecificationType value)
-
beginBoundary
public BoundarySpecificationType beginBoundary()
-
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
-
id
public StringWorkSegmentationType id(Long value)
- Overrides:
id
in classAbstractWorkSegmentationType
-
clone
public StringWorkSegmentationType clone()
- Overrides:
clone
in classAbstractWorkSegmentationType
-
-