public abstract class CsdlStructuralType extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
| Modifier and Type | Field and Description |
|---|---|
protected List<CsdlAnnotation> |
annotations
The Annotations.
|
protected FullQualifiedName |
baseType
The Base type.
|
protected boolean |
isAbstract
The Is abstract.
|
protected boolean |
isOpenType
The Is open type.
|
protected String |
name
The Name.
|
protected List<CsdlNavigationProperty> |
navigationProperties
The Navigation properties.
|
protected List<CsdlProperty> |
properties
The Properties.
|
| Constructor and Description |
|---|
CsdlStructuralType() |
getAllByName, getOneByNameprotected String name
protected boolean isOpenType
protected FullQualifiedName baseType
protected boolean isAbstract
protected List<CsdlProperty> properties
protected List<CsdlNavigationProperty> navigationProperties
protected List<CsdlAnnotation> annotations
public CsdlStructuralType setName(String name)
name - the namepublic boolean isOpenType()
public CsdlStructuralType setOpenType(boolean isOpenType)
isOpenType - the is open typepublic String getBaseType()
public FullQualifiedName getBaseTypeFQN()
public CsdlStructuralType setBaseType(String baseType)
baseType - the base typepublic CsdlStructuralType setBaseType(FullQualifiedName baseType)
baseType - the base typepublic boolean isAbstract()
public CsdlStructuralType setAbstract(boolean isAbstract)
isAbstract - the is abstractpublic List<CsdlProperty> getProperties()
public CsdlProperty getProperty(String name)
name - the namepublic CsdlStructuralType setProperties(List<CsdlProperty> properties)
properties - the propertiespublic List<CsdlNavigationProperty> getNavigationProperties()
public CsdlNavigationProperty getNavigationProperty(String name)
name - the namepublic CsdlStructuralType setNavigationProperties(List<CsdlNavigationProperty> navigationProperties)
navigationProperties - the navigation propertiespublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatablegetAnnotations in interface CsdlAnnotatablepublic CsdlStructuralType setAnnotations(List<CsdlAnnotation> annotations)
annotations - list of annotationsCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.