/** * Create an instance of {@link ApprovalStageExecutionInformationType } * */ public ApprovalStageExecutionInformationType createApprovalStageExecutionInformationType() { return new ApprovalStageExecutionInformationType(); }
public ApprovalStageExecutionInformationType definition(ApprovalStageDefinitionType value) { setDefinition(value); return this; }
public ApprovalStageExecutionInformationType executionPreview(ApprovalStageExecutionPreviewType value) { setExecutionPreview(value); return this; }
@Override protected ApprovalStageExecutionInformationType createItem(PrismContainerValue value) { ApprovalStageExecutionInformationType stage = new ApprovalStageExecutionInformationType(); stage.setupContainerValue(value); return stage; }
public ApprovalStageExecutionInformationType clone() { ApprovalStageExecutionInformationType object = new ApprovalStageExecutionInformationType(); PrismContainerValue value = asPrismContainerValue().clone(); object.setupContainerValue(value); return object; }
ApprovalStageExecutionInformationType stageExecution = new ApprovalStageExecutionInformationType(prismContext); stageExecution.setNumber(stageDef.getNumber()); stageExecution.setDefinition(stageDef); if (stageDef.getNumber() <= currentStageNumber) { stageExecution.setExecutionRecord(createStageExecutionRecord(wfc, stageDef.getNumber(), currentStageNumber)); } else { stageExecution.setExecutionPreview(createStageExecutionPreview(wfc, wfTask.getChannel(), stageDef, opTask, result));
@Override protected PrismContainerValue getValueFrom(ApprovalStageExecutionInformationType value) { return value.asPrismContainerValue(); }
public ApprovalStageExecutionInformationType number(Integer value) { setNumber(value); return this; }
public ApprovalStageExecutionInformationType executionRecord(ApprovalStageExecutionRecordType value) { setExecutionRecord(value); return this; }
public ApprovalStageDefinitionType beginDefinition() { ApprovalStageDefinitionType value = new ApprovalStageDefinitionType(); definition(value); return value; }
@Override public boolean equals(Object object) { if (!(object instanceof ApprovalStageExecutionInformationType)) { return false; } ApprovalStageExecutionInformationType other = ((ApprovalStageExecutionInformationType) object); return asPrismContainerValue().equivalent(other.asPrismContainerValue()); }
/** * Create an instance of {@link ApprovalStageExecutionInformationType } * */ public ApprovalStageExecutionInformationType createApprovalStageExecutionInformationType() { return new ApprovalStageExecutionInformationType(); }
@Override public String toString() { return asPrismContainerValue().toString(); }
/** * Create an instance of {@link ApprovalStageExecutionInformationType } * */ public ApprovalStageExecutionInformationType createApprovalStageExecutionInformationType() { return new ApprovalStageExecutionInformationType(); }
@XmlElement(name = "number") public Integer getNumber() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_NUMBER, Integer.class); }
public ApprovalStageExecutionInformationType beginStage() { ApprovalStageExecutionInformationType value = new ApprovalStageExecutionInformationType(); stage(value); return value; }
@XmlElement(name = "executionRecord") public ApprovalStageExecutionRecordType getExecutionRecord() { return PrismForJAXBUtil.getFieldSingleContainerable(asPrismContainerValue(), F_EXECUTION_RECORD, ApprovalStageExecutionRecordType.class); }
@Override public int hashCode() { return asPrismContainerValue().hashCode(); }
@XmlElement(name = "definition") public ApprovalStageDefinitionType getDefinition() { return PrismForJAXBUtil.getFieldSingleContainerable(asPrismContainerValue(), F_DEFINITION, ApprovalStageDefinitionType.class); }
@XmlElement(name = "executionPreview") public ApprovalStageExecutionPreviewType getExecutionPreview() { return PrismForJAXBUtil.getFieldSingleContainerable(asPrismContainerValue(), F_EXECUTION_PREVIEW, ApprovalStageExecutionPreviewType.class); }