Class BucketsSamplingDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.BucketsSamplingDefinitionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class BucketsSamplingDefinitionType extends Object implements Serializable, Cloneable, Containerable
Defines the sampling of buckets.Java class for BucketsSamplingDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BucketsSamplingDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="regular" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RegularBucketsSamplingDefinitionType" minOccurs="0"/> <element name="random" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RandomBucketsSamplingDefinitionType" minOccurs="0"/> </choice> </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_RANDOM
static ItemName
F_REGULAR
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description BucketsSamplingDefinitionType()
BucketsSamplingDefinitionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
RandomBucketsSamplingDefinitionType
beginRandom()
RegularBucketsSamplingDefinitionType
beginRegular()
BucketsSamplingDefinitionType
clone()
<X> X
end()
boolean
equals(Object object)
Long
getId()
RandomBucketsSamplingDefinitionType
getRandom()
RegularBucketsSamplingDefinitionType
getRegular()
int
hashCode()
BucketsSamplingDefinitionType
id(Long value)
BucketsSamplingDefinitionType
random(RandomBucketsSamplingDefinitionType value)
BucketsSamplingDefinitionType
regular(RegularBucketsSamplingDefinitionType value)
void
setId(Long value)
void
setRandom(RandomBucketsSamplingDefinitionType value)
void
setRegular(RegularBucketsSamplingDefinitionType 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
-
BucketsSamplingDefinitionType
public BucketsSamplingDefinitionType()
-
BucketsSamplingDefinitionType
public BucketsSamplingDefinitionType(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()
-
getRegular
public RegularBucketsSamplingDefinitionType getRegular()
-
setRegular
public void setRegular(RegularBucketsSamplingDefinitionType value)
-
getRandom
public RandomBucketsSamplingDefinitionType getRandom()
-
setRandom
public void setRandom(RandomBucketsSamplingDefinitionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
regular
public BucketsSamplingDefinitionType regular(RegularBucketsSamplingDefinitionType value)
-
beginRegular
public RegularBucketsSamplingDefinitionType beginRegular()
-
random
public BucketsSamplingDefinitionType random(RandomBucketsSamplingDefinitionType value)
-
beginRandom
public RandomBucketsSamplingDefinitionType beginRandom()
-
id
public BucketsSamplingDefinitionType id(Long value)
-
clone
public BucketsSamplingDefinitionType clone()
-
-