public class CsdlProperty extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
Constructor and Description |
---|
CsdlProperty() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations() |
String |
getDefaultValue() |
CsdlMapping |
getMapping() |
Integer |
getMaxLength() |
String |
getMimeType() |
String |
getName() |
Integer |
getPrecision() |
Integer |
getScale() |
SRID |
getSrid() |
String |
getType() |
FullQualifiedName |
getTypeAsFQNObject() |
boolean |
isCollection() |
boolean |
isNullable() |
boolean |
isUnicode() |
CsdlProperty |
setCollection(boolean isCollection) |
CsdlProperty |
setDefaultValue(String defaultValue) |
CsdlProperty |
setMapping(CsdlMapping mapping) |
CsdlProperty |
setMaxLength(Integer maxLength) |
CsdlProperty |
setMimeType(String mimeType) |
CsdlProperty |
setName(String name) |
CsdlProperty |
setNullable(boolean nullable) |
CsdlProperty |
setPrecision(Integer precision) |
CsdlProperty |
setScale(Integer scale) |
CsdlProperty |
setSrid(SRID srid) |
CsdlProperty |
setType(FullQualifiedName fqnName) |
CsdlProperty |
setType(String type) |
CsdlProperty |
setUnicode(boolean unicode) |
equals, getAllByName, getOneByName, hashCode, toString
public CsdlProperty setName(String name)
public String getType()
public CsdlProperty setType(String type)
public FullQualifiedName getTypeAsFQNObject()
public CsdlProperty setType(FullQualifiedName fqnName)
public boolean isCollection()
public CsdlProperty setCollection(boolean isCollection)
public String getDefaultValue()
public CsdlProperty setDefaultValue(String defaultValue)
public boolean isNullable()
public CsdlProperty setNullable(boolean nullable)
public Integer getMaxLength()
public CsdlProperty setMaxLength(Integer maxLength)
public Integer getPrecision()
public CsdlProperty setPrecision(Integer precision)
public Integer getScale()
public CsdlProperty setScale(Integer scale)
public boolean isUnicode()
public CsdlProperty setUnicode(boolean unicode)
public String getMimeType()
public CsdlProperty setMimeType(String mimeType)
public CsdlMapping getMapping()
public CsdlProperty setMapping(CsdlMapping mapping)
public List<CsdlAnnotation> getAnnotations()
getAnnotations
in interface CsdlAnnotatable
public CsdlProperty setSrid(SRID srid)
public SRID getSrid()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.