org.jbpm.process.core.datatype

## Interface DataType

- All Superinterfaces:
    Externalizable, Serializable
  All Known Implementing Classes:
    BooleanDataType, EnumDataType, FloatDataType, IntegerDataType, ListDataType, ObjectDataType, StringDataType, UndefinedDataType

      public interface DataType
      extends Externalizable

  Abstract representation of a datatype.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getStringType()` Returns the corresponding Java type of this datatype
    `Object` | `readValue(String value)`
    `boolean` | `verifyDataType(Object value)` Returns true if the given value is a valid value of this data type.
    `String` | `writeValue(Object value)`

    - ### Methods inherited from interface java.io.Externalizable

      `readExternal, writeExternal`

- - ### Method Detail

    - #### verifyDataType

          boolean verifyDataType(Object value)

      Returns true if the given value is a valid value of this data type.

    - #### writeValue

          String writeValue(Object value)

    - #### readValue

          Object readValue(String value)

    - #### getStringType

          String getStringType()

      Returns the corresponding Java type of this datatype

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.