public class BigDecimalAccessor extends Object implements PropertyAccessor<BigDecimal>
| Constructor and Description |
|---|
BigDecimalAccessor() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
fromBytes(Class targetClass,
byte[] bytes)
From bytes.
|
BigDecimal |
fromString(Class targetClass,
String s)
Converts string representation to the data object whose type is T.
|
BigDecimal |
getCopy(Object object)
Gets copy of object
|
BigDecimal |
getInstance(Class<?> clazz) |
byte[] |
toBytes(Object object)
To bytes.
|
String |
toString(Object object)
Converts Object to String.
|
public BigDecimal fromBytes(Class targetClass, byte[] bytes)
PropertyAccessorfromBytes in interface PropertyAccessor<BigDecimal>bytes - the bpublic byte[] toBytes(Object object)
PropertyAccessortoBytes in interface PropertyAccessor<BigDecimal>object - the objectpublic String toString(Object object)
PropertyAccessortoString in interface PropertyAccessor<BigDecimal>object - the objectpublic BigDecimal fromString(Class targetClass, String s)
PropertyAccessorfromString in interface PropertyAccessor<BigDecimal>s - the spublic BigDecimal getCopy(Object object)
PropertyAccessorgetCopy in interface PropertyAccessor<BigDecimal>public BigDecimal getInstance(Class<?> clazz)
getInstance in interface PropertyAccessor<BigDecimal>Copyright © 2015. All Rights Reserved.