public class EdmEnumTypeImpl extends EdmTypeImpl implements org.apache.olingo.commons.api.edm.EdmEnumType
kind, typeNameedm| Constructor and Description |
|---|
EdmEnumTypeImpl(org.apache.olingo.commons.api.edm.Edm edm,
org.apache.olingo.commons.api.edm.FullQualifiedName enumName,
org.apache.olingo.commons.api.edm.provider.CsdlEnumType enumType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
fromUriLiteral(String literal) |
Class<?> |
getDefaultType() |
org.apache.olingo.commons.api.edm.EdmMember |
getMember(String name) |
List<String> |
getMemberNames() |
org.apache.olingo.commons.api.edm.EdmPrimitiveType |
getUnderlyingType() |
int |
hashCode() |
boolean |
isCompatible(org.apache.olingo.commons.api.edm.EdmPrimitiveType primitiveType) |
boolean |
isFlags() |
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, getNamespacegetName, toStringgetAnnotation, getAnnotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitvalidateDecimalspublic EdmEnumTypeImpl(org.apache.olingo.commons.api.edm.Edm edm,
org.apache.olingo.commons.api.edm.FullQualifiedName enumName,
org.apache.olingo.commons.api.edm.provider.CsdlEnumType enumType)
public org.apache.olingo.commons.api.edm.EdmPrimitiveType getUnderlyingType()
getUnderlyingType in interface org.apache.olingo.commons.api.edm.EdmEnumTypepublic org.apache.olingo.commons.api.edm.EdmMember getMember(String name)
getMember in interface org.apache.olingo.commons.api.edm.EdmEnumTypepublic List<String> getMemberNames()
getMemberNames in interface org.apache.olingo.commons.api.edm.EdmEnumTypepublic 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.EdmPrimitiveTypepublic String fromUriLiteral(String literal) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
fromUriLiteral in interface org.apache.olingo.commons.api.edm.EdmPrimitiveTypeorg.apache.olingo.commons.api.edm.EdmPrimitiveTypeExceptionpublic boolean isFlags()
isFlags in interface org.apache.olingo.commons.api.edm.EdmEnumTypeCopyright © 2013–2020 The Apache Software Foundation. All rights reserved.