@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; }
public final String getOtherInterventionLabel() { return technicalInterventionRequestData.getOtherInterventionLabel(); }
public final void setOtherInterventionLabel(final String otherInterventionLabel) { technicalInterventionRequestData.setOtherInterventionLabel(otherInterventionLabel); }
public final List<fr.cg95.cvq.business.request.LocalReferentialData> getInterventionType() { return technicalInterventionRequestData.getInterventionType(); }
public final void setInterventionType( final List<fr.cg95.cvq.business.request.LocalReferentialData> interventionType) { technicalInterventionRequestData.setInterventionType(interventionType); }
public final fr.cg95.cvq.business.users.Address getInterventionPlace() { return technicalInterventionRequestData.getInterventionPlace(); }
public final void setInterventionPlace( final fr.cg95.cvq.business.users.Address interventionPlace) { technicalInterventionRequestData.setInterventionPlace(interventionPlace); }
public final String getInterventionDescription() { return technicalInterventionRequestData.getInterventionDescription(); }
public final void setInterventionDescription(final String interventionDescription) { technicalInterventionRequestData.setInterventionDescription(interventionDescription); }