Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## modhelxs.state_management
Class TransientValue<T>

    java.lang.Object
      modhelxs.state_management.Value<T>
          modhelxs.state_management.Attribute<T>
              modhelxs.state_management.TransientValue<T>

All Implemented Interfaces:
  StateValue

    public class TransientValue<T>

extends Attribute<T>

A TransientValue is an Attribute that never changes its permanent value.

Constructor Summary
`TransientValue(java.lang.Class<T> type)` Create a TransientValue for storing a value of type `type`.

Method Summary
`void` | `commit()` Commit the transient value into the permanent value.

Methods inherited from class modhelxs.state_management.Attribute
`getValue, revert, setValue, setValue, toString`

Methods inherited from class modhelxs.state_management.Value
`getType, init, initFromProperty`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TransientValue

    public TransientValue(java.lang.Class<T> type)

  Create a TransientValue for storing a value of type `type`.

Method Detail

### commit

    public void commit()

  Commit the transient value into the permanent value.

  Specified by:
    `commit` in interface `StateValue`
  Overrides:
    `commit` in class `Attribute<T>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD