public class BigDecimalType extends Object implements ExtendedType<BigDecimal>
TRIM_VALUES_THRESHOLD| Constructor and Description | 
|---|
| BigDecimalType() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClassName()Returns a full name of Java class that this ExtendedType supports. | 
| BigDecimal | materializeObject(CallableStatement rs,
                 int index,
                 int type)Reads an object from a stored procedure OUT parameter, converting it to class
 returned by 'getClassName' method. | 
| BigDecimal | materializeObject(ResultSet rs,
                 int index,
                 int type)Reads an object from JDBC ResultSet column, converting it to class returned by
 'getClassName' method. | 
| void | setJdbcObject(PreparedStatement statement,
             BigDecimal value,
             int pos,
             int type,
             int scale)Initializes a single parameter of a PreparedStatement with object value. | 
| String | toString(BigDecimal value)Converts value of the supported type to a human-readable String representation. | 
public String getClassName()
ExtendedTypegetClassName in interface ExtendedType<BigDecimal>public BigDecimal materializeObject(ResultSet rs, int index, int type) throws Exception
ExtendedTypematerializeObject in interface ExtendedType<BigDecimal>Exception - if read error occurred, or an object can't be converted to a
                   target Java class.public BigDecimal materializeObject(CallableStatement rs, int index, int type) throws Exception
ExtendedTypematerializeObject in interface ExtendedType<BigDecimal>Exception - if read error occurred, or an object can't be converted to a
                   target Java class.public void setJdbcObject(PreparedStatement statement, BigDecimal value, int pos, int type, int scale) throws Exception
ExtendedTypesetJdbcObject in interface ExtendedType<BigDecimal>Exceptionpublic String toString(BigDecimal value)
ExtendedTypetoString in interface ExtendedType<BigDecimal>value - a value to convert to String.Copyright © 2001–2023 Apache Cayenne. All rights reserved.