private List<String> getSubtypes() { AssignmentTargetSearchExpressionEvaluatorType evaluator = (AssignmentTargetSearchExpressionEvaluatorType) getExpressionEvaluatorType(); return evaluator.getAssignmentProperties() != null ? evaluator.getAssignmentProperties().getSubtype() : emptyList(); }
private QName getRelation() { AssignmentTargetSearchExpressionEvaluatorType expressionEvaluatorType = (AssignmentTargetSearchExpressionEvaluatorType) getExpressionEvaluatorType(); AssignmentPropertiesSpecificationType assignmentProperties = expressionEvaluatorType.getAssignmentProperties(); if (assignmentProperties != null) { return assignmentProperties.getRelation(); } else { return expressionEvaluatorType.getRelation(); } }
/** * 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; } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { AssignmentPropertiesSpecificationType theAssignmentProperties; theAssignmentProperties = this.getAssignmentProperties(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "assignmentProperties", theAssignmentProperties), currentHashCode, theAssignmentProperties); } { QName theRelation; theRelation = this.getRelation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relation", theRelation), currentHashCode, theRelation); } { ActivationType theActivation; theActivation = this.getActivation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "activation", theActivation), currentHashCode, theActivation); } return currentHashCode; }
lhsAssignmentProperties = this.getAssignmentProperties(); AssignmentPropertiesSpecificationType rhsAssignmentProperties; rhsAssignmentProperties = that.getAssignmentProperties(); if (!strategy.equals(LocatorUtils.property(thisLocator, "assignmentProperties", lhsAssignmentProperties), LocatorUtils.property(thatLocator, "assignmentProperties", rhsAssignmentProperties), lhsAssignmentProperties, rhsAssignmentProperties)) { return false;