/** * Create an instance of {@link ScriptOutputsType } * */ public ScriptOutputsType createScriptOutputsType() { return new ScriptOutputsType(); }
/** * Creates a new {@code ScriptOutputsType} instance by deeply copying a given {@code ScriptOutputsType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public ScriptOutputsType(final ScriptOutputsType 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 'ScriptOutputsType' from 'null'."); } // 'Output' collection. if (o.output!= null) { copyOutput(o.getOutput(), this.getOutput()); } }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
private ExecuteScriptsResponseType doExecuteScripts(List<JAXBElement<?>> scriptsToExecute, ExecuteScriptsOptionsType options, Task task, OperationResult result) { ExecuteScriptsResponseType response = new ExecuteScriptsResponseType(); ScriptOutputsType outputs = new ScriptOutputsType(); response.setOutputs(outputs); outputs.getOutput().add(output);
public ScriptOutputsType output(SingleScriptOutputType value) { getOutput().add(value); return this; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public ExecuteScriptsResponseType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final ExecuteScriptsResponseType clone = ((ExecuteScriptsResponseType) super.clone()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.api_types_3.ScriptOutputsType clone.outputs = ((this.outputs == null)?null:((this.getOutputs() == null)?null:this.getOutputs().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType clone.result = ((this.result == null)?null:((this.getResult() == null)?null:this.getResult().clone())); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public SingleScriptOutputType beginOutput() { SingleScriptOutputType value = new SingleScriptOutputType(); output(value); return value; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof ScriptOutputsType)) { return false; } if (this == object) { return true; } final ScriptOutputsType that = ((ScriptOutputsType) object); { List<SingleScriptOutputType> lhsOutput; lhsOutput = (((this.output!= null)&&(!this.output.isEmpty()))?this.getOutput():null); List<SingleScriptOutputType> rhsOutput; rhsOutput = (((that.output!= null)&&(!that.output.isEmpty()))?that.getOutput():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "output", lhsOutput), LocatorUtils.property(thatLocator, "output", rhsOutput), lhsOutput, rhsOutput)) { return false; } } return true; }
/** * Creates a new {@code ExecuteScriptsResponseType} instance by deeply copying a given {@code ExecuteScriptsResponseType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public ExecuteScriptsResponseType(final ExecuteScriptsResponseType 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 'ExecuteScriptsResponseType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.api_types_3.ScriptOutputsType this.outputs = ((o.outputs == null)?null:((o.getOutputs() == null)?null:o.getOutputs().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType this.result = ((o.result == null)?null:((o.getResult() == null)?null:o.getResult().clone())); }
/** * Create an instance of {@link ScriptOutputsType } * */ public ScriptOutputsType createScriptOutputsType() { return new ScriptOutputsType(); }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public ScriptOutputsType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final ScriptOutputsType clone = ((ScriptOutputsType) super.clone()); // 'Output' collection. if (this.output!= null) { clone.output = null; copyOutput(this.getOutput(), clone.getOutput()); } return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<SingleScriptOutputType> theOutput; theOutput = (((this.output!= null)&&(!this.output.isEmpty()))?this.getOutput():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "output", theOutput), currentHashCode, theOutput); } return currentHashCode; }
/** * Create an instance of {@link ScriptOutputsType } * */ public ScriptOutputsType createScriptOutputsType() { return new ScriptOutputsType(); }
public ScriptOutputsType beginOutputs() { ScriptOutputsType value = new ScriptOutputsType(); outputs(value); return value; }