org.jbpm.process.core.context.variable

## Class Variable

- java.lang.Object
- - org.jbpm.process.core.context.variable.Variable

- All Implemented Interfaces:
    Serializable, TypeObject, ValueObject

      public class Variable
      extends Object
      implements TypeObject, ValueObject, Serializable

  Default implementation of a variable.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Variable()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `getMetaData()`
    `Object` | `getMetaData(String name)`
    `String` | `getName()`
    `DataType` | `getType()`
    `Object` | `getValue()`
    `void` | `setMetaData(String name, Object value)`
    `void` | `setName(String name)`
    `void` | `setType(DataType type)`
    `void` | `setValue(Object value)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Variable

          public Variable()

  - ### Method Detail

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getType

          public DataType getType()

      Specified by:
        `getType` in interface `TypeObject`

    - #### setType

          public void setType(DataType type)

      Specified by:
        `setType` in interface `TypeObject`

    - #### getValue

          public Object getValue()

      Specified by:
        `getValue` in interface `ValueObject`

    - #### setValue

          public void setValue(Object value)

      Specified by:
        `setValue` in interface `ValueObject`

    - #### setMetaData

          public void setMetaData(String name,
                                  Object value)

    - #### getMetaData

          public Object getMetaData(String name)

    - #### getMetaData

          public Map<String,Object> getMetaData()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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