Package com.enonic.xp.content

## Class ExtraData

- java.lang.Object
- - com.enonic.xp.content.ExtraData

-     @PublicApi
      public final class ExtraData
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExtraData​(XDataName name, PropertyTree data)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ExtraData` | `copy()` |
    `boolean` | `equals​(Object o)` |
    `static ApplicationKey` | `fromApplicationPrefix​(String applicationPrefixName)` |
    `String` | `getApplicationPrefix()` |
    `PropertyTree` | `getData()` |
    `XDataName` | `getName()` |
    `int` | `hashCode()` |
    `void` | `setData​(PropertyTree data)` |
    `void` | `setName​(XDataName name)` |

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

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

- - ### Constructor Detail

    - #### ExtraData

          public ExtraData​(XDataName name,
                           PropertyTree data)

  - ### Method Detail

    - #### getData

          public PropertyTree getData()

    - #### setData

          public void setData​(PropertyTree data)

    - #### getName

          public XDataName getName()

    - #### getApplicationPrefix

          public String getApplicationPrefix()

    - #### fromApplicationPrefix

          public static ApplicationKey fromApplicationPrefix​(String applicationPrefixName)

    - #### setName

          public void setName​(XDataName name)

    - #### copy

          public ExtraData copy()

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`