/** * Create an instance of {@link MappingEvaluationOptionsType } * */ public MappingEvaluationOptionsType createMappingEvaluationOptionsType() { return new MappingEvaluationOptionsType(); }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
/** * Creates a new {@code MappingEvaluationOptionsType} instance by deeply copying a given {@code MappingEvaluationOptionsType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public MappingEvaluationOptionsType(final MappingEvaluationOptionsType 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 'MappingEvaluationOptionsType' from 'null'."); } // CBuiltinLeafInfo: javax.xml.datatype.XMLGregorianCalendar this.now = ((o.now == null)?null:((o.getNow() == null)?null:((XMLGregorianCalendar) o.getNow().clone()))); }
public MappingEvaluationOptionsType now(XMLGregorianCalendar value) { setNow(value); return this; }
public MappingEvaluationOptionsType now(String value) { return now(XmlTypeConverter.createXMLGregorianCalendar(value)); }
/** * Copies all values of property {@code Options} deeply. * * @param source * The source to copy from. * @param target * The target to copy {@code source} to. * @throws NullPointerException * if {@code target} is {@code null}. */ @SuppressWarnings("unchecked") private static void copyOptions(final List<MappingEvaluationOptionsType> source, final List<MappingEvaluationOptionsType> target) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 if ((source!= null)&&(!source.isEmpty())) { for (final Iterator<?> it = source.iterator(); it.hasNext(); ) { final Object next = it.next(); if (next instanceof MappingEvaluationOptionsType) { // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.MappingEvaluationOptionsType target.add(((MappingEvaluationOptionsType) next).clone()); continue; } // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError((("Unexpected instance '"+ next)+"' for property 'Options' of class 'com.evolveum.midpoint.xml.ns._public.common.common_3.MappingEvaluationRequestType'.")); } } }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public MappingEvaluationOptionsType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final MappingEvaluationOptionsType clone = ((MappingEvaluationOptionsType) super.clone()); // CBuiltinLeafInfo: javax.xml.datatype.XMLGregorianCalendar clone.now = ((this.now == null)?null:((this.getNow() == null)?null:((XMLGregorianCalendar) this.getNow().clone()))); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
/** * Create an instance of {@link MappingEvaluationOptionsType } * */ public MappingEvaluationOptionsType createMappingEvaluationOptionsType() { return new MappingEvaluationOptionsType(); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof MappingEvaluationOptionsType)) { return false; } if (this == object) { return true; } final MappingEvaluationOptionsType that = ((MappingEvaluationOptionsType) object); { XMLGregorianCalendar lhsNow; lhsNow = this.getNow(); XMLGregorianCalendar rhsNow; rhsNow = that.getNow(); if (!strategy.equals(LocatorUtils.property(thisLocator, "now", lhsNow), LocatorUtils.property(thatLocator, "now", rhsNow), lhsNow, rhsNow)) { return false; } } return true; }
/** * Create an instance of {@link MappingEvaluationOptionsType } * */ public MappingEvaluationOptionsType createMappingEvaluationOptionsType() { return new MappingEvaluationOptionsType(); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { XMLGregorianCalendar theNow; theNow = this.getNow(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "now", theNow), currentHashCode, theNow); } return currentHashCode; }
public MappingEvaluationOptionsType beginOptions() { MappingEvaluationOptionsType value = new MappingEvaluationOptionsType(); options(value); return value; }