Class RandomBucketsSamplingDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.RandomBucketsSamplingDefinitionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class RandomBucketsSamplingDefinitionType extends Object implements Serializable, Cloneable, Containerable
Sampling using random distribution of samples.Java class for RandomBucketsSamplingDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RandomBucketsSamplingDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="probability" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> <element name="sampleSize" type="{http://www.w3.org/2001/XMLSchema}int" 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_PROBABILITY
static ItemName
F_SAMPLE_SIZE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description RandomBucketsSamplingDefinitionType()
RandomBucketsSamplingDefinitionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
RandomBucketsSamplingDefinitionType
clone()
<X> X
end()
boolean
equals(Object object)
Long
getId()
Double
getProbability()
Integer
getSampleSize()
int
hashCode()
RandomBucketsSamplingDefinitionType
id(Long value)
RandomBucketsSamplingDefinitionType
probability(Double value)
RandomBucketsSamplingDefinitionType
sampleSize(Integer value)
void
setId(Long value)
void
setProbability(Double value)
void
setSampleSize(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
-
RandomBucketsSamplingDefinitionType
public RandomBucketsSamplingDefinitionType()
-
RandomBucketsSamplingDefinitionType
public RandomBucketsSamplingDefinitionType(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()
-
getProbability
public Double getProbability()
-
setProbability
public void setProbability(Double value)
-
getSampleSize
public Integer getSampleSize()
-
setSampleSize
public void setSampleSize(Integer value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
probability
public RandomBucketsSamplingDefinitionType probability(Double value)
-
sampleSize
public RandomBucketsSamplingDefinitionType sampleSize(Integer value)
-
id
public RandomBucketsSamplingDefinitionType id(Long value)
-
clone
public RandomBucketsSamplingDefinitionType clone()
-
-