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>actionprotected List<String>channelstatic QNameCOMPLEX_TYPEprotected ExpressionTypeconditionprotected Stringdescriptionprotected Stringdocumentationprotected ModelExecuteOptionsTypeexecuteOptionsstatic ItemNameF_ACTIONstatic ItemNameF_CHANNELstatic ItemNameF_CONDITIONstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_EXECUTE_OPTIONSstatic ItemNameF_LIMIT_PROPAGATIONstatic ItemNameF_NAMEstatic ItemNameF_OBJECT_TEMPLATE_REFstatic ItemNameF_RECONCILEstatic ItemNameF_RECONCILE_ALLstatic ItemNameF_SITUATIONstatic ItemNameF_SYNCHRONIZEprotected BooleanlimitPropagationprotected Stringnameprotected ObjectReferenceTypeobjectTemplateRefprotected Booleanreconcileprotected BooleanreconcileAllprotected SynchronizationSituationTypesituationprotected Booleansynchronize
-
Constructor Summary
Constructors Constructor Description SynchronizationReactionType()Creates a newSynchronizationReactionTypeinstance.SynchronizationReactionType(SynchronizationReactionType o)Creates a newSynchronizationReactionTypeinstance by deeply copying a givenSynchronizationReactionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)SynchronizationReactionTypeaction(SynchronizationActionType value)SynchronizationActionTypebeginAction()ExpressionTypebeginCondition()ModelExecuteOptionsTypebeginExecuteOptions()ObjectReferenceTypebeginObjectTemplateRef()SynchronizationReactionTypechannel(String value)SynchronizationReactionTypeclone()Creates and returns a deep copy of this object.SynchronizationReactionTypecondition(ExpressionType value)SynchronizationReactionTypedescription(String value)SynchronizationReactionTypedocumentation(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)SynchronizationReactionTypeexecuteOptions(ModelExecuteOptionsType value)List<SynchronizationActionType>getAction()Gets the value of the action property.List<String>getChannel()Gets the value of the channel property.ExpressionTypegetCondition()Gets the value of the condition property.StringgetDescription()Gets the value of the description property.StringgetDocumentation()Gets the value of the documentation property.ModelExecuteOptionsTypegetExecuteOptions()Gets the value of the executeOptions property.StringgetName()Gets the value of the name property.ObjectReferenceTypegetObjectTemplateRef()Gets the value of the objectTemplateRef property.SynchronizationSituationTypegetSituation()Gets the value of the situation property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisLimitPropagation()Gets the value of the limitPropagation property.BooleanisReconcile()Gets the value of the reconcile property.BooleanisReconcileAll()Gets the value of the reconcileAll property.BooleanisSynchronize()Gets the value of the synchronize property.SynchronizationReactionTypelimitPropagation(Boolean value)SynchronizationReactionTypename(String value)SynchronizationReactionTypeobjectTemplateRef(ObjectReferenceType value)SynchronizationReactionTypeobjectTemplateRef(String oid, QName type)SynchronizationReactionTypeobjectTemplateRef(String oid, QName type, QName relation)SynchronizationReactionTypereconcile(Boolean value)SynchronizationReactionTypereconcileAll(Boolean value)voidsetCondition(ExpressionType value)Sets the value of the condition property.voidsetDescription(String value)Sets the value of the description property.voidsetDocumentation(String value)Sets the value of the documentation property.voidsetExecuteOptions(ModelExecuteOptionsType value)Sets the value of the executeOptions property.voidsetLimitPropagation(Boolean value)Sets the value of the limitPropagation property.voidsetName(String value)Sets the value of the name property.voidsetObjectTemplateRef(ObjectReferenceType value)Sets the value of the objectTemplateRef property.voidsetReconcile(Boolean value)Sets the value of the reconcile property.voidsetReconcileAll(Boolean value)Sets the value of the reconcileAll property.voidsetSituation(SynchronizationSituationType value)Sets the value of the situation property.voidsetSynchronize(Boolean value)Sets the value of the synchronize property.SynchronizationReactionTypesituation(SynchronizationSituationType value)SynchronizationReactionTypesynchronize(Boolean value)StringtoString()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 newSynchronizationReactionTypeinstance.
-
SynchronizationReactionType
public SynchronizationReactionType(SynchronizationReactionType o)
Creates a newSynchronizationReactionTypeinstance by deeply copying a givenSynchronizationReactionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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
setmethod 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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public SynchronizationReactionType clone()
Creates and returns a deep copy of this object.
-
-