Class ActivityStateOverviewType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityStateOverviewType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ActivityStateOverviewType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Describes an overview of the state of an activity. This information is maintained in the root task only, and is an excerpt from state information distributed throughout the tree. The idea is to provide all important information (needed e.g. in the task list) directly in the root task, to avoid the need to fetch subtasks. This structure is intentionally not a container (currently).Java class for ActivityStateOverviewType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityStateOverviewType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="realizationState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivitySimplifiedRealizationStateType" minOccurs="0"/> <element name="resultStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultStatusType" minOccurs="0"/> <element name="bucketProgress" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}BucketProgressOverviewType" minOccurs="0"/> <element name="task" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityTaskStateOverviewType" maxOccurs="unbounded" minOccurs="0"/> <element name="progressInformationVisibility" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityStateOverviewProgressInformationVisibilityType" minOccurs="0"/> <element name="persistence" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityStatePersistenceType" minOccurs="0"/> <element name="activity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivityStateOverviewType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ActivityStateOverviewType>
activity
protected BucketProgressOverviewType
bucketProgress
static QName
COMPLEX_TYPE
static ItemName
F_ACTIVITY
static ItemName
F_BUCKET_PROGRESS
static ItemName
F_IDENTIFIER
static ItemName
F_PERSISTENCE
static ItemName
F_PROGRESS_INFORMATION_VISIBILITY
static ItemName
F_REALIZATION_STATE
static ItemName
F_RESULT_STATUS
static ItemName
F_TASK
protected String
identifier
protected ActivityStatePersistenceType
persistence
protected ActivityStateOverviewProgressInformationVisibilityType
progressInformationVisibility
protected ActivitySimplifiedRealizationStateType
realizationState
protected OperationResultStatusType
resultStatus
protected List<ActivityTaskStateOverviewType>
task
-
Constructor Summary
Constructors Constructor Description ActivityStateOverviewType()
Creates a newActivityStateOverviewType
instance.ActivityStateOverviewType(ActivityStateOverviewType o)
Creates a newActivityStateOverviewType
instance by deeply copying a givenActivityStateOverviewType
instance.
-
Method Summary
-
-
-
Field Detail
-
identifier
protected String identifier
-
realizationState
protected ActivitySimplifiedRealizationStateType realizationState
-
resultStatus
protected OperationResultStatusType resultStatus
-
bucketProgress
protected BucketProgressOverviewType bucketProgress
-
task
protected List<ActivityTaskStateOverviewType> task
-
progressInformationVisibility
protected ActivityStateOverviewProgressInformationVisibilityType progressInformationVisibility
-
persistence
protected ActivityStatePersistenceType persistence
-
activity
protected List<ActivityStateOverviewType> activity
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_IDENTIFIER
public static final ItemName F_IDENTIFIER
-
F_REALIZATION_STATE
public static final ItemName F_REALIZATION_STATE
-
F_RESULT_STATUS
public static final ItemName F_RESULT_STATUS
-
F_BUCKET_PROGRESS
public static final ItemName F_BUCKET_PROGRESS
-
F_TASK
public static final ItemName F_TASK
-
F_PROGRESS_INFORMATION_VISIBILITY
public static final ItemName F_PROGRESS_INFORMATION_VISIBILITY
-
F_PERSISTENCE
public static final ItemName F_PERSISTENCE
-
F_ACTIVITY
public static final ItemName F_ACTIVITY
-
-
Constructor Detail
-
ActivityStateOverviewType
public ActivityStateOverviewType()
Creates a newActivityStateOverviewType
instance.
-
ActivityStateOverviewType
public ActivityStateOverviewType(ActivityStateOverviewType o)
Creates a newActivityStateOverviewType
instance by deeply copying a givenActivityStateOverviewType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
String
-
setIdentifier
public void setIdentifier(String value)
Sets the value of the identifier property.- Parameters:
value
- allowed object isString
-
getRealizationState
public ActivitySimplifiedRealizationStateType getRealizationState()
Gets the value of the realizationState property.- Returns:
- possible object is
ActivitySimplifiedRealizationStateType
-
setRealizationState
public void setRealizationState(ActivitySimplifiedRealizationStateType value)
Sets the value of the realizationState property.- Parameters:
value
- allowed object isActivitySimplifiedRealizationStateType
-
getResultStatus
public OperationResultStatusType getResultStatus()
Gets the value of the resultStatus property.- Returns:
- possible object is
OperationResultStatusType
-
setResultStatus
public void setResultStatus(OperationResultStatusType value)
Sets the value of the resultStatus property.- Parameters:
value
- allowed object isOperationResultStatusType
-
getBucketProgress
public BucketProgressOverviewType getBucketProgress()
Gets the value of the bucketProgress property.- Returns:
- possible object is
BucketProgressOverviewType
-
setBucketProgress
public void setBucketProgress(BucketProgressOverviewType value)
Sets the value of the bucketProgress property.- Parameters:
value
- allowed object isBucketProgressOverviewType
-
getTask
public List<ActivityTaskStateOverviewType> getTask()
Gets the value of the task property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the task property.For example, to add a new item, do as follows:
getTask().add(newItem);
Objects of the following type(s) are allowed in the list
ActivityTaskStateOverviewType
-
getProgressInformationVisibility
public ActivityStateOverviewProgressInformationVisibilityType getProgressInformationVisibility()
Gets the value of the progressInformationVisibility property.- Returns:
- possible object is
ActivityStateOverviewProgressInformationVisibilityType
-
setProgressInformationVisibility
public void setProgressInformationVisibility(ActivityStateOverviewProgressInformationVisibilityType value)
Sets the value of the progressInformationVisibility property.- Parameters:
value
- allowed object isActivityStateOverviewProgressInformationVisibilityType
-
getPersistence
public ActivityStatePersistenceType getPersistence()
Gets the value of the persistence property.- Returns:
- possible object is
ActivityStatePersistenceType
-
setPersistence
public void setPersistence(ActivityStatePersistenceType value)
Sets the value of the persistence property.- Parameters:
value
- allowed object isActivityStatePersistenceType
-
getActivity
public List<ActivityStateOverviewType> getActivity()
Gets the value of the activity property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the activity property.For example, to add a new item, do as follows:
getActivity().add(newItem);
Objects of the following type(s) are allowed in the list
ActivityStateOverviewType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
identifier
public ActivityStateOverviewType identifier(String value)
-
realizationState
public ActivityStateOverviewType realizationState(ActivitySimplifiedRealizationStateType value)
-
resultStatus
public ActivityStateOverviewType resultStatus(OperationResultStatusType value)
-
bucketProgress
public ActivityStateOverviewType bucketProgress(BucketProgressOverviewType value)
-
beginBucketProgress
public BucketProgressOverviewType beginBucketProgress()
-
task
public ActivityStateOverviewType task(ActivityTaskStateOverviewType value)
-
beginTask
public ActivityTaskStateOverviewType beginTask()
-
progressInformationVisibility
public ActivityStateOverviewType progressInformationVisibility(ActivityStateOverviewProgressInformationVisibilityType value)
-
persistence
public ActivityStateOverviewType persistence(ActivityStatePersistenceType value)
-
activity
public ActivityStateOverviewType activity(ActivityStateOverviewType value)
-
beginActivity
public ActivityStateOverviewType beginActivity()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ActivityStateOverviewType clone()
Creates and returns a deep copy of this object.
-
-