/** * Returns the Force.com API field type for this column. * * @return Force.com API field type */ public FieldType getType() { if (field == null) return null; FieldType type = field.getType(); if (type == FieldType._double && field.getScale() == 0) { type = FieldType._int; } return type; }
/** * Returns the Force.com API field type for this column. * * @return Force.com API field type */ public FieldType getType() { if (field == null) return null; FieldType type = field.getType(); if (type == FieldType._double && field.getScale() == 0) { type = FieldType._int; } return type; }
_hashCode += getScale(); if (getSoapType() != null) { _hashCode += getSoapType().hashCode();
.setScale(column.getField().getScale(), RoundingMode.HALF_DOWN); case date: tvalue = new DateCodec().deserialize((String) o).getTime();
.setScale(column.getField().getScale(), RoundingMode.HALF_DOWN); case date: tvalue = new DateCodec().deserialize((String) o).getTime();
this.relationshipOrder.equals(other.getRelationshipOrder()))) && this.restrictedPicklist == other.isRestrictedPicklist() && this.scale == other.getScale() && ((this.soapType == null && other.getSoapType() == null) || (this.soapType != null &&
column.setNativeType(sfTypeName); column.setCurrency(true); column.setScale(field.getScale()); column.setPrecision(field.getPrecision()); break; column = metadataFactory.addColumn(normalizedName, DataTypeManager.DefaultDataTypes.DOUBLE, table); column.setNativeType(sfTypeName); column.setScale(field.getScale()); column.setPrecision(field.getPrecision()); break;