Class AbstractWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ExplicitWorkSegmentationType
,ImplicitWorkSegmentationType
,NumericWorkSegmentationType
,StringWorkSegmentationType
public class AbstractWorkSegmentationType extends Object implements Serializable, Cloneable, Containerable
Describes how to segment the work into buckets and manage them.Java class for AbstractWorkSegmentationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractWorkSegmentationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="discriminator" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemPathType" minOccurs="0"/> <element name="matchingRule" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="numberOfBuckets" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DISCRIMINATOR
static ItemName
F_MATCHING_RULE
static ItemName
F_NUMBER_OF_BUCKETS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkSegmentationType()
AbstractWorkSegmentationType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ItemPathType
beginDiscriminator()
AbstractWorkSegmentationType
clone()
AbstractWorkSegmentationType
discriminator(ItemPathType value)
<X> X
end()
boolean
equals(Object object)
ItemPathType
getDiscriminator()
Long
getId()
String
getMatchingRule()
Integer
getNumberOfBuckets()
int
hashCode()
AbstractWorkSegmentationType
id(Long value)
AbstractWorkSegmentationType
matchingRule(String value)
AbstractWorkSegmentationType
numberOfBuckets(Integer value)
void
setDiscriminator(ItemPathType value)
void
setId(Long value)
void
setMatchingRule(String value)
void
setNumberOfBuckets(Integer value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
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
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
AbstractWorkSegmentationType
public AbstractWorkSegmentationType()
-
AbstractWorkSegmentationType
public AbstractWorkSegmentationType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getDiscriminator
public ItemPathType getDiscriminator()
-
setDiscriminator
public void setDiscriminator(ItemPathType value)
-
getMatchingRule
public String getMatchingRule()
-
setMatchingRule
public void setMatchingRule(String value)
-
getNumberOfBuckets
public Integer getNumberOfBuckets()
-
setNumberOfBuckets
public void setNumberOfBuckets(Integer value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
discriminator
public AbstractWorkSegmentationType discriminator(ItemPathType value)
-
beginDiscriminator
public ItemPathType beginDiscriminator()
-
matchingRule
public AbstractWorkSegmentationType matchingRule(String value)
-
numberOfBuckets
public AbstractWorkSegmentationType numberOfBuckets(Integer value)
-
id
public AbstractWorkSegmentationType id(Long value)
-
clone
public AbstractWorkSegmentationType clone()
-
-