public class EdmPropertyImpl extends AbstractEdmNamed implements EdmProperty
edm| Constructor and Description |
|---|
EdmPropertyImpl(Edm edm,
CsdlProperty property) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
EdmMapping |
getMapping()
Get mapping information applied to an EDM element.
|
Integer |
getMaxLength() |
String |
getMimeType()
Gets the related MIME type for the property.
|
Integer |
getPrecision() |
Integer |
getScale() |
String |
getScaleAsString() |
SRID |
getSrid() |
EdmType |
getType()
See
EdmType for more information about possible types. |
EdmType |
getTypeWithAnnotations()
See
EdmType for more information about possible types. |
boolean |
isCollection() |
boolean |
isNullable() |
boolean |
isPrimitive()
Gets the info if the property is a primitive property.
|
boolean |
isUnicode() |
getName, toStringgetAnnotation, getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotationspublic EdmPropertyImpl(Edm edm, CsdlProperty property)
public EdmType getType()
EdmTypedEdmType for more information about possible types.public EdmType getTypeWithAnnotations()
EdmPropertyEdmType for more information about possible types.getTypeWithAnnotations in interface EdmPropertyEdmTypepublic boolean isCollection()
isCollection in interface EdmTypedpublic EdmMapping getMapping()
EdmMappablegetMapping in interface EdmMappableEdmMapping or null if no mapping is definedpublic String getMimeType()
EdmPropertygetMimeType in interface EdmPropertypublic boolean isNullable()
isNullable in interface EdmPropertypublic Integer getMaxLength()
getMaxLength in interface EdmPropertypublic Integer getPrecision()
getPrecision in interface EdmPropertypublic Integer getScale()
getScale in interface EdmPropertypublic String getScaleAsString()
getScaleAsString in interface EdmPropertypublic SRID getSrid()
getSrid in interface EdmPropertypublic boolean isUnicode()
isUnicode in interface EdmPropertypublic String getDefaultValue()
getDefaultValue in interface EdmPropertypublic boolean isPrimitive()
EdmPropertyisPrimitive in interface EdmPropertyCopyright © 2023. All rights reserved.