Class CsdlBindingTarget
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlBindingTarget
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
- Direct Known Subclasses:
CsdlEntitySet
,CsdlSingleton
public abstract class CsdlBindingTarget
extends CsdlAbstractEdmItem
implements CsdlNamed, CsdlAnnotatable
The type Csdl binding target.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CsdlMapping
Mapping for server use casesprotected String
The Name.protected List<CsdlNavigationPropertyBinding>
The Navigation property bindings.protected String
The human readable title.protected FullQualifiedName
The Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of annotationsgetName()
Gets name.Gets navigation property bindings.getTitle()
getType()
Gets type.Gets type fQN.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetMapping
(CsdlMapping mapping) Sets the mapping object for this binding target.Sets name.setNavigationPropertyBindings
(List<CsdlNavigationPropertyBinding> navigationPropertyBindings) Sets navigation property bindings.A human readable title for this instanceSets type.setType
(FullQualifiedName type) Sets type.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Field Details
-
name
The Name. -
title
The human readable title. -
type
The Type. -
mapping
Mapping for server use cases
-
-
Constructor Details
-
CsdlBindingTarget
public CsdlBindingTarget()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name. -
setName
Sets name.- Parameters:
name
- the name- Returns:
- the name
-
getType
Gets type.- Returns:
- the type
-
getTypeFQN
Gets type fQN.- Returns:
- the type fQN
-
setType
Sets type.- Parameters:
type
- the type- Returns:
- the type
-
setType
Sets type.- Parameters:
type
- the type- Returns:
- the type
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
Sets a list of annotations- Parameters:
annotations
- list of annotations- Returns:
- this instance
-
getTitle
-
setTitle
A human readable title for this instance- Parameters:
title
-- Returns:
- this instance
-
getMapping
-
setMapping
Sets the mapping object for this binding target.- Parameters:
mapping
-- Returns:
- this instance
-