/** * Create an instance of {@link DecisionType } * */ public DecisionType createDecisionType() { return new DecisionType(); }
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 DecisionType} instance by deeply copying a given {@code DecisionType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public DecisionType(final DecisionType 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 'DecisionType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType this.approverRef = ((o.approverRef == null)?null:((o.getApproverRef() == null)?null:o.getApproverRef().clone())); // CBuiltinLeafInfo: java.lang.Boolean this.approved = ((o.approved == null)?null:o.isApproved()); // CBuiltinLeafInfo: java.lang.String this.resultAsString = ((o.resultAsString == null)?null:o.getResultAsString()); // CBuiltinLeafInfo: java.lang.String this.comment = ((o.comment == null)?null:o.getComment()); // CBuiltinLeafInfo: javax.xml.datatype.XMLGregorianCalendar this.dateTime = ((o.dateTime == null)?null:((o.getDateTime() == null)?null:((XMLGregorianCalendar) o.getDateTime().clone()))); }
public ObjectReferenceType beginApproverRef() { ObjectReferenceType value = new ObjectReferenceType(); approverRef(value); return value; }
public DecisionType dateTime(String value) { return dateTime(XmlTypeConverter.createXMLGregorianCalendar(value)); }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public DecisionType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final DecisionType clone = ((DecisionType) super.clone()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType clone.approverRef = ((this.approverRef == null)?null:((this.getApproverRef() == null)?null:this.getApproverRef().clone())); // CBuiltinLeafInfo: java.lang.Boolean clone.approved = ((this.approved == null)?null:this.isApproved()); // CBuiltinLeafInfo: java.lang.String clone.resultAsString = ((this.resultAsString == null)?null:this.getResultAsString()); // CBuiltinLeafInfo: java.lang.String clone.comment = ((this.comment == null)?null:this.getComment()); // CBuiltinLeafInfo: javax.xml.datatype.XMLGregorianCalendar clone.dateTime = ((this.dateTime == null)?null:((this.getDateTime() == null)?null:((XMLGregorianCalendar) this.getDateTime().clone()))); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public DecisionType approverRef(String oid, QName type) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return approverRef(ort); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { ObjectReferenceType theApproverRef; theApproverRef = this.getApproverRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "approverRef", theApproverRef), currentHashCode, theApproverRef); } { Boolean theApproved; theApproved = this.isApproved(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "approved", theApproved), currentHashCode, theApproved); } { String theResultAsString; theResultAsString = this.getResultAsString(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resultAsString", theResultAsString), currentHashCode, theResultAsString); } { String theComment; theComment = this.getComment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment); } { XMLGregorianCalendar theDateTime; theDateTime = this.getDateTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateTime", theDateTime), currentHashCode, theDateTime); } return currentHashCode; }
/** * Create an instance of {@link DecisionType } * */ public DecisionType createDecisionType() { return new DecisionType(); }
public DecisionType approverRef(String oid, QName type, QName relation) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); refVal.setRelation(relation); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return approverRef(ort); }
lhsApproverRef = this.getApproverRef(); ObjectReferenceType rhsApproverRef; rhsApproverRef = that.getApproverRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "approverRef", lhsApproverRef), LocatorUtils.property(thatLocator, "approverRef", rhsApproverRef), lhsApproverRef, rhsApproverRef)) { return false; lhsApproved = this.isApproved(); Boolean rhsApproved; rhsApproved = that.isApproved(); if (!strategy.equals(LocatorUtils.property(thisLocator, "approved", lhsApproved), LocatorUtils.property(thatLocator, "approved", rhsApproved), lhsApproved, rhsApproved)) { return false; lhsResultAsString = this.getResultAsString(); String rhsResultAsString; rhsResultAsString = that.getResultAsString(); if (!strategy.equals(LocatorUtils.property(thisLocator, "resultAsString", lhsResultAsString), LocatorUtils.property(thatLocator, "resultAsString", rhsResultAsString), lhsResultAsString, rhsResultAsString)) { return false; lhsComment = this.getComment(); String rhsComment; rhsComment = that.getComment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "comment", lhsComment), LocatorUtils.property(thatLocator, "comment", rhsComment), lhsComment, rhsComment)) { return false; lhsDateTime = this.getDateTime(); XMLGregorianCalendar rhsDateTime; rhsDateTime = that.getDateTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateTime", lhsDateTime), LocatorUtils.property(thatLocator, "dateTime", rhsDateTime), lhsDateTime, rhsDateTime)) { return false;
/** * Create an instance of {@link DecisionType } * */ public DecisionType createDecisionType() { return new DecisionType(); }
public DecisionType beginDecisions() { DecisionType value = new DecisionType(); decisions(value); return value; }