/** * Creates a new {@code AssignmentTargetSearchExpressionEvaluatorType} instance by deeply copying a given {@code AssignmentTargetSearchExpressionEvaluatorType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public AssignmentTargetSearchExpressionEvaluatorType(final AssignmentTargetSearchExpressionEvaluatorType 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 'AssignmentTargetSearchExpressionEvaluatorType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPropertiesSpecificationType this.assignmentProperties = ((o.assignmentProperties == null)?null:((o.getAssignmentProperties() == null)?null:o.getAssignmentProperties().clone())); // CBuiltinLeafInfo: javax.xml.namespace.QName this.relation = ((o.relation == null)?null:o.getRelation()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationType this.activation = ((o.activation == null)?null:((o.getActivation() == null)?null:o.getActivation().clone())); }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public AssignmentTargetSearchExpressionEvaluatorType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final AssignmentTargetSearchExpressionEvaluatorType clone = ((AssignmentTargetSearchExpressionEvaluatorType) super.clone()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPropertiesSpecificationType clone.assignmentProperties = ((this.assignmentProperties == null)?null:((this.getAssignmentProperties() == null)?null:this.getAssignmentProperties().clone())); // CBuiltinLeafInfo: javax.xml.namespace.QName clone.relation = ((this.relation == null)?null:this.getRelation()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationType clone.activation = ((this.activation == null)?null:((this.getActivation() == null)?null:this.getActivation().clone())); return clone; } }