/** * Create an instance of {@link AssignmentTargetSearchExpressionEvaluatorType } * */ public AssignmentTargetSearchExpressionEvaluatorType createAssignmentTargetSearchExpressionEvaluatorType() { return new AssignmentTargetSearchExpressionEvaluatorType(); }
/** * 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())); }
private QName getRelation() { AssignmentTargetSearchExpressionEvaluatorType expressionEvaluatorType = (AssignmentTargetSearchExpressionEvaluatorType) getExpressionEvaluatorType(); AssignmentPropertiesSpecificationType assignmentProperties = expressionEvaluatorType.getAssignmentProperties(); if (assignmentProperties != null) { return assignmentProperties.getRelation(); } else { return expressionEvaluatorType.getRelation(); } }
private List<String> getSubtypes() { AssignmentTargetSearchExpressionEvaluatorType evaluator = (AssignmentTargetSearchExpressionEvaluatorType) getExpressionEvaluatorType(); return evaluator.getAssignmentProperties() != null ? evaluator.getAssignmentProperties().getSubtype() : emptyList(); }
public ExpressionType beginCondition() { ExpressionType value = new ExpressionType(); condition(value); return value; }
public AssignmentPropertiesSpecificationType beginAssignmentProperties() { AssignmentPropertiesSpecificationType value = new AssignmentPropertiesSpecificationType(); assignmentProperties(value); return value; }
public ActivationType beginActivation() { ActivationType value = new ActivationType(); activation(value); return value; }
/** * Creates and returns a deep copy of a given {@code javax.xml.bind.JAXBElement<com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentTargetSearchExpressionEvaluatorType>} instance. * * @param e * The instance to copy or {@code null}. * @return * A deep copy of {@code e} or {@code null} if {@code e} is {@code null}. */ @SuppressWarnings("unchecked") private static JAXBElement<AssignmentTargetSearchExpressionEvaluatorType> copyOfAssignmentTargetSearchExpressionEvaluatorTypeElement(final JAXBElement<AssignmentTargetSearchExpressionEvaluatorType> e) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 if (e!= null) { final JAXBElement<AssignmentTargetSearchExpressionEvaluatorType> copy = new JAXBElement<AssignmentTargetSearchExpressionEvaluatorType>(e.getName(), e.getDeclaredType(), e.getScope(), e.getValue()); copy.setNil(e.isNil()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentTargetSearchExpressionEvaluatorType copy.setValue(((((AssignmentTargetSearchExpressionEvaluatorType) copy.getValue()) == null)?null:((AssignmentTargetSearchExpressionEvaluatorType) copy.getValue()).clone())); return copy; } return null; }
/** * 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; }
/** * Create an instance of {@link AssignmentTargetSearchExpressionEvaluatorType } * */ public AssignmentTargetSearchExpressionEvaluatorType createAssignmentTargetSearchExpressionEvaluatorType() { return new AssignmentTargetSearchExpressionEvaluatorType(); }
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; lhsRelation = this.getRelation(); QName rhsRelation; rhsRelation = that.getRelation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "relation", lhsRelation), LocatorUtils.property(thatLocator, "relation", rhsRelation), lhsRelation, rhsRelation)) { return false; lhsActivation = this.getActivation(); ActivationType rhsActivation; rhsActivation = that.getActivation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "activation", lhsActivation), LocatorUtils.property(thatLocator, "activation", rhsActivation), lhsActivation, rhsActivation)) { return false;
/** * Create an instance of {@link AssignmentTargetSearchExpressionEvaluatorType } * */ public AssignmentTargetSearchExpressionEvaluatorType createAssignmentTargetSearchExpressionEvaluatorType() { return new AssignmentTargetSearchExpressionEvaluatorType(); }
@Override public QName getElementName() { return new ObjectFactory().createAssignmentTargetSearch(new AssignmentTargetSearchExpressionEvaluatorType()).getName(); }