/** * Creates a new {@code EvaluatedExclusionTriggerType} instance by deeply copying a given {@code EvaluatedExclusionTriggerType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public EvaluatedExclusionTriggerType(final EvaluatedExclusionTriggerType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(o); if (o == null) { throw new NullPointerException("Cannot create a copy of 'EvaluatedExclusionTriggerType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType this.conflictingObjectRef = ((o.conflictingObjectRef == null)?null:((o.getConflictingObjectRef() == null)?null:o.getConflictingObjectRef().clone())); // CClassInfo: com.evolveum.prism.xml.ns._public.types_3.PolyStringType this.conflictingObjectDisplayName = ((o.conflictingObjectDisplayName == null)?null:((o.getConflictingObjectDisplayName() == null)?null:o.getConflictingObjectDisplayName().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPathType this.conflictingObjectPath = ((o.conflictingObjectPath == null)?null:((o.getConflictingObjectPath() == null)?null:o.getConflictingObjectPath().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType this.conflictingAssignment = ((o.conflictingAssignment == null)?null:((o.getConflictingAssignment() == null)?null:o.getConflictingAssignment().clone())); }
clone.assignmentPath = ((this.assignmentPath == null)?null:((this.getAssignmentPath() == null)?null:this.getAssignmentPath().clone()));
/** * Creates a new {@code EvaluatedPolicyRuleType} instance by deeply copying a given {@code EvaluatedPolicyRuleType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public EvaluatedPolicyRuleType(final EvaluatedPolicyRuleType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(); if (o == null) { throw new NullPointerException("Cannot create a copy of 'EvaluatedPolicyRuleType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType this.policyRule = ((o.policyRule == null)?null:((o.getPolicyRule() == null)?null:o.getPolicyRule().clone())); // CBuiltinLeafInfo: java.lang.String this.ruleName = ((o.ruleName == null)?null:o.getRuleName()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPathType this.assignmentPath = ((o.assignmentPath == null)?null:((o.getAssignmentPath() == null)?null:o.getAssignmentPath().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType this.directOwnerRef = ((o.directOwnerRef == null)?null:((o.getDirectOwnerRef() == null)?null:o.getDirectOwnerRef().clone())); // CClassInfo: com.evolveum.prism.xml.ns._public.types_3.PolyStringType this.directOwnerDisplayName = ((o.directOwnerDisplayName == null)?null:((o.getDirectOwnerDisplayName() == null)?null:o.getDirectOwnerDisplayName().clone())); // 'Trigger' collection. if (o.trigger!= null) { copyTrigger(o.getTrigger(), this.getTrigger()); } }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public EvaluatedExclusionTriggerType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final EvaluatedExclusionTriggerType clone = ((EvaluatedExclusionTriggerType) super.clone()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType clone.conflictingObjectRef = ((this.conflictingObjectRef == null)?null:((this.getConflictingObjectRef() == null)?null:this.getConflictingObjectRef().clone())); // CClassInfo: com.evolveum.prism.xml.ns._public.types_3.PolyStringType clone.conflictingObjectDisplayName = ((this.conflictingObjectDisplayName == null)?null:((this.getConflictingObjectDisplayName() == null)?null:this.getConflictingObjectDisplayName().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPathType clone.conflictingObjectPath = ((this.conflictingObjectPath == null)?null:((this.getConflictingObjectPath() == null)?null:this.getConflictingObjectPath().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType clone.conflictingAssignment = ((this.conflictingAssignment == null)?null:((this.getConflictingAssignment() == null)?null:this.getConflictingAssignment().clone())); return clone; } }
clone.assignmentPath = ((this.assignmentPath == null)?null:((this.getAssignmentPath() == null)?null:this.getAssignmentPath().clone()));
this.assignmentPath = ((o.assignmentPath == null)?null:((o.getAssignmentPath() == null)?null:o.getAssignmentPath().clone()));