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()booleanIs 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, getEntitySetMethods 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:CsdlNamedGets name.- Specified by:
getNamein interfaceCsdlNamed- Overrides:
getNamein classCsdlOperationImport- Returns:
- the name
-
setName
Description copied from class:CsdlOperationImportSets name.- Overrides:
setNamein classCsdlOperationImport- Parameters:
name- the name- Returns:
- the name
-
setEntitySet
Description copied from class:CsdlOperationImportSets entity set.- Overrides:
setEntitySetin 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:CsdlOperationImportSets a list of annotations- Overrides:
setAnnotationsin classCsdlOperationImport- Parameters:
annotations- list of annotations- Returns:
- this instance
-
getTitle
-
setTitle
A human readable title for this instance- Parameters:
title-- Returns:
- this instance
-