Package org.silverpeas.components.gallery.web

## Class SoundEntity

- java.lang.Object
- - org.silverpeas.components.gallery.web.AbstractMediaEntity<SoundEntity>
  - - org.silverpeas.components.gallery.web.SoundEntity

- All Implemented Interfaces:
    `Serializable`, `org.silverpeas.core.web.rs.WebEntity`

      public class SoundEntity
      extends AbstractMediaEntity<SoundEntity>

  Author:
    Yohann Chastagnier
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `SoundEntity()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SoundEntity` | `createFrom​(Sound sound)` | Creates a new sound entity from the specified sound.
    `URI` | `getEmbedUrl()` |

    - ### Methods inherited from class org.silverpeas.components.gallery.web.AbstractMediaEntity

      `equals, getAuthor, getDescription, getHeight, getId, getParentURI, getThumbUrl, getTitle, getType, getURI, getUrl, getWidth, hashCode, setAuthor, setDescription, setId, setTitle, setType, withHeight, withOriginalUrl, withParentURI, withThumbUrl, withURI, withWidth`

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

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

- - ### Constructor Detail

    - #### SoundEntity

          protected SoundEntity()

  - ### Method Detail

    - #### createFrom

          public static SoundEntity createFrom​(Sound sound)

      Creates a new sound entity from the specified sound.
      Parameters:
        `sound` - the sound from which the entity is created.
      Returns:
        the entity representing the specified sound.

    - #### getEmbedUrl

          public URI getEmbedUrl()