org.apache.camel.component.olingo2.internal.Olingo2AppApiMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-olingo2 Show documentation
Show all versions of camel-olingo2 Show documentation
Camel Component for Apache Olingo2
/*
* Camel ApiMethod Enumeration generated by camel-component-util-maven-plugin
* Generated on: Tue Mar 03 12:32:46 UTC 2015
*/
package org.apache.camel.component.olingo2.internal;
import java.lang.reflect.Method;
import java.util.List;
import org.apache.camel.component.olingo2.api.Olingo2App;
import org.apache.camel.util.component.ApiMethod;
import org.apache.camel.util.component.ApiMethodImpl;
/**
* Camel {@link ApiMethod} Enumeration for org.apache.camel.component.olingo2.api.Olingo2App
*/
public enum Olingo2AppApiMethod implements ApiMethod {
BATCH(void.class, "batch", org.apache.olingo.odata2.api.edm.Edm.class, "edm", Object.class, "data", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
CREATE(void.class, "create", org.apache.olingo.odata2.api.edm.Edm.class, "edm", String.class, "resourcePath", Object.class, "data", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
DELETE(void.class, "delete", String.class, "resourcePath", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
MERGE(void.class, "merge", org.apache.olingo.odata2.api.edm.Edm.class, "edm", String.class, "resourcePath", Object.class, "data", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
PATCH(void.class, "patch", org.apache.olingo.odata2.api.edm.Edm.class, "edm", String.class, "resourcePath", Object.class, "data", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
READ(void.class, "read", org.apache.olingo.odata2.api.edm.Edm.class, "edm", String.class, "resourcePath", java.util.Map.class, "queryParams", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler"),
UPDATE(void.class, "update", org.apache.olingo.odata2.api.edm.Edm.class, "edm", String.class, "resourcePath", Object.class, "data", org.apache.camel.component.olingo2.api.Olingo2ResponseHandler.class, "responseHandler");
private final ApiMethod apiMethod;
private Olingo2AppApiMethod(Class> resultType, String name, Object... args) {
this.apiMethod = new ApiMethodImpl(Olingo2App.class, resultType, name, args);
}
@Override
public String getName() { return apiMethod.getName(); }
@Override
public Class> getResultType() { return apiMethod.getResultType(); }
@Override
public List getArgNames() { return apiMethod.getArgNames(); }
@Override
public List> getArgTypes() { return apiMethod.getArgTypes(); }
@Override
public Method getMethod() { return apiMethod.getMethod(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy