Class CsdlFunctionImport
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlOperationImport
org.apache.olingo.commons.api.edm.provider.CsdlFunctionImport
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
The type Csdl function import.
-
Field Summary
Fields inherited from class org.apache.olingo.commons.api.edm.provider.CsdlOperationImport
annotations, entitySet, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets function.Gets function fQN.getName()
Gets name.getTitle()
boolean
Is include in service document.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetEntitySet
(String entitySet) Sets entity set.setFunction
(String function) Sets function.setFunction
(FullQualifiedName function) Sets function.setIncludeInServiceDocument
(boolean includeInServiceDocument) Sets include in service document.Sets name.A human readable title for this instanceMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlOperationImport
getAnnotations, getEntitySet
Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlFunctionImport
public CsdlFunctionImport()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name.- Specified by:
getName
in interfaceCsdlNamed
- Overrides:
getName
in classCsdlOperationImport
- Returns:
- the name
-
setName
Description copied from class:CsdlOperationImport
Sets name.- Overrides:
setName
in classCsdlOperationImport
- Parameters:
name
- the name- Returns:
- the name
-
setEntitySet
Description copied from class:CsdlOperationImport
Sets entity set.- Overrides:
setEntitySet
in classCsdlOperationImport
- Parameters:
entitySet
- the entity set- Returns:
- the entity set
-
getFunction
Gets function.- Returns:
- the function
-
getFunctionFQN
Gets function fQN.- Returns:
- the function fQN
-
setFunction
Sets function.- Parameters:
function
- the function- Returns:
- the function
-
setFunction
Sets function.- Parameters:
function
- the function- Returns:
- the function
-
isIncludeInServiceDocument
public boolean isIncludeInServiceDocument()Is include in service document.- Returns:
- the boolean
-
setIncludeInServiceDocument
Sets include in service document.- Parameters:
includeInServiceDocument
- the include in service document- Returns:
- the include in service document
-
setAnnotations
Description copied from class:CsdlOperationImport
Sets a list of annotations- Overrides:
setAnnotations
in classCsdlOperationImport
- Parameters:
annotations
- list of annotations- Returns:
- this instance
-
getTitle
-
setTitle
A human readable title for this instance- Parameters:
title
-- Returns:
- this instance
-