Class ConflictResolutionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ConflictResolutionType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class ConflictResolutionType extends Object implements Serializable, Cloneable, Containerable
How to resolve write-write conflicts on focal objects, i.e. if two threads modify given objects at once.Java class for ConflictResolutionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConflictResolutionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="action" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ConflictResolutionActionType"/> <element name="maxAttempts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="delayUnit" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </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_ACTIONstatic ItemNameF_DELAY_UNITstatic ItemNameF_MAX_ATTEMPTS-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ConflictResolutionType()ConflictResolutionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConflictResolutionTypeaction(ConflictResolutionActionType value)PrismContainerValueasPrismContainerValue()ConflictResolutionTypeclone()ConflictResolutionTypedelayUnit(Integer value)<X> Xend()booleanequals(Object object)ConflictResolutionActionTypegetAction()IntegergetDelayUnit()LonggetId()IntegergetMaxAttempts()inthashCode()ConflictResolutionTypeid(Long value)ConflictResolutionTypemaxAttempts(Integer value)voidsetAction(ConflictResolutionActionType value)voidsetDelayUnit(Integer value)voidsetId(Long value)voidsetMaxAttempts(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
-
ConflictResolutionType
public ConflictResolutionType()
-
ConflictResolutionType
public ConflictResolutionType(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()
-
getAction
public ConflictResolutionActionType getAction()
-
setAction
public void setAction(ConflictResolutionActionType value)
-
getMaxAttempts
public Integer getMaxAttempts()
-
setMaxAttempts
public void setMaxAttempts(Integer value)
-
getDelayUnit
public Integer getDelayUnit()
-
setDelayUnit
public void setDelayUnit(Integer value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
action
public ConflictResolutionType action(ConflictResolutionActionType value)
-
maxAttempts
public ConflictResolutionType maxAttempts(Integer value)
-
delayUnit
public ConflictResolutionType delayUnit(Integer value)
-
id
public ConflictResolutionType id(Long value)
-
clone
public ConflictResolutionType clone()
-
-