org.jbpm.process.core.context.variable

## Class Variable

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

- All Implemented Interfaces:
    Serializable, org.drools.core.process.core.TypeObject, ValueObject

      public class Variable
      extends Object
      implements org.drools.core.process.core.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()`
    `org.drools.core.process.core.datatype.DataType` | `getType()`
    `Object` | `getValue()`
    `void` | `setMetaData(String name, Object value)`
    `void` | `setName(String name)`
    `void` | `setType(org.drools.core.process.core.datatype.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 org.drools.core.process.core.datatype.DataType getType()

      Specified by:
        `getType` in interface `org.drools.core.process.core.TypeObject`

    - #### setType

          public void setType(org.drools.core.process.core.datatype.DataType type)

      Specified by:
        `setType` in interface `org.drools.core.process.core.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–2016 JBoss by Red Hat. All rights reserved.