Class OutcomeKeyedCounterType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.OutcomeKeyedCounterType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ProcessedItemSetType
public class OutcomeKeyedCounterType extends Object implements Serializable, Cloneable, Containerable
Counter keyed by a qualified outcome. Used e.g. for structured progress or synchronization situation transitions. <p>Java class for OutcomeKeyedCounterType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="OutcomeKeyedCounterType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="outcome" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}QualifiedItemProcessingOutcomeType" minOccurs="0"/> <element name="count" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_COUNT
static ItemName
F_OUTCOME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description OutcomeKeyedCounterType()
OutcomeKeyedCounterType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
QualifiedItemProcessingOutcomeType
beginOutcome()
OutcomeKeyedCounterType
clone()
OutcomeKeyedCounterType
count(Integer value)
<X> X
end()
boolean
equals(Object object)
Integer
getCount()
QualifiedItemProcessingOutcomeType
getOutcome()
int
hashCode()
OutcomeKeyedCounterType
outcome(QualifiedItemProcessingOutcomeType value)
void
setCount(Integer value)
void
setOutcome(QualifiedItemProcessingOutcomeType 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
-
OutcomeKeyedCounterType
public OutcomeKeyedCounterType()
-
OutcomeKeyedCounterType
public OutcomeKeyedCounterType(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()
-
getOutcome
public QualifiedItemProcessingOutcomeType getOutcome()
-
setOutcome
public void setOutcome(QualifiedItemProcessingOutcomeType value)
-
getCount
public Integer getCount()
-
setCount
public void setCount(Integer value)
-
outcome
public OutcomeKeyedCounterType outcome(QualifiedItemProcessingOutcomeType value)
-
beginOutcome
public QualifiedItemProcessingOutcomeType beginOutcome()
-
count
public OutcomeKeyedCounterType count(Integer value)
-
clone
public OutcomeKeyedCounterType clone()
-
-