Package org.jbpm.casemgmt.impl.model

## Class AdHocFragmentImpl

- java.lang.Object
- - org.jbpm.casemgmt.impl.model.AdHocFragmentImpl

- All Implemented Interfaces:
    `Serializable`, `AdHocFragment`

      public class AdHocFragmentImpl
      extends Object
      implements AdHocFragment, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AdHocFragmentImpl​(String name, String type)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getName()` | Returns name of the ad hoc fragment
    `String` | `getType()` | Returns type of the ad hoc fragment (human task, milestone, service task, etc)
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### AdHocFragmentImpl

          public AdHocFragmentImpl​(String name,
                                   String type)

  - ### Method Detail

    - #### getName

          public String getName()

      Description copied from interface: `AdHocFragment`
      Returns name of the ad hoc fragment
      Specified by:
        `getName` in interface `AdHocFragment`

    - #### getType

          public String getType()

      Description copied from interface: `AdHocFragment`
      Returns type of the ad hoc fragment (human task, milestone, service task, etc)
      Specified by:
        `getType` in interface `AdHocFragment`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`