Class AbstractEdmOperation
java.lang.Object
org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
org.apache.olingo.commons.core.edm.AbstractEdmNamed
org.apache.olingo.commons.core.edm.EdmTypeImpl
org.apache.olingo.commons.core.edm.AbstractEdmOperation
- All Implemented Interfaces:
EdmAnnotatable,EdmNamed,EdmOperation,EdmType
- Direct Known Subclasses:
EdmActionImpl,EdmFunctionImpl
-
Field Summary
Fields inherited from class org.apache.olingo.commons.core.edm.EdmTypeImpl
kind, typeNameFields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
edm -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEdmOperation(Edm edm, FullQualifiedName name, CsdlOperation operation, EdmTypeKind kind) -
Method Summary
Modifier and TypeMethodDescriptiongetParameter(String name) Get parameter for given nameA list of all parameter names.getReturnedEntitySet(EdmEntitySet bindingParameterEntitySet) Get EdmEntitySet for the given binding parameters EntitySetbooleanisBound()For more information on bound operations please refer to the OData V4 specification.Methods inherited from class org.apache.olingo.commons.core.edm.EdmTypeImpl
getFullQualifiedName, getKind, getNamespaceMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmNamed
getName, toStringMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from interface org.apache.olingo.commons.api.edm.EdmType
getFullQualifiedName, getKind, getNamespace
-
Constructor Details
-
AbstractEdmOperation
protected AbstractEdmOperation(Edm edm, FullQualifiedName name, CsdlOperation operation, EdmTypeKind kind)
-
-
Method Details
-
getParameter
Description copied from interface:EdmOperationGet parameter for given name- Specified by:
getParameterin interfaceEdmOperation- Parameters:
name- name of parameter- Returns:
EdmParameterfor this name
-
getParameterNames
Description copied from interface:EdmOperationA list of all parameter names. If this is a bound action or function the first parameter name in the list is the binding parameter- Specified by:
getParameterNamesin interfaceEdmOperation- Returns:
- a list of all parameter names
-
getReturnedEntitySet
Description copied from interface:EdmOperationGet EdmEntitySet for the given binding parameters EntitySet- Specified by:
getReturnedEntitySetin interfaceEdmOperation- Parameters:
bindingParameterEntitySet- EntitySet of binding parameter- Returns:
EdmEntitySetfor this binding
-
getReturnType
- Specified by:
getReturnTypein interfaceEdmOperation- Returns:
EdmReturnTypeof this operation
-
isBound
public boolean isBound()Description copied from interface:EdmOperationFor more information on bound operations please refer to the OData V4 specification.- Specified by:
isBoundin interfaceEdmOperation- Returns:
- true if bound
-
getBindingParameterTypeFqn
- Specified by:
getBindingParameterTypeFqnin interfaceEdmOperation- Returns:
- the fullqualified type name of the binding parameter
-
isBindingParameterTypeCollection
- Specified by:
isBindingParameterTypeCollectionin interfaceEdmOperation- Returns:
- true if binding parameter is of type collection.
-
getEntitySetPath
- Specified by:
getEntitySetPathin interfaceEdmOperation- Returns:
- the entity set path as a String or null if not present
-