Class ExplicitWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ExplicitWorkSegmentationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ExplicitWorkSegmentationType extends AbstractWorkSegmentationType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Work state management strategy that explicitly enumerates the buckets.Java class for ExplicitWorkSegmentationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExplicitWorkSegmentationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkSegmentationType"> <sequence> <element name="content" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractWorkBucketContentType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected List<AbstractWorkBucketContentType>
content
static ItemName
F_CONTENT
-
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 ExplicitWorkSegmentationType()
Creates a newExplicitWorkSegmentationType
instance.ExplicitWorkSegmentationType(ExplicitWorkSegmentationType o)
Creates a newExplicitWorkSegmentationType
instance by deeply copying a givenExplicitWorkSegmentationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
AbstractWorkBucketContentType
beginContent()
ItemPathType
beginDiscriminator()
ExplicitWorkSegmentationType
clone()
Creates and returns a deep copy of this object.ExplicitWorkSegmentationType
content(AbstractWorkBucketContentType value)
ExplicitWorkSegmentationType
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)
List<AbstractWorkBucketContentType>
getContent()
Gets the value of the content property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ExplicitWorkSegmentationType
matchingRule(String value)
ExplicitWorkSegmentationType
numberOfBuckets(Integer 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
-
content
protected List<AbstractWorkBucketContentType> content
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CONTENT
public static final ItemName F_CONTENT
-
-
Constructor Detail
-
ExplicitWorkSegmentationType
public ExplicitWorkSegmentationType()
Creates a newExplicitWorkSegmentationType
instance.
-
ExplicitWorkSegmentationType
public ExplicitWorkSegmentationType(ExplicitWorkSegmentationType o)
Creates a newExplicitWorkSegmentationType
instance by deeply copying a givenExplicitWorkSegmentationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getContent
public List<AbstractWorkBucketContentType> getContent()
Gets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
AbstractWorkBucketContentType
-
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
-
content
public ExplicitWorkSegmentationType content(AbstractWorkBucketContentType value)
-
beginContent
public AbstractWorkBucketContentType beginContent()
-
discriminator
public ExplicitWorkSegmentationType discriminator(ItemPathType value)
- Overrides:
discriminator
in classAbstractWorkSegmentationType
-
beginDiscriminator
public ItemPathType beginDiscriminator()
- Overrides:
beginDiscriminator
in classAbstractWorkSegmentationType
-
matchingRule
public ExplicitWorkSegmentationType matchingRule(String value)
- Overrides:
matchingRule
in classAbstractWorkSegmentationType
-
numberOfBuckets
public ExplicitWorkSegmentationType numberOfBuckets(Integer value)
- Overrides:
numberOfBuckets
in classAbstractWorkSegmentationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classAbstractWorkSegmentationType
-
clone
public ExplicitWorkSegmentationType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classAbstractWorkSegmentationType
- Returns:
- A deep copy of this object.
-
-