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.boolean
Has stream.boolean
Has 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, isOpenType
Methods 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:CsdlStructuralType
Sets name.- Overrides:
setName
in classCsdlStructuralType
- Parameters:
name
- the name- Returns:
- the name
-
setOpenType
Description copied from class:CsdlStructuralType
Sets open type.- Overrides:
setOpenType
in classCsdlStructuralType
- Parameters:
isOpenType
- the is open type- Returns:
- the open type
-
setBaseType
Description copied from class:CsdlStructuralType
Sets base type.- Overrides:
setBaseType
in classCsdlStructuralType
- Parameters:
baseType
- the base type- Returns:
- the base type
-
setBaseType
Description copied from class:CsdlStructuralType
Sets base type.- Overrides:
setBaseType
in classCsdlStructuralType
- Parameters:
baseType
- the base type- Returns:
- the base type
-
setAbstract
Description copied from class:CsdlStructuralType
Sets abstract.- Overrides:
setAbstract
in classCsdlStructuralType
- Parameters:
isAbstract
- the is abstract- Returns:
- the abstract
-
setProperties
Description copied from class:CsdlStructuralType
Sets properties.- Overrides:
setProperties
in classCsdlStructuralType
- Parameters:
properties
- the properties- Returns:
- the properties
-
setAnnotations
Description copied from class:CsdlStructuralType
Sets a list of annotations- Overrides:
setAnnotations
in classCsdlStructuralType
- Parameters:
annotations
- list of annotations- Returns:
- this instance
-