Package com.enonic.xp.app

## Class ApplicationKey

- java.lang.Object
- - com.enonic.xp.app.ApplicationKey

- All Implemented Interfaces:
    `Serializable`

      @PublicApi
      public final class ApplicationKey
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static ApplicationKey` | `BASE` |
    `static ApplicationKey` | `MEDIA_MOD` |
    `static ApplicationKey` | `PORTAL` |
    `static ApplicationKey` | `SYSTEM` |
    `static ApplicationKeys` | `SYSTEM_RESERVED_APPLICATION_KEYS` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `static ApplicationKey` | `from​(Class<?> clzz)` |
    `static ApplicationKey` | `from​(String name)` |
    `static ApplicationKey` | `from​(String name, String preffix)` |
    `static ApplicationKey` | `from​(org.osgi.framework.Bundle bundle)` |
    `String` | `getName()` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

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

- - ### Field Detail

    - #### SYSTEM

          public static final ApplicationKey SYSTEM

    - #### MEDIA_MOD

          public static final ApplicationKey MEDIA_MOD

    - #### PORTAL

          public static final ApplicationKey PORTAL

    - #### BASE

          public static final ApplicationKey BASE

    - #### SYSTEM_RESERVED_APPLICATION_KEYS

          public static final ApplicationKeys SYSTEM_RESERVED_APPLICATION_KEYS

  - ### Method Detail

    - #### getName

          public String getName()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### from

          public static ApplicationKey from​(String name)

    - #### from

          public static ApplicationKey from​(org.osgi.framework.Bundle bundle)

    - #### from

          public static ApplicationKey from​(Class<?> clzz)

    - #### from

          public static ApplicationKey from​(String name,
                                            String preffix)