public class CsdlTerm extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
| Constructor and Description | 
|---|
| CsdlTerm() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<CsdlAnnotation> | getAnnotations()Returns a list of annotations | 
| List<String> | getAppliesTo()Gets applies to. | 
| String | getBaseTerm()Gets base term. | 
| String | getDefaultValue()Gets default value. | 
| Integer | getMaxLength()Gets max length. | 
| String | getName()Gets name. | 
| Integer | getPrecision()Gets precision. | 
| Integer | getScale()Gets scale. | 
| SRID | getSrid()Gets srid. | 
| String | getType()Gets type. | 
| boolean | isNullable()Is nullable. | 
| CsdlTerm | setAnnotations(List<CsdlAnnotation> annotations)Sets annotations. | 
| CsdlTerm | setAppliesTo(List<String> appliesTo)Sets applies to. | 
| CsdlTerm | setBaseTerm(String baseTerm)Sets base term. | 
| CsdlTerm | setDefaultValue(String defaultValue)Sets default value. | 
| CsdlTerm | setMaxLength(Integer maxLength)Sets max length. | 
| CsdlTerm | setName(String name)Sets name. | 
| CsdlTerm | setNullable(boolean nullable)Sets nullable. | 
| CsdlTerm | setPrecision(Integer precision)Sets precision. | 
| CsdlTerm | setScale(Integer scale)Sets scale. | 
| CsdlTerm | setSrid(SRID srid)Sets srid. | 
| CsdlTerm | setType(String type)Sets type. | 
getAllByName, getOneByNamepublic CsdlTerm setName(String name)
name - the namepublic String getType()
public CsdlTerm setType(String type)
type - the typepublic String getBaseTerm()
public CsdlTerm setBaseTerm(String baseTerm)
baseTerm - the base termpublic CsdlTerm setAppliesTo(List<String> appliesTo)
appliesTo - the applies topublic String getDefaultValue()
public CsdlTerm setDefaultValue(String defaultValue)
defaultValue - the default valuepublic boolean isNullable()
public CsdlTerm setNullable(boolean nullable)
nullable - the nullablepublic Integer getMaxLength()
public CsdlTerm setMaxLength(Integer maxLength)
maxLength - the max lengthpublic Integer getPrecision()
public CsdlTerm setPrecision(Integer precision)
precision - the precisionpublic Integer getScale()
public CsdlTerm setScale(Integer scale)
scale - the scalepublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatablegetAnnotations in interface CsdlAnnotatablepublic CsdlTerm setAnnotations(List<CsdlAnnotation> annotations)
annotations - the annotationspublic SRID getSrid()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.