public interface PrimitiveType<T> extends LiteralType<T>
Additional contract for primitive / primitive wrapper types.
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getDefaultValue()
Get this type’s default value.
|
Class |
getPrimitiveClass()
Retrieve the primitive counterpart to the wrapper type identified by
Type.getReturnedClass(). |
String |
toString(T value)
Retrieve the string representation of the given value.
|
objectToSQLStringClass getPrimitiveClass()
Retrieve the primitive counterpart to the wrapper type identified by
Type.getReturnedClass().
String toString(T value)
Retrieve the string representation of the given value.
value - The value to be stringified.Serializable getDefaultValue()
Get this type’s default value.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.