public class CsdlTypeDefinition extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
Constructor and Description |
---|
CsdlTypeDefinition() |
getAllByName, getOneByName
public CsdlTypeDefinition setName(String name)
name
- the namepublic String getUnderlyingType()
public CsdlTypeDefinition setUnderlyingType(String underlyingType)
underlyingType
- the underlying typepublic CsdlTypeDefinition setUnderlyingType(FullQualifiedName underlyingType)
underlyingType
- the underlying typepublic Integer getMaxLength()
public CsdlTypeDefinition setMaxLength(Integer maxLength)
maxLength
- the max lengthpublic Integer getPrecision()
public CsdlTypeDefinition setPrecision(Integer precision)
precision
- the precisionpublic Integer getScale()
public CsdlTypeDefinition setScale(Integer scale)
scale
- the scalepublic boolean isUnicode()
public CsdlTypeDefinition setUnicode(boolean unicode)
unicode
- the unicodepublic SRID getSrid()
public CsdlTypeDefinition setSrid(SRID srid)
srid
- the sridpublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlTypeDefinition setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.