org.apache.ode.bpel.dao

## Class RoleEnum

- java.lang.Object
- - org.apache.ode.bpel.dao.RoleEnum

-     public class RoleEnum
      extends java.lang.Object

  Partner-link role enumeration; one of `MY_ROLE` or `PARTNER_ROLE`.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static RoleEnum` | `MY_ROLE` My Role
    `static RoleEnum` | `PARTNER_ROLE` Partner Role

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `static RoleEnum` | `fromCode(short code)` DOCUMENTME
    `int` | `hashCode()`
    `short` | `toCode()` DOCUMENTME
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### MY_ROLE

          public static final RoleEnum MY_ROLE

      My Role

    - #### PARTNER_ROLE

          public static final RoleEnum PARTNER_ROLE

      Partner Role

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`
      See Also:
        `Object.equals(java.lang.Object)`

    - #### fromCode

          public static RoleEnum fromCode(short code)

      DOCUMENTME
      Parameters:
        `code` - DOCUMENTME
      Returns:
        DOCUMENTME

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`
      See Also:
        `Object.hashCode()`

    - #### toCode

          public short toCode()

      DOCUMENTME
      Returns:
        DOCUMENTME

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`
      See Also:
        `Object.toString()`