コード例 #1
0
  @Override
  public TechnicalInterventionRequest clone() {
    TechnicalInterventionRequest clone =
        new TechnicalInterventionRequest(
            getRequestData().clone(), technicalInterventionRequestData.clone());
    Map<String, Object> stepState;

    stepState = new HashMap<String, Object>(4);
    stepState.put("state", "uncomplete");
    stepState.put("required", true);
    stepState.put("errorMsg", null);
    stepState.put("invalidFields", new ArrayList<String>());
    clone.getStepStates().put("intervention", stepState);

    stepState = new HashMap<String, Object>(4);
    stepState.put("state", "unavailable");
    stepState.put("required", false);
    stepState.put("errorMsg", null);
    stepState.put("invalidFields", new ArrayList<String>());
    clone.getStepStates().put("document", stepState);

    stepState = new HashMap<String, Object>(4);
    stepState.put("state", "unavailable");
    stepState.put("required", true);
    stepState.put("errorMsg", null);
    stepState.put("invalidFields", new ArrayList<String>());
    clone.getStepStates().put("validation", stepState);

    return clone;
  }
コード例 #2
0
 public final String getOtherInterventionLabel() {
   return technicalInterventionRequestData.getOtherInterventionLabel();
 }
コード例 #3
0
 public final void setOtherInterventionLabel(final String otherInterventionLabel) {
   technicalInterventionRequestData.setOtherInterventionLabel(otherInterventionLabel);
 }
コード例 #4
0
 public final List<fr.cg95.cvq.business.request.LocalReferentialData> getInterventionType() {
   return technicalInterventionRequestData.getInterventionType();
 }
コード例 #5
0
 public final void setInterventionType(
     final List<fr.cg95.cvq.business.request.LocalReferentialData> interventionType) {
   technicalInterventionRequestData.setInterventionType(interventionType);
 }
コード例 #6
0
 public final fr.cg95.cvq.business.users.Address getInterventionPlace() {
   return technicalInterventionRequestData.getInterventionPlace();
 }
コード例 #7
0
 public final void setInterventionPlace(
     final fr.cg95.cvq.business.users.Address interventionPlace) {
   technicalInterventionRequestData.setInterventionPlace(interventionPlace);
 }
コード例 #8
0
 public final String getInterventionDescription() {
   return technicalInterventionRequestData.getInterventionDescription();
 }
コード例 #9
0
 public final void setInterventionDescription(final String interventionDescription) {
   technicalInterventionRequestData.setInterventionDescription(interventionDescription);
 }