All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.odatav2.connectivity.impl.ChangeSetResultImpl Maven / Gradle / Ivy

package com.sap.cloud.sdk.odatav2.connectivity.impl;

import java.util.List;
import java.util.Map;

import com.sap.cloud.sdk.odatav2.connectivity.ODataException;
import com.sap.cloud.sdk.odatav2.connectivity.batch.ChangeSetResult;
import com.sap.cloud.sdk.odatav2.connectivity.batch.ChangeSetResultPart;

public class ChangeSetResultImpl extends ChangeSetResult {


  List changeSetResultPart;
  private ODataException exception;

  
  ChangeSetResultImpl(List changeSetResultPart){
    this.changeSetResultPart = changeSetResultPart;
  }
  
  @Override
  public  List get() {
    return changeSetResultPart;
  }

  protected void setException(ODataException exception){
    this.exception = exception;
  }
  
  protected void setHttpStatus(int status){
    super.responseStatusCode = status;
  }
  
  protected void setHeaders(Map> headersMap){
    super.headersMap = headersMap;
  }
  

  @Override
  public ODataException getException() {
    return this.exception;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy