Package org.apache.olingo.odata2.api.edm
Interface EdmFunctionImport
-
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed
public interface EdmFunctionImport extends EdmMappable, EdmNamed, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement A CSDL FunctionImport element EdmFunctionImport can be used model functions which have input parameters, an associated HTTP Method and a return type which can be of different kinds:EdmSimpleTypeor a collection of simple typesEdmEntityTypeor a collection of entity typesEdmEntitySet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmEntityContainergetEntityContainer()Get the entity container the function import is contained inEdmEntitySetgetEntitySet()Get the edm entity setStringgetHttpMethod()Get the HTTP MethodEdmParametergetParameter(String name)Get the parameter by nameCollection<String>getParameterNames()Get all parameter namesEdmTypedgetReturnType()-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMapping
-
-
-
-
Method Detail
-
getParameter
EdmParameter getParameter(String name) throws EdmException
Get the parameter by name- Parameters:
name- Nome- Returns:
EdmParameter- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getParameterNames
Collection<String> getParameterNames() throws EdmException
Get all parameter names- Returns:
- collection of parameter names of type Collection<String>
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEntitySet
EdmEntitySet getEntitySet() throws EdmException
Get the edm entity set- Returns:
EdmEntitySet- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getHttpMethod
String getHttpMethod() throws EdmException
Get the HTTP Method- Returns:
- HTTP Method as String
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getReturnType
EdmTyped getReturnType() throws EdmException
- Returns:
EdmTyped- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEntityContainer
EdmEntityContainer getEntityContainer() throws EdmException
Get the entity container the function import is contained in- Returns:
EdmEntityContainer- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-