public class CsdlReturnType extends CsdlAbstractEdmItem implements CsdlAnnotatable
| Constructor and Description |
|---|
CsdlReturnType() |
| Modifier and Type | Method and Description |
|---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
Integer |
getMaxLength()
Gets max length.
|
Integer |
getPrecision()
Gets precision.
|
Integer |
getScale()
Gets scale.
|
SRID |
getSrid()
Gets srid.
|
String |
getType()
Gets type.
|
FullQualifiedName |
getTypeFQN()
Gets type fQN.
|
boolean |
isCollection()
Is collection.
|
boolean |
isNullable()
Is nullable.
|
CsdlReturnType |
setAnnotations(List<CsdlAnnotation> annotations)
Sets annotations.
|
CsdlReturnType |
setCollection(boolean isCollection)
Sets collection.
|
CsdlReturnType |
setMaxLength(Integer maxLength)
Sets max length.
|
CsdlReturnType |
setNullable(boolean nullable)
Sets nullable.
|
CsdlReturnType |
setPrecision(Integer precision)
Sets precision.
|
CsdlReturnType |
setScale(Integer scale)
Sets scale.
|
CsdlReturnType |
setSrid(SRID srid)
Sets srid.
|
CsdlReturnType |
setType(FullQualifiedName type)
Sets type.
|
CsdlReturnType |
setType(String type)
Sets type.
|
getAllByName, getOneByNamepublic String getType()
public FullQualifiedName getTypeFQN()
public CsdlReturnType setType(String type)
type - the typepublic CsdlReturnType setType(FullQualifiedName type)
type - the typepublic boolean isCollection()
public CsdlReturnType setCollection(boolean isCollection)
isCollection - the is collectionpublic boolean isNullable()
public CsdlReturnType setNullable(boolean nullable)
nullable - the nullablepublic Integer getMaxLength()
public CsdlReturnType setMaxLength(Integer maxLength)
maxLength - the max lengthpublic Integer getPrecision()
public CsdlReturnType setPrecision(Integer precision)
precision - the precisionpublic Integer getScale()
public CsdlReturnType setScale(Integer scale)
scale - the scalepublic SRID getSrid()
public CsdlReturnType setSrid(SRID srid)
srid - the sridpublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatablegetAnnotations in interface CsdlAnnotatablepublic CsdlReturnType setAnnotations(List<CsdlAnnotation> annotations)
annotations - the annotationsCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.