public abstract class CsdlStructuralType extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
Modifier and Type | Field and Description |
---|---|
protected List<CsdlAnnotation> |
annotations |
protected FullQualifiedName |
baseType |
protected boolean |
isAbstract |
protected boolean |
isOpenType |
protected String |
name |
protected List<CsdlNavigationProperty> |
navigationProperties |
protected List<CsdlProperty> |
properties |
Constructor and Description |
---|
CsdlStructuralType() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations() |
String |
getBaseType() |
FullQualifiedName |
getBaseTypeFQN() |
String |
getName() |
List<CsdlNavigationProperty> |
getNavigationProperties() |
CsdlNavigationProperty |
getNavigationProperty(String name) |
List<CsdlProperty> |
getProperties() |
CsdlProperty |
getProperty(String name) |
boolean |
isAbstract() |
boolean |
isOpenType() |
CsdlStructuralType |
setAbstract(boolean isAbstract) |
CsdlStructuralType |
setBaseType(FullQualifiedName baseType) |
CsdlStructuralType |
setBaseType(String baseType) |
CsdlStructuralType |
setName(String name) |
CsdlStructuralType |
setNavigationProperties(List<CsdlNavigationProperty> navigationProperties) |
CsdlStructuralType |
setOpenType(boolean isOpenType) |
CsdlStructuralType |
setProperties(List<CsdlProperty> properties) |
equals, getAllByName, getOneByName, hashCode, toString
protected String name
protected boolean isOpenType
protected FullQualifiedName baseType
protected boolean isAbstract
protected List<CsdlProperty> properties
protected List<CsdlNavigationProperty> navigationProperties
protected final List<CsdlAnnotation> annotations
public CsdlStructuralType setName(String name)
public boolean isOpenType()
public CsdlStructuralType setOpenType(boolean isOpenType)
public String getBaseType()
public FullQualifiedName getBaseTypeFQN()
public CsdlStructuralType setBaseType(String baseType)
public CsdlStructuralType setBaseType(FullQualifiedName baseType)
public boolean isAbstract()
public CsdlStructuralType setAbstract(boolean isAbstract)
public List<CsdlProperty> getProperties()
public CsdlProperty getProperty(String name)
public CsdlStructuralType setProperties(List<CsdlProperty> properties)
public List<CsdlNavigationProperty> getNavigationProperties()
public CsdlNavigationProperty getNavigationProperty(String name)
public CsdlStructuralType setNavigationProperties(List<CsdlNavigationProperty> navigationProperties)
public List<CsdlAnnotation> getAnnotations()
getAnnotations
in interface CsdlAnnotatable
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.