Class SynchronizationReactionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationReactionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class SynchronizationReactionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Reaction to a synchronization situation. Situation identifier must be unique in this set (i.e. a situation definition may occur only once for each situation). If there is no definition for a particular situation, there will be no reaction ("do nothing"). The set of situation reactions is considered to be unordered.Java class for SynchronizationReactionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SynchronizationReactionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="situation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SynchronizationSituationType"/> <element name="channel" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> <element name="synchronize" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="reconcile" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="reconcileAll" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="limitPropagation" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="objectTemplateRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="executeOptions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ModelExecuteOptionsType" minOccurs="0"/> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="action" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SynchronizationActionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SynchronizationActionType>
action
protected List<String>
channel
static QName
COMPLEX_TYPE
protected ExpressionType
condition
protected String
description
protected String
documentation
protected ModelExecuteOptionsType
executeOptions
static ItemName
F_ACTION
static ItemName
F_CHANNEL
static ItemName
F_CONDITION
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_EXECUTE_OPTIONS
static ItemName
F_LIMIT_PROPAGATION
static ItemName
F_NAME
static ItemName
F_OBJECT_TEMPLATE_REF
static ItemName
F_RECONCILE
static ItemName
F_RECONCILE_ALL
static ItemName
F_SITUATION
static ItemName
F_SYNCHRONIZE
protected Boolean
limitPropagation
protected String
name
protected ObjectReferenceType
objectTemplateRef
protected Boolean
reconcile
protected Boolean
reconcileAll
protected SynchronizationSituationType
situation
protected Boolean
synchronize
-
Constructor Summary
Constructors Constructor Description SynchronizationReactionType()
Creates a newSynchronizationReactionType
instance.SynchronizationReactionType(SynchronizationReactionType o)
Creates a newSynchronizationReactionType
instance by deeply copying a givenSynchronizationReactionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
SynchronizationReactionType
action(SynchronizationActionType value)
SynchronizationActionType
beginAction()
ExpressionType
beginCondition()
ModelExecuteOptionsType
beginExecuteOptions()
ObjectReferenceType
beginObjectTemplateRef()
SynchronizationReactionType
channel(String value)
SynchronizationReactionType
clone()
Creates and returns a deep copy of this object.SynchronizationReactionType
condition(ExpressionType value)
SynchronizationReactionType
description(String value)
SynchronizationReactionType
documentation(String value)
boolean
equals(Object object)
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)
SynchronizationReactionType
executeOptions(ModelExecuteOptionsType value)
List<SynchronizationActionType>
getAction()
Gets the value of the action property.List<String>
getChannel()
Gets the value of the channel property.ExpressionType
getCondition()
Gets the value of the condition property.String
getDescription()
Gets the value of the description property.String
getDocumentation()
Gets the value of the documentation property.ModelExecuteOptionsType
getExecuteOptions()
Gets the value of the executeOptions property.String
getName()
Gets the value of the name property.ObjectReferenceType
getObjectTemplateRef()
Gets the value of the objectTemplateRef property.SynchronizationSituationType
getSituation()
Gets the value of the situation property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Boolean
isLimitPropagation()
Gets the value of the limitPropagation property.Boolean
isReconcile()
Gets the value of the reconcile property.Boolean
isReconcileAll()
Gets the value of the reconcileAll property.Boolean
isSynchronize()
Gets the value of the synchronize property.SynchronizationReactionType
limitPropagation(Boolean value)
SynchronizationReactionType
name(String value)
SynchronizationReactionType
objectTemplateRef(ObjectReferenceType value)
SynchronizationReactionType
objectTemplateRef(String oid, QName type)
SynchronizationReactionType
objectTemplateRef(String oid, QName type, QName relation)
SynchronizationReactionType
reconcile(Boolean value)
SynchronizationReactionType
reconcileAll(Boolean value)
void
setCondition(ExpressionType value)
Sets the value of the condition property.void
setDescription(String value)
Sets the value of the description property.void
setDocumentation(String value)
Sets the value of the documentation property.void
setExecuteOptions(ModelExecuteOptionsType value)
Sets the value of the executeOptions property.void
setLimitPropagation(Boolean value)
Sets the value of the limitPropagation property.void
setName(String value)
Sets the value of the name property.void
setObjectTemplateRef(ObjectReferenceType value)
Sets the value of the objectTemplateRef property.void
setReconcile(Boolean value)
Sets the value of the reconcile property.void
setReconcileAll(Boolean value)
Sets the value of the reconcileAll property.void
setSituation(SynchronizationSituationType value)
Sets the value of the situation property.void
setSynchronize(Boolean value)
Sets the value of the synchronize property.SynchronizationReactionType
situation(SynchronizationSituationType value)
SynchronizationReactionType
synchronize(Boolean value)
String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
documentation
protected String documentation
-
situation
protected SynchronizationSituationType situation
-
synchronize
protected Boolean synchronize
-
reconcile
protected Boolean reconcile
-
reconcileAll
protected Boolean reconcileAll
-
limitPropagation
protected Boolean limitPropagation
-
objectTemplateRef
protected ObjectReferenceType objectTemplateRef
-
executeOptions
protected ModelExecuteOptionsType executeOptions
-
condition
protected ExpressionType condition
-
action
protected List<SynchronizationActionType> action
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_SITUATION
public static final ItemName F_SITUATION
-
F_CHANNEL
public static final ItemName F_CHANNEL
-
F_SYNCHRONIZE
public static final ItemName F_SYNCHRONIZE
-
F_RECONCILE
public static final ItemName F_RECONCILE
-
F_RECONCILE_ALL
public static final ItemName F_RECONCILE_ALL
-
F_LIMIT_PROPAGATION
public static final ItemName F_LIMIT_PROPAGATION
-
F_OBJECT_TEMPLATE_REF
public static final ItemName F_OBJECT_TEMPLATE_REF
-
F_EXECUTE_OPTIONS
public static final ItemName F_EXECUTE_OPTIONS
-
F_CONDITION
public static final ItemName F_CONDITION
-
F_ACTION
public static final ItemName F_ACTION
-
-
Constructor Detail
-
SynchronizationReactionType
public SynchronizationReactionType()
Creates a newSynchronizationReactionType
instance.
-
SynchronizationReactionType
public SynchronizationReactionType(SynchronizationReactionType o)
Creates a newSynchronizationReactionType
instance by deeply copying a givenSynchronizationReactionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value
- allowed object isString
-
getSituation
public SynchronizationSituationType getSituation()
Gets the value of the situation property.- Returns:
- possible object is
SynchronizationSituationType
-
setSituation
public void setSituation(SynchronizationSituationType value)
Sets the value of the situation property.- Parameters:
value
- allowed object isSynchronizationSituationType
-
getChannel
public List<String> getChannel()
Gets the value of the channel 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 channel property.For example, to add a new item, do as follows:
getChannel().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
isSynchronize
public Boolean isSynchronize()
Gets the value of the synchronize property.- Returns:
- possible object is
Boolean
-
setSynchronize
public void setSynchronize(Boolean value)
Sets the value of the synchronize property.- Parameters:
value
- allowed object isBoolean
-
isReconcile
public Boolean isReconcile()
Gets the value of the reconcile property.- Returns:
- possible object is
Boolean
-
setReconcile
public void setReconcile(Boolean value)
Sets the value of the reconcile property.- Parameters:
value
- allowed object isBoolean
-
isReconcileAll
public Boolean isReconcileAll()
Gets the value of the reconcileAll property.- Returns:
- possible object is
Boolean
-
setReconcileAll
public void setReconcileAll(Boolean value)
Sets the value of the reconcileAll property.- Parameters:
value
- allowed object isBoolean
-
isLimitPropagation
public Boolean isLimitPropagation()
Gets the value of the limitPropagation property.- Returns:
- possible object is
Boolean
-
setLimitPropagation
public void setLimitPropagation(Boolean value)
Sets the value of the limitPropagation property.- Parameters:
value
- allowed object isBoolean
-
getObjectTemplateRef
public ObjectReferenceType getObjectTemplateRef()
Gets the value of the objectTemplateRef property.- Returns:
- possible object is
ObjectReferenceType
-
setObjectTemplateRef
public void setObjectTemplateRef(ObjectReferenceType value)
Sets the value of the objectTemplateRef property.- Parameters:
value
- allowed object isObjectReferenceType
-
getExecuteOptions
public ModelExecuteOptionsType getExecuteOptions()
Gets the value of the executeOptions property.- Returns:
- possible object is
ModelExecuteOptionsType
-
setExecuteOptions
public void setExecuteOptions(ModelExecuteOptionsType value)
Sets the value of the executeOptions property.- Parameters:
value
- allowed object isModelExecuteOptionsType
-
getCondition
public ExpressionType getCondition()
Gets the value of the condition property.- Returns:
- possible object is
ExpressionType
-
setCondition
public void setCondition(ExpressionType value)
Sets the value of the condition property.- Parameters:
value
- allowed object isExpressionType
-
getAction
public List<SynchronizationActionType> getAction()
Gets the value of the action 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 action property.For example, to add a new item, do as follows:
getAction().add(newItem);
Objects of the following type(s) are allowed in the list
SynchronizationActionType
-
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
-
name
public SynchronizationReactionType name(String value)
-
description
public SynchronizationReactionType description(String value)
-
documentation
public SynchronizationReactionType documentation(String value)
-
situation
public SynchronizationReactionType situation(SynchronizationSituationType value)
-
channel
public SynchronizationReactionType channel(String value)
-
synchronize
public SynchronizationReactionType synchronize(Boolean value)
-
reconcile
public SynchronizationReactionType reconcile(Boolean value)
-
reconcileAll
public SynchronizationReactionType reconcileAll(Boolean value)
-
limitPropagation
public SynchronizationReactionType limitPropagation(Boolean value)
-
objectTemplateRef
public SynchronizationReactionType objectTemplateRef(ObjectReferenceType value)
-
objectTemplateRef
public SynchronizationReactionType objectTemplateRef(String oid, QName type)
-
objectTemplateRef
public SynchronizationReactionType objectTemplateRef(String oid, QName type, QName relation)
-
beginObjectTemplateRef
public ObjectReferenceType beginObjectTemplateRef()
-
executeOptions
public SynchronizationReactionType executeOptions(ModelExecuteOptionsType value)
-
beginExecuteOptions
public ModelExecuteOptionsType beginExecuteOptions()
-
condition
public SynchronizationReactionType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
action
public SynchronizationReactionType action(SynchronizationActionType value)
-
beginAction
public SynchronizationActionType beginAction()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public SynchronizationReactionType clone()
Creates and returns a deep copy of this object.
-
-