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 QNameCOMPLEX_TYPEstatic ItemNameF_PROBABILITYstatic ItemNameF_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 PrismContainerValueasPrismContainerValue()RandomBucketsSamplingDefinitionTypeclone()<X> Xend()booleanequals(Object object)LonggetId()DoublegetProbability()IntegergetSampleSize()inthashCode()RandomBucketsSamplingDefinitionTypeid(Long value)RandomBucketsSamplingDefinitionTypeprobability(Double value)RandomBucketsSamplingDefinitionTypesampleSize(Integer value)voidsetId(Long value)voidsetProbability(Double value)voidsetSampleSize(Integer value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.StringtoString()-
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:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein 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()
-
-