public class BigIntegerValueType extends Object implements ValueObjectType<BigInteger,Long>
Constructor and Description |
---|
BigIntegerValueType() |
Modifier and Type | Method and Description |
---|---|
Long |
fromJavaObject(BigInteger object) |
Class<Long> |
getTargetType() |
Class<BigInteger> |
getValueType() |
String |
toCacheKey(BigInteger object)
Returned value should be same for objects that is logically equal.
|
BigInteger |
toJavaObject(Long value) |
public Class<Long> getTargetType()
getTargetType
in interface ValueObjectType<BigInteger,Long>
public Class<BigInteger> getValueType()
getValueType
in interface ValueObjectType<BigInteger,Long>
public BigInteger toJavaObject(Long value)
toJavaObject
in interface ValueObjectType<BigInteger,Long>
value
- of type Tpublic Long fromJavaObject(BigInteger object)
fromJavaObject
in interface ValueObjectType<BigInteger,Long>
object
- java objectpublic String toCacheKey(BigInteger object)
ValueObjectType
toCacheKey
in interface ValueObjectType<BigInteger,Long>
Copyright © 2001–2017 Apache Cayenne. All rights reserved.