Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.foundation
Interface State

All Superinterfaces
  Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable

All Known Implementing Classes:
  StateImpl

Deprecated See BEA Commerce product offering

    @Deprecated
    public interface State

extends Belonging

Represents a discrete state in a state machine or workflow. It is contained by a `StateMachine` and refered to by `Transitions` A name that identifies the state uniquely within the context of a state machine.

                      name
     [State] <*>------> [java.lang.String]

See Also
  `StateHome`, `StateImpl`

Method Summary
`void` | `enter(Transition trans)` Deprecated See BEA Commerce product offering
`void` | `error(Transition trans)` Deprecated See BEA Commerce product offering
`void` | `exit(Transition trans)` Deprecated See BEA Commerce product offering
`TransitionPolicy` | `getEnterPolicy()` Deprecated See BEA Commerce product offering
`TransitionPolicy` | `getErrorPolicy()` Deprecated See BEA Commerce product offering
`TransitionPolicy` | `getExitPolicy()` Deprecated See BEA Commerce product offering
`String` | `getName()` Deprecated See BEA Commerce product offering
`void` | `setEnterPolicy(TransitionPolicy policy)` Deprecated See BEA Commerce product offering
`void` | `setErrorPolicy(TransitionPolicy policy)` Deprecated See BEA Commerce product offering
`void` | `setExitPolicy(TransitionPolicy policy)` Deprecated See BEA Commerce product offering
`void` | `setName(String name)` Deprecated See BEA Commerce product offering

Methods inherited from interface com.beasys.commerce.foundation.Belonging
`clone, equals, interfaceName, setByValue, value`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### getName

    String getName()

  Deprecated See BEA Commerce product offering

  Get the value of name

  Returns
    name.

### setName

    void setName(String name)

  Deprecated See BEA Commerce product offering

  Set the value of name

  Parameters
    `names` - name to be added

### enter

    void enter(Transition trans)

  Deprecated See BEA Commerce product offering

  This method is invoked whenever the state is entered. It searches for an enter policy and invokes it.

### exit

    void exit(Transition trans)

  Deprecated See BEA Commerce product offering

  This method is invoked whenever the state is transitioned from. It searches for an Exit Policy and invokes it if present.

### error

    void error(Transition trans)

  Deprecated See BEA Commerce product offering

  This method is invoked whenever the state is transitioned from in erro. It searches for an Error Policy and invokes it if present

### setEnterPolicy

    void setEnterPolicy(TransitionPolicy policy)

  Deprecated See BEA Commerce product offering

  Set a transition policy that is invoked when the state is entered.

### getEnterPolicy

    TransitionPolicy getEnterPolicy()

  Deprecated See BEA Commerce product offering

  Get the transition policy that is invoked when the state is entered.

### setExitPolicy

    void setExitPolicy(TransitionPolicy policy)

  Deprecated See BEA Commerce product offering

  Set a transition policy that is invoked when the state is exited.

### getExitPolicy

    TransitionPolicy getExitPolicy()

  Deprecated See BEA Commerce product offering

  Get the transition policy that is invoked when the state is exited.

### setErrorPolicy

    void setErrorPolicy(TransitionPolicy policy)

  Deprecated See BEA Commerce product offering

  Set a transition policy that is invoked when the state is exited with an invalid transition.

### getErrorPolicy

    TransitionPolicy getErrorPolicy()

  Deprecated See BEA Commerce product offering

  Set the transition policy that is invoked when the state is exited with an invalid transition.

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

Copyright © 2008 BEA Systems, Inc. All Rights Reserved