Package com.enonic.xp.region

## Class Component

- java.lang.Object
- - com.enonic.xp.region.Component

- Direct Known Subclasses:
    `DescriptorBasedComponent`, `FragmentComponent`, `ImageComponent`, `TextComponent`

      @PublicApi
      public abstract class Component
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Component.Builder` |

  - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `Component​(Component.Builder properties)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Component` | `copy()` |
    `boolean` | `equals​(Object o)` |
    `ComponentName` | `getName()` | Deprecated.
    `ComponentPath` | `getPath()` |
    `abstract ComponentType` | `getType()` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### Component

          protected Component​(Component.Builder properties)

  - ### Method Detail

    - #### getType

          public abstract ComponentType getType()

    - #### getName

          @Deprecated
          public ComponentName getName()

      Deprecated.

    - #### getPath

          public ComponentPath getPath()

    - #### copy

          public abstract Component copy()

    - #### 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`