Class AbstractWorkSegmentationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractWorkSegmentationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
ExplicitWorkSegmentationType
,NumericWorkSegmentationType
,StringWorkSegmentationType
public class AbstractWorkSegmentationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected ItemPathType
discriminator
static ItemName
F_DISCRIMINATOR
static ItemName
F_MATCHING_RULE
static ItemName
F_NUMBER_OF_BUCKETS
protected String
matchingRule
protected Integer
numberOfBuckets
-
Constructor Summary
Constructors Constructor Description AbstractWorkSegmentationType()
Creates a newAbstractWorkSegmentationType
instance.AbstractWorkSegmentationType(AbstractWorkSegmentationType o)
Creates a newAbstractWorkSegmentationType
instance by deeply copying a givenAbstractWorkSegmentationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ItemPathType
beginDiscriminator()
AbstractWorkSegmentationType
clone()
Creates and returns a deep copy of this object.AbstractWorkSegmentationType
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)
ItemPathType
getDiscriminator()
Gets the value of the discriminator property.String
getMatchingRule()
Gets the value of the matchingRule property.Integer
getNumberOfBuckets()
Gets the value of the numberOfBuckets property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
AbstractWorkSegmentationType
matchingRule(String value)
AbstractWorkSegmentationType
numberOfBuckets(Integer value)
void
setDiscriminator(ItemPathType value)
Sets the value of the discriminator property.void
setMatchingRule(String value)
Sets the value of the matchingRule property.void
setNumberOfBuckets(Integer value)
Sets the value of the numberOfBuckets property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
discriminator
protected ItemPathType discriminator
-
matchingRule
protected String matchingRule
-
numberOfBuckets
protected Integer numberOfBuckets
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DISCRIMINATOR
public static final ItemName F_DISCRIMINATOR
-
F_MATCHING_RULE
public static final ItemName F_MATCHING_RULE
-
F_NUMBER_OF_BUCKETS
public static final ItemName F_NUMBER_OF_BUCKETS
-
-
Constructor Detail
-
AbstractWorkSegmentationType
public AbstractWorkSegmentationType()
Creates a newAbstractWorkSegmentationType
instance.
-
AbstractWorkSegmentationType
public AbstractWorkSegmentationType(AbstractWorkSegmentationType o)
Creates a newAbstractWorkSegmentationType
instance by deeply copying a givenAbstractWorkSegmentationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getDiscriminator
public ItemPathType getDiscriminator()
Gets the value of the discriminator property.- Returns:
- possible object is
ItemPathType
-
setDiscriminator
public void setDiscriminator(ItemPathType value)
Sets the value of the discriminator property.- Parameters:
value
- allowed object isItemPathType
-
getMatchingRule
public String getMatchingRule()
Gets the value of the matchingRule property.- Returns:
- possible object is
String
-
setMatchingRule
public void setMatchingRule(String value)
Sets the value of the matchingRule property.- Parameters:
value
- allowed object isString
-
getNumberOfBuckets
public Integer getNumberOfBuckets()
Gets the value of the numberOfBuckets property.- Returns:
- possible object is
Integer
-
setNumberOfBuckets
public void setNumberOfBuckets(Integer value)
Sets the value of the numberOfBuckets property.- Parameters:
value
- allowed object isInteger
-
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
-
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
-
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
-
discriminator
public AbstractWorkSegmentationType discriminator(ItemPathType value)
-
beginDiscriminator
public ItemPathType beginDiscriminator()
-
matchingRule
public AbstractWorkSegmentationType matchingRule(String value)
-
numberOfBuckets
public AbstractWorkSegmentationType numberOfBuckets(Integer value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public AbstractWorkSegmentationType clone()
Creates and returns a deep copy of this object.
-
-