Package com.enonic.xp.form

## Class FormItem

- java.lang.Object
- - com.enonic.xp.form.FormItem

- Direct Known Subclasses:
    `FormItemSet`, `FormOptionSet`, `FormOptionSetOption`, `InlineMixin`, `Input`, `Layout`

      @PublicApi
      public abstract class FormItem
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FormItem()` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract FormItem` | `copy()` |
    `boolean` | `equals​(Object o)` |
    `abstract String` | `getName()` |
    `FormItems` | `getParent()` |
    `FormItemPath` | `getPath()` |
    `abstract FormItemType` | `getType()` |
    `int` | `hashCode()` |
    `FormItemSet` | `toFormItemSet()` |
    `FormOptionSet` | `toFormOptionSet()` |
    `FormOptionSetOption` | `toFormOptionSetOption()` |
    `InlineMixin` | `toInlineMixin()` |
    `Input` | `toInput()` |
    `Layout` | `toLayout()` |
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### FormItem

          public FormItem()

  - ### Method Detail

    - #### getName

          public abstract String getName()

    - #### getType

          public abstract FormItemType getType()

    - #### getParent

          public FormItems getParent()

    - #### getPath

          public final FormItemPath getPath()

    - #### copy

          public abstract FormItem copy()

    - #### toInput

          public Input toInput()

    - #### toInlineMixin

          public InlineMixin toInlineMixin()

    - #### toFormItemSet

          public FormItemSet toFormItemSet()

    - #### toLayout

          public Layout toLayout()

    - #### toFormOptionSetOption

          public FormOptionSetOption toFormOptionSetOption()

    - #### toFormOptionSet

          public FormOptionSet toFormOptionSet()

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`