public class EdmTypeDefinitionImpl extends EdmTypeImpl implements org.apache.olingo.commons.api.edm.EdmTypeDefinition
kind, typeNameedm| Constructor and Description |
|---|
EdmTypeDefinitionImpl(org.apache.olingo.commons.api.edm.Edm edm,
org.apache.olingo.commons.api.edm.FullQualifiedName typeDefinitionName,
org.apache.olingo.commons.api.edm.provider.CsdlTypeDefinition typeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
String |
fromUriLiteral(String literal) |
Class<?> |
getDefaultType() |
Integer |
getMaxLength() |
Integer |
getPrecision() |
Integer |
getScale() |
org.apache.olingo.commons.api.edm.geo.SRID |
getSrid() |
org.apache.olingo.commons.api.edm.EdmPrimitiveType |
getUnderlyingType() |
boolean |
isCompatible(org.apache.olingo.commons.api.edm.EdmPrimitiveType primitiveType) |
Boolean |
isUnicode() |
String |
toUriLiteral(String literal) |
boolean |
validate(String value,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode) |
<T> T |
valueOfString(String value,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode,
Class<T> returnType) |
String |
valueToString(Object value,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode) |
getFullQualifiedName, getKind, getNamespacegetNamegetAnnotation, getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EdmTypeDefinitionImpl(org.apache.olingo.commons.api.edm.Edm edm,
org.apache.olingo.commons.api.edm.FullQualifiedName typeDefinitionName,
org.apache.olingo.commons.api.edm.provider.CsdlTypeDefinition typeDefinition)
public org.apache.olingo.commons.api.edm.EdmPrimitiveType getUnderlyingType()
getUnderlyingType in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic Integer getMaxLength()
getMaxLength in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic Integer getPrecision()
getPrecision in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic Integer getScale()
getScale in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic org.apache.olingo.commons.api.edm.geo.SRID getSrid()
getSrid in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic Boolean isUnicode()
isUnicode in interface org.apache.olingo.commons.api.edm.EdmTypeDefinitionpublic boolean isCompatible(org.apache.olingo.commons.api.edm.EdmPrimitiveType primitiveType)
isCompatible in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypepublic Class<?> getDefaultType()
getDefaultType in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypepublic boolean validate(String value, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode)
validate in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypepublic <T> T valueOfString(String value, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode, Class<T> returnType) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
valueOfString in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypeorg.apache.olingo.commons.api.edm.EdmPrimitiveTypeExceptionpublic String valueToString(Object value, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
valueToString in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypeorg.apache.olingo.commons.api.edm.EdmPrimitiveTypeExceptionpublic String toUriLiteral(String literal)
toUriLiteral in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypeCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.