Class CsdlReturnType
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlReturnType
- All Implemented Interfaces:
CsdlAnnotatable
The type Csdl return type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of annotationsGets max length.Gets precision.getScale()
Gets scale.getSrid()
Gets srid.getType()
Gets type.Gets type fQN.boolean
Is collection.boolean
Is nullable.setAnnotations
(List<CsdlAnnotation> annotations) Sets annotations.setCollection
(boolean isCollection) Sets collection.setMaxLength
(Integer maxLength) Sets max length.setNullable
(boolean nullable) Sets nullable.setPrecision
(Integer precision) Sets precision.Sets scale.Sets srid.Sets type.setType
(FullQualifiedName type) Sets type.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlReturnType
public CsdlReturnType()
-
-
Method Details
-
getType
Gets type.- Returns:
- the type
-
getTypeFQN
Gets type fQN.- Returns:
- the type fQN
-
setType
Sets type.- Parameters:
type
- the type- Returns:
- the type
-
setType
Sets type.- Parameters:
type
- the type- Returns:
- the type
-
isCollection
public boolean isCollection()Is collection.- Returns:
- the boolean
-
setCollection
Sets collection.- Parameters:
isCollection
- the is collection- Returns:
- the collection
-
isNullable
public boolean isNullable()Is nullable.- Returns:
- the boolean
-
setNullable
Sets nullable.- Parameters:
nullable
- the nullable- Returns:
- the nullable
-
getMaxLength
Gets max length.- Returns:
- the max length
-
setMaxLength
Sets max length.- Parameters:
maxLength
- the max length- Returns:
- the max length
-
getPrecision
Gets precision.- Returns:
- the precision
-
setPrecision
Sets precision.- Parameters:
precision
- the precision- Returns:
- the precision
-
getScale
Gets scale.- Returns:
- the scale
-
setScale
Sets scale.- Parameters:
scale
- the scale- Returns:
- the scale
-
getSrid
Gets srid.- Returns:
- the srid
-
setSrid
Sets srid.- Parameters:
srid
- the srid- Returns:
- the srid
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
Sets annotations.- Parameters:
annotations
- the annotations- Returns:
- the annotations
-