public abstract class SingletonPrimitiveType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
uriPrefix |
protected String |
uriSuffix |
| Constructor and Description |
|---|
SingletonPrimitiveType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
fromUriLiteral(String literal) |
org.apache.olingo.commons.api.edm.FullQualifiedName |
getFullQualifiedName() |
org.apache.olingo.commons.api.edm.constants.EdmTypeKind |
getKind() |
String |
getName() |
String |
getNamespace() |
int |
hashCode() |
protected abstract <T> T |
internalValueOfString(String value,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode,
Class<T> returnType) |
protected abstract <T> String |
internalValueToString(T value,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode) |
boolean |
isCompatible(org.apache.olingo.commons.api.edm.EdmPrimitiveType primitiveType) |
String |
toString() |
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) |
public String getNamespace()
public String getName()
public org.apache.olingo.commons.api.edm.constants.EdmTypeKind getKind()
public org.apache.olingo.commons.api.edm.FullQualifiedName getFullQualifiedName()
getFullQualifiedName in interface org.apache.olingo.commons.api.edm.EdmTypepublic boolean isCompatible(org.apache.olingo.commons.api.edm.EdmPrimitiveType primitiveType)
isCompatible 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 final <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.EdmPrimitiveTypeExceptionprotected abstract <T> T internalValueOfString(String value, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode, Class<T> returnType) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
org.apache.olingo.commons.api.edm.EdmPrimitiveTypeExceptionpublic final 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.EdmPrimitiveTypeExceptionprotected abstract <T> String internalValueToString(T value, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
org.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.EdmPrimitiveTypeExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.