public interface DataType extends Externalizable
Modifier and Type | Method and Description |
---|---|
String |
getStringType()
Returns the corresponding Java type of this datatype
|
Object |
readValue(String value) |
default Object |
valueOf(String value)
Tries to convert string parameter to an object of this type
|
boolean |
verifyDataType(Object value)
Returns true if the given value is a valid value of this data type.
|
String |
writeValue(Object value) |
readExternal, writeExternal
boolean verifyDataType(Object value)
String getStringType()
default Object valueOf(String value)
value
- to be converted.
For the sake of performance, it is assumed to not be null and not of this
data type.Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.