public class CsdlSingleton extends CsdlBindingTarget
mapping, name, navigationPropertyBindings, title, type
Constructor and Description |
---|
CsdlSingleton() |
Modifier and Type | Method and Description |
---|---|
CsdlSingleton |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlSingleton |
setMapping(CsdlMapping mapping)
Sets the mapping object for this binding target.
|
CsdlSingleton |
setName(String name)
Sets name.
|
CsdlSingleton |
setNavigationPropertyBindings(List<CsdlNavigationPropertyBinding> navigationPropertyBindings)
Sets navigation property bindings.
|
CsdlSingleton |
setTitle(String title)
A human readable title for this instance
|
CsdlSingleton |
setType(FullQualifiedName type)
Sets type.
|
CsdlSingleton |
setType(String type)
Sets type.
|
getAnnotations, getMapping, getName, getNavigationPropertyBindings, getTitle, getType, getTypeFQN
getAllByName, getOneByName
public CsdlSingleton setName(String name)
CsdlBindingTarget
setName
in class CsdlBindingTarget
name
- the namepublic CsdlSingleton setType(String type)
CsdlBindingTarget
setType
in class CsdlBindingTarget
type
- the typepublic CsdlSingleton setType(FullQualifiedName type)
CsdlBindingTarget
setType
in class CsdlBindingTarget
type
- the typepublic CsdlSingleton setNavigationPropertyBindings(List<CsdlNavigationPropertyBinding> navigationPropertyBindings)
CsdlBindingTarget
setNavigationPropertyBindings
in class CsdlBindingTarget
navigationPropertyBindings
- the navigation property bindingspublic CsdlSingleton setAnnotations(List<CsdlAnnotation> annotations)
CsdlBindingTarget
setAnnotations
in class CsdlBindingTarget
annotations
- list of annotationspublic CsdlSingleton setTitle(String title)
CsdlBindingTarget
setTitle
in class CsdlBindingTarget
public CsdlSingleton setMapping(CsdlMapping mapping)
CsdlBindingTarget
setMapping
in class CsdlBindingTarget
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.