public abstract class CsdlBindingTarget extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
| Modifier and Type | Field and Description |
|---|---|
protected CsdlMapping |
mapping
Mapping for server use cases
|
protected String |
name
The Name.
|
protected List<CsdlNavigationPropertyBinding> |
navigationPropertyBindings
The Navigation property bindings.
|
protected String |
title
The human readable title.
|
protected FullQualifiedName |
type
The Type.
|
| Constructor and Description |
|---|
CsdlBindingTarget() |
| Modifier and Type | Method and Description |
|---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
CsdlMapping |
getMapping() |
String |
getName()
Gets name.
|
List<CsdlNavigationPropertyBinding> |
getNavigationPropertyBindings()
Gets navigation property bindings.
|
String |
getTitle() |
String |
getType()
Gets type.
|
FullQualifiedName |
getTypeFQN()
Gets type fQN.
|
CsdlBindingTarget |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlBindingTarget |
setMapping(CsdlMapping mapping)
Sets the mapping object for this binding target.
|
CsdlBindingTarget |
setName(String name)
Sets name.
|
CsdlBindingTarget |
setNavigationPropertyBindings(List<CsdlNavigationPropertyBinding> navigationPropertyBindings)
Sets navigation property bindings.
|
CsdlBindingTarget |
setTitle(String title)
A human readable title for this instance
|
CsdlBindingTarget |
setType(FullQualifiedName type)
Sets type.
|
CsdlBindingTarget |
setType(String type)
Sets type.
|
getAllByName, getOneByNameprotected String name
protected String title
protected FullQualifiedName type
protected List<CsdlNavigationPropertyBinding> navigationPropertyBindings
protected CsdlMapping mapping
public CsdlBindingTarget setName(String name)
name - the namepublic String getType()
public FullQualifiedName getTypeFQN()
public CsdlBindingTarget setType(String type)
type - the typepublic CsdlBindingTarget setType(FullQualifiedName type)
type - the typepublic List<CsdlNavigationPropertyBinding> getNavigationPropertyBindings()
public CsdlBindingTarget setNavigationPropertyBindings(List<CsdlNavigationPropertyBinding> navigationPropertyBindings)
navigationPropertyBindings - the navigation property bindingspublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatablegetAnnotations in interface CsdlAnnotatablepublic CsdlBindingTarget setAnnotations(List<CsdlAnnotation> annotations)
annotations - list of annotationspublic String getTitle()
public CsdlBindingTarget setTitle(String title)
title - public CsdlMapping getMapping()
public CsdlBindingTarget setMapping(CsdlMapping mapping)
mapping - Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.