Class CsdlParameter
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlParameter
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
The type Csdl parameter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of annotationsGets mapping.Gets max length.getName()
Gets name.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 a list of annotationssetCollection
(boolean isCollection) Sets collection.setMapping
(CsdlMapping mapping) Sets mapping.setMaxLength
(Integer maxLength) Sets max length.Sets name.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
-
CsdlParameter
public CsdlParameter()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name. -
setName
Sets name.- Parameters:
name
- the name- Returns:
- the name
-
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 a list of annotations- Parameters:
annotations
- list of annotations- Returns:
- this instance
-
getMapping
Gets mapping.- Returns:
- the mapping
-
setMapping
Sets mapping.- Parameters:
mapping
- the mapping- Returns:
- the mapping
-