return EdmPrimitiveTypeKind.Boolean;
} else if (value instanceof String) {
return EdmPrimitiveTypeKind.String;
} else if (value instanceof UUID) {
return EdmPrimitiveTypeKind.Guid;
<BUG>} else if (value instanceof Long || value instanceof BigInteger || long.class.isAssignableFrom(cls)) {
return EdmPrimitiveTypeKind.Int64;
} else if (value instanceof Integer || int.class.isAssignableFrom(cls)) {
return EdmPrimitiveTypeKind.Int32;
} else if (value instanceof Short || short.class.isAssignableFrom(cls)) {
return EdmPrimitiveTypeKind.Int16;
} else if (value instanceof Byte || byte.class.isAssignableFrom(cls)) {
return EdmPrimitiveTypeKind.SByte;</BUG>
} else if (value instanceof BigDecimal) {

return EdmPrimitiveTypeKind.Boolean;
} else if (value instanceof String) {
return EdmPrimitiveTypeKind.String;
} else if (value instanceof UUID) {
return EdmPrimitiveTypeKind.Guid;
} else if (value instanceof Long || value instanceof BigInteger) {
return EdmPrimitiveTypeKind.Int64;
} else if (value instanceof Integer) {
return EdmPrimitiveTypeKind.Int32;
} else if (value instanceof Short) {
return EdmPrimitiveTypeKind.Int16;
} else if (value instanceof Byte) {
return EdmPrimitiveTypeKind.SByte;
} else if (value instanceof BigDecimal) {
