コード例 #1
0
  @Override
  public CompostableWasteCollectionRequest clone() {
    CompostableWasteCollectionRequest clone =
        new CompostableWasteCollectionRequest(
            getRequestData().clone(), compostableWasteCollectionRequestData.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("waste", 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 getOtherWaste() {
   return compostableWasteCollectionRequestData.getOtherWaste();
 }
コード例 #3
0
 public final void setOtherWaste(final String otherWaste) {
   compostableWasteCollectionRequestData.setOtherWaste(otherWaste);
 }
コード例 #4
0
 public final List<fr.cg95.cvq.business.request.LocalReferentialData> getCompostableWasteType() {
   return compostableWasteCollectionRequestData.getCompostableWasteType();
 }
コード例 #5
0
 public final void setCompostableWasteType(
     final List<fr.cg95.cvq.business.request.LocalReferentialData> compostableWasteType) {
   compostableWasteCollectionRequestData.setCompostableWasteType(compostableWasteType);
 }
コード例 #6
0
 public final fr.cg95.cvq.business.users.Address getCollectionAddress() {
   return compostableWasteCollectionRequestData.getCollectionAddress();
 }
コード例 #7
0
 public final void setCollectionAddress(
     final fr.cg95.cvq.business.users.Address collectionAddress) {
   compostableWasteCollectionRequestData.setCollectionAddress(collectionAddress);
 }