Class CsdlEntityType
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlStructuralType
org.apache.olingo.commons.api.edm.provider.CsdlEntityType
- All Implemented Interfaces:
CsdlAnnotatable,CsdlNamed
The type Csdl entity type.
-
Field Summary
Fields inherited from class org.apache.olingo.commons.api.edm.provider.CsdlStructuralType
annotations, baseType, isAbstract, isOpenType, name, navigationProperties, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets key.booleanHas stream.booleanHas stream.setAbstract(boolean isAbstract) Sets abstract.setAnnotations(List<CsdlAnnotation> annotations) Sets a list of annotationssetBaseType(String baseType) Sets base type.setBaseType(FullQualifiedName baseType) Sets base type.setHasStream(boolean hasStream) Sets has stream.setKey(List<CsdlPropertyRef> key) Sets key.Sets name.setNavigationProperties(List<CsdlNavigationProperty> navigationProperties) Sets navigation properties.setOpenType(boolean isOpenType) Sets open type.setProperties(List<CsdlProperty> properties) Sets properties.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlStructuralType
getAnnotations, getBaseType, getBaseTypeFQN, getName, getNavigationProperties, getNavigationProperty, getProperties, getProperty, isAbstract, isOpenTypeMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlEntityType
public CsdlEntityType()
-
-
Method Details
-
hasStream
public boolean hasStream()Has stream.- Returns:
- the boolean
-
isHasStream
public boolean isHasStream()Has stream. Duplicate getter according to java naming conventions.- Returns:
- the boolean
-
setHasStream
Sets has stream.- Parameters:
hasStream- the has stream- Returns:
- the has stream
-
getKey
Gets key.- Returns:
- the key
-
setKey
Sets key.- Parameters:
key- the key- Returns:
- the key
-
setName
Description copied from class:CsdlStructuralTypeSets name.- Overrides:
setNamein classCsdlStructuralType- Parameters:
name- the name- Returns:
- the name
-
setOpenType
Description copied from class:CsdlStructuralTypeSets open type.- Overrides:
setOpenTypein classCsdlStructuralType- Parameters:
isOpenType- the is open type- Returns:
- the open type
-
setBaseType
Description copied from class:CsdlStructuralTypeSets base type.- Overrides:
setBaseTypein classCsdlStructuralType- Parameters:
baseType- the base type- Returns:
- the base type
-
setBaseType
Description copied from class:CsdlStructuralTypeSets base type.- Overrides:
setBaseTypein classCsdlStructuralType- Parameters:
baseType- the base type- Returns:
- the base type
-
setAbstract
Description copied from class:CsdlStructuralTypeSets abstract.- Overrides:
setAbstractin classCsdlStructuralType- Parameters:
isAbstract- the is abstract- Returns:
- the abstract
-
setProperties
Description copied from class:CsdlStructuralTypeSets properties.- Overrides:
setPropertiesin classCsdlStructuralType- Parameters:
properties- the properties- Returns:
- the properties
-
setAnnotations
Description copied from class:CsdlStructuralTypeSets a list of annotations- Overrides:
setAnnotationsin classCsdlStructuralType- Parameters:
annotations- list of annotations- Returns:
- this instance
-