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 QName
COMPLEX_TYPE
static ItemName
F_ACTION
static ItemName
F_DELAY_UNIT
static ItemName
F_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 ConflictResolutionType
action(ConflictResolutionActionType value)
PrismContainerValue
asPrismContainerValue()
ConflictResolutionType
clone()
ConflictResolutionType
delayUnit(Integer value)
<X> X
end()
boolean
equals(Object object)
ConflictResolutionActionType
getAction()
Integer
getDelayUnit()
Long
getId()
Integer
getMaxAttempts()
int
hashCode()
ConflictResolutionType
id(Long value)
ConflictResolutionType
maxAttempts(Integer value)
void
setAction(ConflictResolutionActionType value)
void
setDelayUnit(Integer value)
void
setId(Long value)
void
setMaxAttempts(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
-
ConflictResolutionType
public ConflictResolutionType()
-
ConflictResolutionType
public ConflictResolutionType(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()
-
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()
-
-